summaryrefslogtreecommitdiff
path: root/security/fragroute
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 16:52:13 +0000
committerjoerg <joerg>2010-01-27 16:52:13 +0000
commit3e260982685001c528721ed091cb7168a8fea3e4 (patch)
tree9d6ef92caa3f4da88fc91862fe8a5c808dff16ed /security/fragroute
parentfdda69261d45ec9a6f1f1ae0abb87118c83d44e3 (diff)
downloadpkgsrc-3e260982685001c528721ed091cb7168a8fea3e4.tar.gz
DESTDIR support
Diffstat (limited to 'security/fragroute')
-rw-r--r--security/fragroute/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/fragroute/Makefile b/security/fragroute/Makefile
index b4782f615ca..ad63e7aaa64 100644
--- a/security/fragroute/Makefile
+++ b/security/fragroute/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2009/08/16 15:35:44 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2010/01/27 17:24:23 joerg Exp $
DISTNAME= fragroute-1.2
PKGREVISION= 11
@@ -9,6 +9,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.monkey.org/~dugsong/fragroute/
COMMENT= Tool for intercepting, modifying and rewriting egress traffic
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-libdnet=${BUILDLINK_PREFIX.libdnet}
@@ -19,10 +20,11 @@ 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
+INSTALLATION_DIRS+= share/fragroute
+
pre-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/fragroute
.for FILE in ${SCRIPTS}
- ${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} ${PREFIX}/share/fragroute
+ ${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} ${DESTDIR}${PREFIX}/share/fragroute
.endfor
.include "../../net/libpcap/buildlink3.mk"