2013-09-20 22:10:23 +00:00
|
|
|
# Created by: Dominik Rothert <dr@domix.de>
|
1999-10-09 16:40:11 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= iplog
|
2001-01-04 15:03:10 +00:00
|
|
|
PORTVERSION= 2.2.3
|
2004-02-04 05:10:27 +00:00
|
|
|
PORTREVISION= 3
|
2000-10-04 06:40:08 +00:00
|
|
|
CATEGORIES= net security
|
2009-08-22 00:32:25 +00:00
|
|
|
MASTER_SITES= SF/ojnk/${PORTNAME}/${PORTVERSION}
|
2000-01-29 21:40:51 +00:00
|
|
|
|
2001-08-31 20:09:58 +00:00
|
|
|
MAINTAINER= udo.schweigert@siemens.com
|
2003-02-21 13:28:59 +00:00
|
|
|
COMMENT= TCP/IP traffic logging tool
|
1999-10-09 16:40:11 +00:00
|
|
|
|
2014-05-29 12:00:30 +00:00
|
|
|
USES= gmake
|
2000-09-23 14:59:10 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2010-03-13 12:54:15 +00:00
|
|
|
|
|
|
|
USE_RC_SUBR= iplog
|
1999-10-09 16:40:11 +00:00
|
|
|
|
2000-09-23 14:59:10 +00:00
|
|
|
post-patch:
|
2003-10-28 12:55:09 +00:00
|
|
|
.for FILE in example-iplog.conf iplog.8 iplog.conf.5 src/iplog.h
|
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${FILE}
|
2000-09-23 14:59:10 +00:00
|
|
|
.endfor
|
2003-10-28 12:55:09 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|-pthread||g' ${WRKSRC}/configure
|
2000-01-29 21:40:51 +00:00
|
|
|
|
1999-10-09 16:40:11 +00:00
|
|
|
post-install:
|
2014-06-20 18:41:00 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/example-iplog.conf ${STAGEDIR}${PREFIX}/etc/iplog.conf.sample
|
1999-10-09 16:40:11 +00:00
|
|
|
|
2014-06-20 18:41:00 +00:00
|
|
|
.include <bsd.port.mk>
|