aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/packit/Makefile18
-rw-r--r--net-mgmt/packit/distinfo2
2 files changed, 11 insertions, 9 deletions
diff --git a/net-mgmt/packit/Makefile b/net-mgmt/packit/Makefile
index 9295dcbaeb9a..e7a24bad55fc 100644
--- a/net-mgmt/packit/Makefile
+++ b/net-mgmt/packit/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= packit
-PORTVERSION= 0.6.0
+PORTVERSION= 0.6.0c
CATEGORIES= net
-MASTER_SITES= http://packit.sourceforge.net/
-DISTNAME= ${PORTNAME}-latest
+MASTER_SITES= http://packit.sourceforge.net/downloads/
EXTRACT_SUFX= .tgz
MAINTAINER= ponomarew@oberon.net
@@ -18,15 +17,18 @@ COMMENT= Network auditing tool
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet-config
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
MAN8= packit.8
GNU_CONFIGURE= yes
-USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib" \
+ LIBS="-L${LOCALBASE}/lib"
+
+.if defined(WITHOUT_CAPTURE)
+CONFIGURE_ARGS+= --without-capture
+.endif
+.if defined(WITHOUT_INJECTION)
+CONFIGURE_ARGS+= --without-injection
+.endif
pre-everything::
@${ECHO_MSG} ""
diff --git a/net-mgmt/packit/distinfo b/net-mgmt/packit/distinfo
index 2759c002afaf..53de20c42cda 100644
--- a/net-mgmt/packit/distinfo
+++ b/net-mgmt/packit/distinfo
@@ -1 +1 @@
-MD5 (packit-latest.tgz) = fd7436accc01e0dcb127df1f20a457d3
+MD5 (packit-0.6.0c.tgz) = 972946d7134c1a35ff1a7308cbafa9ca