aboutsummaryrefslogtreecommitdiff
path: root/net/trafshow
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2011-02-27 14:41:22 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2011-02-27 14:41:22 +0000
commit5c59f6b5f494d08b89e194fdfb959660f44a7392 (patch)
tree5b370f93e1a9401f2dc643a915bc5117df85e997 /net/trafshow
parent062b0b0d60b978bd2b5c1db565d37e0ab4f973be (diff)
downloadports-5c59f6b5f494d08b89e194fdfb959660f44a7392.tar.gz
ports-5c59f6b5f494d08b89e194fdfb959660f44a7392.zip
Notes
Diffstat (limited to 'net/trafshow')
-rw-r--r--net/trafshow/Makefile7
-rw-r--r--net/trafshow/distinfo1
2 files changed, 7 insertions, 1 deletions
diff --git a/net/trafshow/Makefile b/net/trafshow/Makefile
index fc23514dad83..8aa3736a3c88 100644
--- a/net/trafshow/Makefile
+++ b/net/trafshow/Makefile
@@ -7,6 +7,7 @@
PORTNAME= trafshow
PORTVERSION= 5.2.3
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= ftp://renatasystems.org/pub/FreeBSD/ports/distfiles/ \
@@ -22,6 +23,8 @@ ALL_TARGET= trafshow
MAN1= trafshow.1
+OPTIONS= IPV6 "Build with IPv6 support" off
+
.include <bsd.port.pre.mk>
post-patch:
@@ -32,6 +35,10 @@ post-patch:
@${PATCH} -d ${WRKSRC} < ${FILESDIR}/extra-patch-800074+
.endif
+.if defined(WITH_IPV6)
+CFLAGS+= -DINET6
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1
diff --git a/net/trafshow/distinfo b/net/trafshow/distinfo
index 1c2646042314..59af0a86438d 100644
--- a/net/trafshow/distinfo
+++ b/net/trafshow/distinfo
@@ -1,3 +1,2 @@
-MD5 (trafshow-5.2.3.tgz) = 0b2f0bb23b7832138b7d841437b9e182
SHA256 (trafshow-5.2.3.tgz) = ea7e22674a66afcc7174779d0f803c1f25b42271973b4f75fab293b8d7db11fc
SIZE (trafshow-5.2.3.tgz) = 142615