bf0ffc04dd
pullup request to that change to pkgsrc-2009Q2 branch and it is too late for request the reset of PKGREVISION.
24 lines
719 B
Makefile
24 lines
719 B
Makefile
# $NetBSD: Makefile,v 1.12 2009/10/09 03:06:51 taca Exp $
|
|
|
|
MODNAME= xsl
|
|
PKGREVISION= 1
|
|
CATEGORIES+= textproc
|
|
COMMENT= PHP5 extension for XSLT functions
|
|
|
|
CONFLICTS= php-xsl-[0-9]*
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.libxslt}
|
|
|
|
# uses symbols from DOM extension, so add explicit depends
|
|
DEPENDS+= php5*-dom-*:../../textproc/php5-dom
|
|
|
|
# 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_VERSIONS_ACCEPTED= 5
|
|
.include "../../lang/php/ext.mk"
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|