summaryrefslogtreecommitdiff
path: root/converters
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
parent237f6d0ce835eed2d2412baabef515bba381ba2c (diff)
downloadpkgsrc-e9aa43c671bf7011cf42d3f5a75d7617e8ae07ef.tar.gz
Install headers. Add a buildlink3.mk. Bump PKGREVISION.
Diffstat (limited to 'converters')
-rw-r--r--converters/php-mbstring/Makefile15
-rw-r--r--converters/php-mbstring/PLIST125
-rw-r--r--converters/php-mbstring/buildlink3.mk13
3 files changed, 152 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"
diff --git a/converters/php-mbstring/PLIST b/converters/php-mbstring/PLIST
new file mode 100644
index 00000000000..679d3578193
--- /dev/null
+++ b/converters/php-mbstring/PLIST
@@ -0,0 +1,125 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/07 13:59:00 jperkin Exp $
+include/php/ext/mbstring/libmbfl/filters/cp932_table.h
+include/php/ext/mbstring/libmbfl/filters/emoji2uni.h
+include/php/ext/mbstring/libmbfl/filters/html_entities.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_7bit.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_armscii8.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_ascii.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_base64.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_big5.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_byte2.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_byte4.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_cp1251.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_cp1252.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_cp1254.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_cp5022x.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_cp51932.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_cp850.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_cp866.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_cp932.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_cp936.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_euc_cn.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_euc_jp.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_euc_jp_2004.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_euc_kr.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_euc_tw.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_gb18030.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_htmlent.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_hz.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso8859_1.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_jis.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_koi8r.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_koi8u.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_qprint.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_sjis.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_sjis_open.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_ucs2.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_ucs4.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_uhc.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_utf16.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_utf32.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_utf7.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_utf7imap.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_utf8.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.h
+include/php/ext/mbstring/libmbfl/filters/mbfilter_uuencode.h
+include/php/ext/mbstring/libmbfl/filters/sjis_mac2uni.h
+include/php/ext/mbstring/libmbfl/filters/translit_kana_jisx0201_jisx0208.h
+include/php/ext/mbstring/libmbfl/filters/unicode_prop.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_armscii8.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_big5.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_cns11643.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_cp1251.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_cp1252.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_cp1254.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_cp850.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_cp866.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_cp932_ext.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_cp936.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_gb18030.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_iso8859_10.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_iso8859_13.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_iso8859_14.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_iso8859_15.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_iso8859_16.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_iso8859_2.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_iso8859_3.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_iso8859_4.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_iso8859_5.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_iso8859_6.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_iso8859_7.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_iso8859_8.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_iso8859_9.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_jis.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_jis2004.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_koi8r.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_koi8u.h
+include/php/ext/mbstring/libmbfl/filters/unicode_table_uhc.h
+include/php/ext/mbstring/libmbfl/mbfl/eaw_table.h
+include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h
+include/php/ext/mbstring/libmbfl/mbfl/mbfilter_8bit.h
+include/php/ext/mbstring/libmbfl/mbfl/mbfilter_pass.h
+include/php/ext/mbstring/libmbfl/mbfl/mbfilter_wchar.h
+include/php/ext/mbstring/libmbfl/mbfl/mbfl_allocators.h
+include/php/ext/mbstring/libmbfl/mbfl/mbfl_consts.h
+include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h
+include/php/ext/mbstring/libmbfl/mbfl/mbfl_defs.h
+include/php/ext/mbstring/libmbfl/mbfl/mbfl_encoding.h
+include/php/ext/mbstring/libmbfl/mbfl/mbfl_filter_output.h
+include/php/ext/mbstring/libmbfl/mbfl/mbfl_ident.h
+include/php/ext/mbstring/libmbfl/mbfl/mbfl_language.h
+include/php/ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h
+include/php/ext/mbstring/libmbfl/mbfl/mbfl_string.h
+include/php/ext/mbstring/libmbfl/nls/nls_de.h
+include/php/ext/mbstring/libmbfl/nls/nls_en.h
+include/php/ext/mbstring/libmbfl/nls/nls_hy.h
+include/php/ext/mbstring/libmbfl/nls/nls_ja.h
+include/php/ext/mbstring/libmbfl/nls/nls_kr.h
+include/php/ext/mbstring/libmbfl/nls/nls_neutral.h
+include/php/ext/mbstring/libmbfl/nls/nls_ru.h
+include/php/ext/mbstring/libmbfl/nls/nls_tr.h
+include/php/ext/mbstring/libmbfl/nls/nls_ua.h
+include/php/ext/mbstring/libmbfl/nls/nls_uni.h
+include/php/ext/mbstring/libmbfl/nls/nls_zh.h
diff --git a/converters/php-mbstring/buildlink3.mk b/converters/php-mbstring/buildlink3.mk
new file mode 100644
index 00000000000..be5b04ee017
--- /dev/null
+++ b/converters/php-mbstring/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/07/07 13:59:00 jperkin Exp $
+
+BUILDLINK_TREE+= php-mbstring
+
+.if !defined(PHP_MBSTRING_BUILDLINK3_MK)
+PHP_MBSTRING_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.php-mbstring+= ${PHP_PKG_PREFIX}-mbstring>0
+BUILDLINK_PKGSRCDIR.php-mbstring?= ../../converters/php-mbstring
+BUILDLINK_DEPMETHOD.php-mbstring?= build
+.endif # PHP_MBSTRING_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -php-mbstring