pkgsrc/converters/php-mbstring/Makefile

24 lines
896 B
Makefile

# $NetBSD: Makefile,v 1.5 2016/07/24 02:21:46 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"
.include "../../mk/bsd.pkg.mk"