summaryrefslogtreecommitdiff
path: root/textproc/php4-xslt
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /textproc/php4-xslt
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'textproc/php4-xslt')
-rw-r--r--textproc/php4-xslt/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/textproc/php4-xslt/Makefile b/textproc/php4-xslt/Makefile
index 089ca7cca16..123eaf5aaab 100644
--- a/textproc/php4-xslt/Makefile
+++ b/textproc/php4-xslt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/06/04 16:26:55 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2008/06/12 02:14:51 joerg Exp $
MODNAME= xslt
CATEGORIES+= textproc
@@ -6,6 +6,8 @@ COMMENT= PHP4 extension for XSLT functions (Sablotron backend)
PHP_VERSIONS_ACCEPTED= 4
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= php-xslt-[0-9]*
CONFIGURE_ARGS+= --enable-${MODNAME}
@@ -32,9 +34,10 @@ CONFIGURE_ARGS+= --with-iconv-dir
PLIST_SRC+= ${.CURDIR}/PLIST.extras
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
+INSTALLATION_DIRS= ${DOCDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- cd ${WRKSRC}; ${INSTALL_DATA} README.XSLT-BACKENDS ${DOCDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} README.XSLT-BACKENDS ${DESTDIR}${DOCDIR}
.include "../../lang/php/ext.mk"
.include "../../textproc/sablotron/buildlink3.mk"