aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2014-06-01 20:38:08 +0800
committerse <se@FreeBSD.org>2014-06-01 20:38:08 +0800
commit790b8ee4aa2d035852a9a115dc6082fc47689be2 (patch)
tree3c43bca4b9bd162e8993bd78b13458cd415028d4
parent6566acd7add5ff7d6e5dcf4212a533b487a918af (diff)
downloadfreebsd-ports-gnome-790b8ee4aa2d035852a9a115dc6082fc47689be2.tar.gz
freebsd-ports-gnome-790b8ee4aa2d035852a9a115dc6082fc47689be2.tar.zst
freebsd-ports-gnome-790b8ee4aa2d035852a9a115dc6082fc47689be2.zip
Add stage support.
Approved by: antoine (mentor)
-rw-r--r--security/fragroute/Makefile14
-rw-r--r--security/fragroute/pkg-plist2
2 files changed, 8 insertions, 8 deletions
diff --git a/security/fragroute/Makefile b/security/fragroute/Makefile
index 8b3595b3c686..070d0c455489 100644
--- a/security/fragroute/Makefile
+++ b/security/fragroute/Makefile
@@ -12,25 +12,23 @@ MASTER_SITE_SUBDIR= UNIX/security
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for intercepting, modifying, and rewriting egress traffic
-LIB_DEPENDS= dnet.1:${PORTSDIR}/net/libdnet \
- event-1.4:${PORTSDIR}/devel/libevent
+LICENSE= BSD3CLAUSE
+
+LIB_DEPENDS= libdnet.so:${PORTSDIR}/net/libdnet \
+ libevent-1.4.so:${PORTSDIR}/devel/libevent
-LICENSE= BSD
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libdnet=${LOCALBASE} \
--with-libevent=${LOCALBASE} --with-pcap
-MAN8= fragroute.8 fragtest.8
-
SCRIPTS= README.snort base-1 frag-1 frag-2 frag-3 frag-4 frag-5 \
frag-6 frag-7-unix frag-7-win32 ins-2 ins-3 tcbc-2 tcp-3 tcp-5 \
tcp-7 tcp-9
-NO_STAGE= yes
pre-install:
- ${MKDIR} ${DATADIR}
+ ${MKDIR} ${STAGEDIR}${DATADIR}
.for FILE in ${SCRIPTS}
- ${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} ${STAGEDIR}${DATADIR}
.endfor
.include <bsd.port.mk>
diff --git a/security/fragroute/pkg-plist b/security/fragroute/pkg-plist
index 2bba997cb070..df894cee0a28 100644
--- a/security/fragroute/pkg-plist
+++ b/security/fragroute/pkg-plist
@@ -1,6 +1,8 @@
sbin/fragroute
sbin/fragtest
etc/fragroute.conf
+man/man8/fragroute.8.gz
+man/man8/fragtest.8.gz
%%DATADIR%%/README.snort
%%DATADIR%%/base-1
%%DATADIR%%/frag-1