summaryrefslogtreecommitdiff
path: root/converters/php-mbstring/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-07-07 13:59:00 +0000
committerjperkin <jperkin@pkgsrc.org>2016-07-07 13:59:00 +0000
commite9aa43c671bf7011cf42d3f5a75d7617e8ae07ef (patch)
tree5a3d0fd6b01bf81a4bdebed5e4bf5c3679b0cc8a /converters/php-mbstring/Makefile
parent237f6d0ce835eed2d2412baabef515bba381ba2c (diff)
downloadpkgsrc-e9aa43c671bf7011cf42d3f5a75d7617e8ae07ef.tar.gz
Install headers. Add a buildlink3.mk. Bump PKGREVISION.
Diffstat (limited to 'converters/php-mbstring/Makefile')
-rw-r--r--converters/php-mbstring/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/converters/php-mbstring/Makefile b/converters/php-mbstring/Makefile
index c43fcb172bc..8f38e150fb7 100644
--- a/converters/php-mbstring/Makefile
+++ b/converters/php-mbstring/Makefile
@@ -1,12 +1,25 @@
-# $NetBSD: Makefile,v 1.3 2012/10/03 00:20:15 asau Exp $
+# $NetBSD: Makefile,v 1.4 2016/07/07 13:59:00 jperkin Exp $
MODNAME= mbstring
+PKGREVISION= 1
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"