commit d81bf08f168764e72b6871db36f295e20489a641 Author: Shawn Webb Date: Mon Oct 19 13:56:27 2020 -0400 Blackhawk: Import devel/php-cpp port This imports the devel/php-cpp import from internal commit 0d3aa4b030b0463d39bccec9185f5408cbec1996. Signed-off-by: Shawn Webb diff --git a/devel/Makefile b/devel/Makefile index 960b790f1ec7..317c5d6ed7fb 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3880,6 +3880,7 @@ SUBDIR += phabricator SUBDIR += php-Psr_Log SUBDIR += php-composer + SUBDIR += php-cpp SUBDIR += php-geshi SUBDIR += php-ice37 SUBDIR += php-libawl diff --git a/devel/php-cpp/Makefile b/devel/php-cpp/Makefile new file mode 100644 index 000000000000..142cbd1d4466 --- /dev/null +++ b/devel/php-cpp/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= php-cpp +PORTVERSION= 2.2.0 +CATEGORIES= devel +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} + +MAINTAINER= opensource@blackhawknest.com +COMMENT= Create PHP C++ bindings with ease + +USES= php:flavors,build uidfix + +USE_GITHUB= yes +#GH_ACCOUNT= CopernicaMarketingSoftware +GH_ACCOUNT= lattera +GH_PROJECT= PHP-CPP +GH_COMMIT= 6ad4dff76a56a6be9ad6feed6fcc0b4534769e25 +GH_TAGNAME= ${GH_COMMIT} + +do-build: + ${MAKE} -C ${WRKSRC} -f Makefile.FreeBSD + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/include/phpcpp + (cd ${WRKSRC}/include && \ + ${COPYTREE_SHARE} \*.h ${STAGEDIR}${PREFIX}/include/phpcpp) + ${INSTALL_LIB} ${WRKSRC}/obj/libphpcpp.[sa]* ${STAGEDIR}${PREFIX}/lib + ${LN} -sf libphpcpp.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libphpcpp.so + +.include diff --git a/devel/php-cpp/distinfo b/devel/php-cpp/distinfo new file mode 100644 index 000000000000..445976d2e684 --- /dev/null +++ b/devel/php-cpp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1602943759 +SHA256 (lattera-PHP-CPP-2.2.1-6ad4dff76a56a6be9ad6feed6fcc0b4534769e25_GH0.tar.gz) = bfeb1b68e830dddec152df293a71d358f14e52e00e0bdfc0f8baa695f95c0adf +SIZE (lattera-PHP-CPP-2.2.1-6ad4dff76a56a6be9ad6feed6fcc0b4534769e25_GH0.tar.gz) = 189270 diff --git a/devel/php-cpp/pkg-descr b/devel/php-cpp/pkg-descr new file mode 100644 index 000000000000..cdf89ef2f23d --- /dev/null +++ b/devel/php-cpp/pkg-descr @@ -0,0 +1,6 @@ +PHP-CPP +======= + +Write PHP C++ extensions with ease. + +WWW: https://www.php-cpp.com/ diff --git a/devel/php-cpp/pkg-plist b/devel/php-cpp/pkg-plist new file mode 100644 index 000000000000..0ca7b8bfbd1e --- /dev/null +++ b/devel/php-cpp/pkg-plist @@ -0,0 +1,53 @@ +include/phpcpp/argument.h +include/phpcpp/array.h +include/phpcpp/arrayaccess.h +include/phpcpp/base.h +include/phpcpp/byref.h +include/phpcpp/byval.h +include/phpcpp/call.h +include/phpcpp/class.h +include/phpcpp/classbase.h +include/phpcpp/classtype.h +include/phpcpp/constant.h +include/phpcpp/countable.h +include/phpcpp/deprecated.h +include/phpcpp/error.h +include/phpcpp/exception.h +include/phpcpp/extension.h +include/phpcpp/file.h +include/phpcpp/function.h +include/phpcpp/global.h +include/phpcpp/globals.h +include/phpcpp/hashmember.h +include/phpcpp/hashparent.h +include/phpcpp/ini.h +include/phpcpp/inivalue.h +include/phpcpp/interface.h +include/phpcpp/iterator.h +include/phpcpp/message.h +include/phpcpp/modifiers.h +include/phpcpp/namespace.h +include/phpcpp/noexcept.h +include/phpcpp/object.h +include/phpcpp/parameters.h +include/phpcpp/platform.h +include/phpcpp/script.h +include/phpcpp/serializable.h +include/phpcpp/stream.h +include/phpcpp/streams.h +include/phpcpp/super.h +include/phpcpp/thread_local.h +include/phpcpp/throwable.h +include/phpcpp/traversable.h +include/phpcpp/type.h +include/phpcpp/value.h +include/phpcpp/valueiterator.h +include/phpcpp/version.h +include/phpcpp/visibility.h +include/phpcpp/zendcallable.h +include/phpcpp/zval.h +lib/libphpcpp.so +lib/libphpcpp.so.2.2 +lib/libphpcpp.so.2.2.1 +lib/libphpcpp.so.2.2.1.debug +lib/libphpcpp.so.2.2.1.full