blob: 2e79f1e6045cc851239c76d8e075e96f22d931cc (
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
31
|
# $NetBSD: Makefile,v 1.3 2002/02/28 06:19:03 jlam Exp $
MODNAME= xslt
CATEGORIES+= textproc
PKGREVISION= # empty
COMMENT= PHP4 extension for XSLT functions (Sablotron backend)
USE_BUILDLINK_ONLY= YES
.include "../../www/php4/Makefile.module"
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"
|