summaryrefslogtreecommitdiff
path: root/textproc/php4-xslt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/php4-xslt/Makefile')
-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"