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..f7d0e02b7e19 --- /dev/null +++ b/devel/php-cpp/Makefile @@ -0,0 +1,32 @@ +# $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= 62648e5db29542b49e96868eb4ef724e8949dd06 +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) + (cd ${WRKSRC}/ && \ + ${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..0b8efbcd94a2 --- /dev/null +++ b/devel/php-cpp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1603210808 +SHA256 (lattera-PHP-CPP-2.2.0-62648e5db29542b49e96868eb4ef724e8949dd06_GH0.tar.gz) = 990966dea09d78488e2cc449d3211ddaecb2f67e53735b474c059e974fd70057 +SIZE (lattera-PHP-CPP-2.2.0-62648e5db29542b49e96868eb4ef724e8949dd06_GH0.tar.gz) = 189512 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..b61b89b659b4 --- /dev/null +++ b/devel/php-cpp/pkg-plist @@ -0,0 +1,54 @@ +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/phpcpp.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.0 +lib/libphpcpp.so.2.2.0.debug +lib/libphpcpp.so.2.2.0.full