summaryrefslogtreecommitdiff
path: root/print/foomatic-ppds
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-12 00:00:45 +0000
committerjoerg <joerg>2010-02-12 00:00:45 +0000
commitf4803c2ec74e56b0ff2b47f8feb8d4ae2452c76c (patch)
tree51698fe5fbb0ecf940c83f4f9bb9332a4c5999df /print/foomatic-ppds
parent9c515dd2cc50d85fa7187efbf95f8370b883e837 (diff)
downloadpkgsrc-f4803c2ec74e56b0ff2b47f8feb8d4ae2452c76c.tar.gz
DESTDIR support
Diffstat (limited to 'print/foomatic-ppds')
-rw-r--r--print/foomatic-ppds/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/print/foomatic-ppds/Makefile b/print/foomatic-ppds/Makefile
index eaea1df029b..0bb05c6d893 100644
--- a/print/foomatic-ppds/Makefile
+++ b/print/foomatic-ppds/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2009/06/16 15:25:32 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2010/02/12 00:06:13 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
@@ -28,9 +30,11 @@ GENERATE_PLIST+= \
${FIND} ppd -type f -print | ${SORT} -u | \
${SED} -e "s|^|share/foomatic/|" );
-do-build: # nothing
+NO_BUILD= yes
+
+INSTALLATION_DIRS+= share/foomatic
do-install:
- ${CP} -R ${WRKSRC}/share/ppd ${PREFIX}/share/foomatic/ppd
+ ${CP} -R ${WRKSRC}/share/ppd ${DESTDIR}${PREFIX}/share/foomatic
.include "../../mk/bsd.pkg.mk"