# $NetBSD: Makefile,v 1.6 2019/12/15 17:59:42 taca Exp $ MODNAME= mbstring CATEGORIES+= converters COMMENT= PHP extension for multibyte characters support LICENSE= php CONFLICTS= php-mbstring-[0-9]* INSTALLATION_DIRS+= ${PREFIX}/include/php/ext/mbstring/libmbfl/filters INSTALLATION_DIRS+= ${PREFIX}/include/php/ext/mbstring/libmbfl/mbfl INSTALLATION_DIRS+= ${PREFIX}/include/php/ext/mbstring/libmbfl/nls PLIST_SRC+= ${.CURDIR}/PLIST CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR} post-install: ${INSTALL_DATA} ${WRKSRC}/libmbfl/filters/*.h ${DESTDIR}${PREFIX}/include/php/ext/mbstring/libmbfl/filters ${INSTALL_DATA} ${WRKSRC}/libmbfl/mbfl/*.h ${DESTDIR}${PREFIX}/include/php/ext/mbstring/libmbfl/mbfl ${INSTALL_DATA} ${WRKSRC}/libmbfl/nls/*.h ${DESTDIR}${PREFIX}/include/php/ext/mbstring/libmbfl/nls .include "../../lang/php/ext.mk" .if ${PKG_PHP_VERSION} >= 74 .include "../../textproc/oniguruma/buildlink3.mk" .endif .include "../../mk/bsd.pkg.mk"