summaryrefslogtreecommitdiff
path: root/security/systrace-policies
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 20:57:22 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 20:57:22 +0000
commit5d3baae895009e29ff3b00e7ed3fdb7351ea22b0 (patch)
treebaa46c5da4325acfa660e799f4320eab394382fe /security/systrace-policies
parentb91ba669e7503df4eb317592d5f86d26787be7ec (diff)
downloadpkgsrc-5d3baae895009e29ff3b00e7ed3fdb7351ea22b0.tar.gz
DESTDIR support
Diffstat (limited to 'security/systrace-policies')
-rw-r--r--security/systrace-policies/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/security/systrace-policies/Makefile b/security/systrace-policies/Makefile
index f5aabfbc796..498952909cd 100644
--- a/security/systrace-policies/Makefile
+++ b/security/systrace-policies/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/03/04 21:30:38 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2010/01/27 21:22:43 joerg Exp $
DISTNAME= hairyeyeball-1.1
PKGREVISION= 1
@@ -10,16 +10,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://blafasel.org/~floh/he/
COMMENT= Systrace policy examples
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/1.1
NO_BUILD= YES
+INSTALLATION_DIRS+= share/examples/systrace-policies
+
do-install:
- dir=${PREFIX}/share/examples/systrace-policies; \
- ${INSTALL_DATA_DIR} $$dir; \
- cd ${WRKSRC} && \
- for f in *; do \
- ${INSTALL_DATA} $$f $$dir; \
- done
+ ${INSTALL_DATA} ${WRKSRC}/* ${DESTDIR}${PREFIX}/share/examples/systrace-policies
.include "../../mk/bsd.pkg.mk"