2013-09-21 00:24:43 +02:00
|
|
|
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
|
2003-06-02 18:37:25 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= packit
|
2004-04-14 11:57:28 +02:00
|
|
|
PORTVERSION= 1.0
|
2013-02-18 22:13:02 +01:00
|
|
|
PORTREVISION= 3
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2003-06-04 10:55:37 +02:00
|
|
|
MASTER_SITES= http://packit.sourceforge.net/downloads/
|
2003-06-02 18:37:25 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2005-04-21 19:44:08 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-06-02 21:44:30 +02:00
|
|
|
COMMENT= Network auditing tool
|
2003-06-02 18:37:25 +02:00
|
|
|
|
2013-02-18 22:13:02 +01:00
|
|
|
LIB_DEPENDS= net:${PORTSDIR}/net/libnet
|
2007-01-31 15:09:55 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= `${LIBNET_CONFIG} --defines` `${LIBNET_CONFIG} --cflags`
|
2003-06-02 18:37:25 +02:00
|
|
|
|
|
|
|
MAN8= packit.8
|
2004-01-24 10:03:40 +01:00
|
|
|
PLIST_FILES= sbin/packit
|
2003-06-02 18:37:25 +02:00
|
|
|
|
2007-01-31 15:09:55 +01:00
|
|
|
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
|
2003-06-04 10:55:37 +02:00
|
|
|
|
|
|
|
.if defined(WITHOUT_CAPTURE)
|
|
|
|
CONFIGURE_ARGS+= --without-capture
|
|
|
|
.endif
|
|
|
|
.if defined(WITHOUT_INJECTION)
|
|
|
|
CONFIGURE_ARGS+= --without-injection
|
|
|
|
.endif
|
2003-06-02 18:37:25 +02:00
|
|
|
|
2013-09-21 00:24:43 +02:00
|
|
|
NO_STAGE= yes
|
2007-01-31 15:09:55 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lnet|`${LIBNET_CONFIG} --libs`|' \
|
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
2003-06-02 18:37:25 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|