diff options
author | fhajny <fhajny@pkgsrc.org> | 2016-03-12 09:11:01 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2016-03-12 09:11:01 +0000 |
commit | c862d9d2139b3caeff6d996e18242f9548f4242b (patch) | |
tree | 85ce2eb08fd97f52c59ef81216a4365464a87f14 /devel | |
parent | 4fe9938d2102341112919ab70c129f19a57d3dc2 (diff) | |
download | pkgsrc-c862d9d2139b3caeff6d996e18242f9548f4242b.tar.gz |
Import devel/php-raphf2 2.0.0 (the PHP 7 variant of devel/php-raphf).
Reusable split-off of pecl_http's persistent handle and resource factory API.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/php-raphf2/DESCR | 1 | ||||
-rw-r--r-- | devel/php-raphf2/Makefile | 29 | ||||
-rw-r--r-- | devel/php-raphf2/PLIST | 3 | ||||
-rw-r--r-- | devel/php-raphf2/buildlink3.mk | 14 | ||||
-rw-r--r-- | devel/php-raphf2/distinfo | 6 |
5 files changed, 53 insertions, 0 deletions
diff --git a/devel/php-raphf2/DESCR b/devel/php-raphf2/DESCR new file mode 100644 index 00000000000..41bc1a75800 --- /dev/null +++ b/devel/php-raphf2/DESCR @@ -0,0 +1 @@ +A reusable split-off of pecl_http's persistent handle and resource factory API. diff --git a/devel/php-raphf2/Makefile b/devel/php-raphf2/Makefile new file mode 100644 index 00000000000..b231345651b --- /dev/null +++ b/devel/php-raphf2/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 2016/03/12 09:11:01 fhajny Exp $ + +MODNAME= raphf +PECL_VERSION= 2.0.0 +CATEGORIES= devel + +MAINTAINER= rodent@NetBSD.org +HOMEPAGE= https://pecl.php.net/package/raphf +COMMENT= Resource and persistent handles factory +LICENSE= 2-clause-bsd + +BUILD_DEPENDS+= re2c>=0.13.0.4:../../devel/re2c + +PHP_VERSIONS_ACCEPTED= 70 + +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes + +INSTALLATION_DIRS+= include/php/ext/raphf +PLIST_SRC+= PLIST + +post-install: + ${INSTALL_DATA} ${WRKSRC}/php_raphf.h \ + ${DESTDIR}${PREFIX}/include/php/ext/raphf + ${INSTALL_DATA} ${WRKSRC}/src/php_raphf_api.h \ + ${DESTDIR}${PREFIX}/include/php/ext/raphf + +.include "../../lang/php/ext.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/php-raphf2/PLIST b/devel/php-raphf2/PLIST new file mode 100644 index 00000000000..01fff9e43f7 --- /dev/null +++ b/devel/php-raphf2/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2016/03/12 09:11:01 fhajny Exp $ +include/php/ext/raphf/php_raphf.h +include/php/ext/raphf/php_raphf_api.h diff --git a/devel/php-raphf2/buildlink3.mk b/devel/php-raphf2/buildlink3.mk new file mode 100644 index 00000000000..491206ba040 --- /dev/null +++ b/devel/php-raphf2/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2016/03/12 09:11:01 fhajny Exp $ + +.include "../../lang/php/phpversion.mk" + +BUILDLINK_TREE+= ${PHP_PKG_PREFIX}-raphf + +.if !defined(${PHP_PKG_PREFIX}_RAPHF_BUILDLINK3_MK) +${PHP_PKG_PREFIX}_RAPHF_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.${PHP_PKG_PREFIX}-raphf+= ${PHP_PKG_PREFIX}-raphf>=2.0.0 +BUILDLINK_PKGSRCDIR.${PHP_PKG_PREFIX}-raphf?= ../../devel/php-raphf +.endif # ${PHP_PKG_PREFIX}_RAPHF_BUILDLINK3_MK + +BUILDLINK_TREE+= -${PHP_PKG_PREFIX}-raphf diff --git a/devel/php-raphf2/distinfo b/devel/php-raphf2/distinfo new file mode 100644 index 00000000000..e75ac278b21 --- /dev/null +++ b/devel/php-raphf2/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2016/03/12 09:11:01 fhajny Exp $ + +SHA1 (php-raphf/raphf-2.0.0.tgz) = ad182cb7685cf519e926c4a7ce1f98e87b3d13f7 +RMD160 (php-raphf/raphf-2.0.0.tgz) = 57a3441c78769d652b19dbc14ecb959183cb7adb +SHA512 (php-raphf/raphf-2.0.0.tgz) = 16b029b694d30817a68a1a9d80bdf031d058ada45a93a4b34b49ec5d61fa8af78d0dbf1a3e5e2f1b950b2a11ac0b86b5a467807551556ab2a77f7f99739ed11b +Size (php-raphf/raphf-2.0.0.tgz) = 15715 bytes |