aboutsummaryrefslogtreecommitdiffstats
path: root/net/trafshow
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2011-02-27 22:41:22 +0800
committeraraujo <araujo@FreeBSD.org>2011-02-27 22:41:22 +0800
commit27108202e92e519ac935b5638f9d3776733ce808 (patch)
treee21215af536e713cc7d000e5a9a2840bbe0700bc /net/trafshow
parent46565070ea32dbcfd38aaa5fdd058dc6db35e0f9 (diff)
downloadfreebsd-ports-gnome-27108202e92e519ac935b5638f9d3776733ce808.tar.gz
freebsd-ports-gnome-27108202e92e519ac935b5638f9d3776733ce808.tar.zst
freebsd-ports-gnome-27108202e92e519ac935b5638f9d3776733ce808.zip
- Now can build with supporting of IPV6.
- Removed MD5. - Bump PORTREVISION. PR: ports/154932 Submitted by: "Y.A." <nexther0@gmail.com> Reviewed by: "Alexey V. Degtyarev" <alexey@renatasystems.org> (maintainer)
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