Tweak devel/py-django-tastypie-mongoengine version 0.4.6
[dports.git] / net / iplog / Makefile
1 # Created by: Dominik Rothert <dr@domix.de>
2 # $FreeBSD$
3
4 PORTNAME=       iplog
5 PORTVERSION=    2.2.3
6 PORTREVISION=   3
7 CATEGORIES=     net security
8 MASTER_SITES=   SF/ojnk/${PORTNAME}/${PORTVERSION}
9
10 MAINTAINER=     udo.schweigert@siemens.com
11 COMMENT=        TCP/IP traffic logging tool
12
13 USES=           gmake
14 GNU_CONFIGURE=  yes
15 CPPFLAGS+=      -I${LOCALBASE}/include
16 LDFLAGS+=       -lpthread -L${LOCALBASE}/lib
17
18 USE_RC_SUBR=    iplog
19
20 post-patch:
21 .for FILE in example-iplog.conf iplog.8 iplog.conf.5 src/iplog.h
22         @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${FILE}
23 .endfor
24         @${REINPLACE_CMD} -e 's|-pthread||g' ${WRKSRC}/configure
25
26 post-install:
27         @${INSTALL_DATA} ${WRKSRC}/example-iplog.conf ${STAGEDIR}${PREFIX}/etc/iplog.conf.sample
28
29 .include <bsd.port.mk>