summaryrefslogtreecommitdiff
path: root/print/foomatic-filters
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 22:57:40 +0000
committerjoerg <joerg>2010-02-11 22:57:40 +0000
commit9c515dd2cc50d85fa7187efbf95f8370b883e837 (patch)
tree892f24338b971c99ecdc3db1d871d95d58c28c61 /print/foomatic-filters
parent8eda6f6d1e1dff0e556c982ee53d650414103d57 (diff)
downloadpkgsrc-9c515dd2cc50d85fa7187efbf95f8370b883e837.tar.gz
DESTDIR support
Diffstat (limited to 'print/foomatic-filters')
-rw-r--r--print/foomatic-filters/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/print/foomatic-filters/Makefile b/print/foomatic-filters/Makefile
index d0e7188de32..145fb1573d4 100644
--- a/print/foomatic-filters/Makefile
+++ b/print/foomatic-filters/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2007/02/22 19:27:03 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2010/02/11 23:59:39 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
@@ -57,7 +59,9 @@ REQD_DIRS= ${EGDIR}
OWN_DIRS= ${CONFDIR}
CONF_FILES= ${EGDIR}/filter.conf ${CONFDIR}/filter.conf
+INSTALLATION_DIRS+= ${EGDIR}
+
post-install:
- ${INSTALL_DATA} ${WRKSRC}/filter.conf ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/filter.conf ${DESTDIR}${EGDIR}
.include "../../mk/bsd.pkg.mk"