From f3f1f664ff4eb495785dbd16f62a0d84168a5487 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 27 Jan 2010 22:05:28 +0000 Subject: DESTDIR support --- security/ddos-scan/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'security/ddos-scan/Makefile') 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" -- cgit v1.2.3