2003-06-02 18:37:25 +02:00
|
|
|
# New ports collection makefile for: packit
|
|
|
|
# Date created: 02.06.2003
|
|
|
|
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= packit
|
2004-04-14 11:57:28 +02:00
|
|
|
PORTVERSION= 1.0
|
2007-01-31 15:09:55 +01:00
|
|
|
PORTREVISION= 2
|
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
|
|
|
|
2007-01-31 15:09:55 +01:00
|
|
|
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= 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
|
|
|
|
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>
|