summaryrefslogtreecommitdiff
path: root/security/ddos-scan/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 22:05:28 +0000
committerjoerg <joerg>2010-01-27 22:05:28 +0000
commitf3f1f664ff4eb495785dbd16f62a0d84168a5487 (patch)
treecda897cdaf847e4059a16bcfa8098a9b15a8beff /security/ddos-scan/Makefile
parent0b22830d87e872a98e1809e6e27a13ce6ad93a4b (diff)
downloadpkgsrc-f3f1f664ff4eb495785dbd16f62a0d84168a5487.tar.gz
DESTDIR support
Diffstat (limited to 'security/ddos-scan/Makefile')
-rw-r--r--security/ddos-scan/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/ddos-scan/Makefile b/security/ddos-scan/Makefile
index bd0502dd000..e85db28a296 100644
--- a/security/ddos-scan/Makefile
+++ b/security/ddos-scan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/06/30 18:49:38 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2010/01/27 22:13:41 joerg Exp $
#
DISTNAME= ddos_scan
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://staff.washington.edu/dittrich/
COMMENT= Scan for a limited set of distributed denial of service (ddos) agents
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET= default dds
INSTALLATION_DIRS= sbin share/doc
@@ -18,7 +20,7 @@ INSTALLATION_DIRS= sbin share/doc
BUILD_ENV+= OPSYS=${OSYS:Q}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dds ${PREFIX}/sbin/dds
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dds
+ ${INSTALL_PROGRAM} ${WRKSRC}/dds ${DESTDIR}${PREFIX}/sbin/dds
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/dds
.include "../../mk/bsd.pkg.mk"