pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/php-mbstring Install headers. Add a buildl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/192c36f9812a
branches:  trunk
changeset: 349421:192c36f9812a
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jul 07 13:59:00 2016 +0000

description:
Install headers.  Add a buildlink3.mk.  Bump PKGREVISION.

diffstat:

 converters/php-mbstring/Makefile      |   15 +++-
 converters/php-mbstring/PLIST         |  125 ++++++++++++++++++++++++++++++++++
 converters/php-mbstring/buildlink3.mk |   13 +++
 3 files changed, 152 insertions(+), 1 deletions(-)

diffs (176 lines):

diff -r 3f28b7397ef9 -r 192c36f9812a converters/php-mbstring/Makefile
--- a/converters/php-mbstring/Makefile  Thu Jul 07 13:26:16 2016 +0000
+++ b/converters/php-mbstring/Makefile  Thu Jul 07 13:59:00 2016 +0000
@@ -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 -r 3f28b7397ef9 -r 192c36f9812a converters/php-mbstring/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/php-mbstring/PLIST     Thu Jul 07 13:59:00 2016 +0000
@@ -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 -r 3f28b7397ef9 -r 192c36f9812a converters/php-mbstring/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/php-mbstring/buildlink3.mk     Thu Jul 07 13:59:00 2016 +0000
@@ -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



Home | Main Index | Thread Index | Old Index