aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/tshark/Makefile1
-rw-r--r--net/wireshark/Makefile5
2 files changed, 5 insertions, 1 deletions
diff --git a/net/tshark/Makefile b/net/tshark/Makefile
index 3c235d9f81de..f86993b8d64e 100644
--- a/net/tshark/Makefile
+++ b/net/tshark/Makefile
@@ -9,6 +9,7 @@
#
PORTNAME= tshark
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTERDIR= ${.CURDIR}/../wireshark
diff --git a/net/wireshark/Makefile b/net/wireshark/Makefile
index 0ce27ca772fa..d93d7e525ba2 100644
--- a/net/wireshark/Makefile
+++ b/net/wireshark/Makefile
@@ -10,11 +10,13 @@ PORTVERSION= 0.99.2
PORTREVISION?= 0
CATEGORIES= net ipv6
MASTER_SITES= http://www.wireshark.org/download/src/
-DISTNAME= wireshark-${PORTVERSION}
+DISTNAME= ${DATADIR_NAME}-${PORTVERSION}
MAINTAINER= marcus@FreeBSD.org
COMMENT?= A powerful network analyzer/capture tool
+DATADIR_NAME= wireshark
+
USE_PERL5_BUILD=yes
USE_PYTHON_BUILD=yes
USE_ICONV= yes
@@ -28,6 +30,7 @@ CONFIGURE_ARGS+= --program-transform-name="" \
--with-ssl=/usr
MAKE_ENV= MIBDIRS="/dev/null"
INSTALLS_SHLIB= yes
+DATADIR= ${PREFIX}/share/${DATADIR_NAME}
.for x in capinfos editcap idl2wrs mergecap text2pcap
.if defined(LITE)