blob: 325891b8137584c974433c7fcca6af15c6eeea43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.2 2002/01/01 06:46:39 jlam Exp $
.include "../../www/php4/Makefile.module"
MODNAME= xslt
CATEGORIES+= textproc
PKGREVISION= # empty
COMMENT= PHP4 extension for XSLT functions (Sablotron backend)
USE_BUILDLINK_ONLY= YES
CONFIGURE_ARGS+= --enable-${MODNAME}
CONFIGURE_ARGS+= --with-${MODNAME}-sablot=shared,${BUILDLINK_DIR}
CONFIGURE_ARGS+= --with-expat-dir=shared,${BUILDLINK_DIR}
# libsablot.so depends on libiconv.so, so just force the configure script
# to find it.
#
CONFIGURE_ENV+= ac_cv_lib_c_iconv_open=yes
CONFIGURE_ENV+= XSLT_SHARED_LIBADD="-liconv"
LIBS+= -liconv
PLIST_SRC+= ${.CURDIR}/PLIST.extras
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}; ${INSTALL_DATA} README.XSLT-BACKENDS ${DOCDIR}
.include "../../textproc/sablotron/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|