summaryrefslogtreecommitdiff
path: root/textproc/php5-xsl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/php5-xsl/Makefile')
-rw-r--r--textproc/php5-xsl/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/textproc/php5-xsl/Makefile b/textproc/php5-xsl/Makefile
new file mode 100644
index 00000000000..74b2f7b039a
--- /dev/null
+++ b/textproc/php5-xsl/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/05 21:36:08 jdolecek Exp $
+
+MODNAME= xsl
+CATEGORIES+= textproc
+PKGREVISION= # empty
+COMMENT= PHP5 extension for XSLT functions
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.libxslt}
+
+# build uses includes of the DOM extension, so need to extract that too
+EXTRACT_ELEMENTS= ${DISTNAME}/ext/${MODNAME} ${DISTNAME}/ext/dom
+WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODNAME}
+
+PHP_VERSION_REQD= 5
+.include "../../lang/php/ext.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"