aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2018-08-27 12:13:41 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2018-08-27 12:13:41 +0000
commitd59655cffc129be57b4f559e6008adf775846b55 (patch)
treef0696f5ce1bd42a376634148ef968cdc54e19b3c
parentb84b181d2e82740e5972079c03ac5fb885632322 (diff)
downloadports-d59655cffc129be57b4f559e6008adf775846b55.tar.gz
ports-d59655cffc129be57b4f559e6008adf775846b55.zip
Add ZeroC Ice 3.7.1 PHP language mapping as devel/php-ice37
Upgrading from Ice 3.6 (devel/php5-ice) is non-trivial (requires application code changes), therefore a separate port was required. PR: 221141
Notes
Notes: svn path=/head/; revision=478197
-rw-r--r--devel/Makefile1
-rw-r--r--devel/php-ice37/Makefile50
-rw-r--r--devel/php-ice37/pkg-descr6
-rw-r--r--devel/php-ice37/pkg-plist67
4 files changed, 124 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 9a92d79842a9..74c024139192 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4106,6 +4106,7 @@
SUBDIR += php-Psr_Log
SUBDIR += php-composer
SUBDIR += php-geshi
+ SUBDIR += php-ice37
SUBDIR += php-jq
SUBDIR += php-libawl
SUBDIR += php-maxminddb
diff --git a/devel/php-ice37/Makefile b/devel/php-ice37/Makefile
new file mode 100644
index 000000000000..6a508a6c299e
--- /dev/null
+++ b/devel/php-ice37/Makefile
@@ -0,0 +1,50 @@
+# Created by: Michael Gmelin <grembo@FreeBSD.org>
+# $FreeBSD$
+
+CATEGORIES= devel
+PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
+
+MAINTAINER= grembo@FreeBSD.org
+COMMENT= Ice (Internet Communications Engine) language mapping for PHP
+
+LICENSE= GPLv2
+
+BUILD_DEPENDS= mcpp:devel/mcpp \
+ slice2php:devel/ice37
+LIB_DEPENDS= libIce.so.${LIB_VRS}:devel/ice37
+
+OPTIONS_DEFINE= DEBUG NAMESPACES
+NAMESPACES_DESC= Use PHP namespaces (recommended)
+OPTIONS_DEFAULT= NAMESPACES
+
+SLAVE_PORT= yes
+MASTERDIR= ${.CURDIR}/../ice37
+PLIST= ${.CURDIR}/pkg-plist
+
+MAKE_ARGS+= PHP_EXT_DIR=${PHP_EXT_DIR} ICE_HOME=${LOCALBASE} \
+ PHP_HOME=${LOCALBASE} OPTIMIZE=yes
+USES+= php:build,flavors
+BUILD_WRKSRC= ${WRKSRC}/php
+INSTALL_WRKSRC= ${WRKSRC}/php
+
+NAMESPACES_MAKE_ENV_OFF=USE_NAMESPACES=no
+
+LIB_VRS= ${PORTVERSION:S|.||g:C|0$||}
+PHP_MODNAME?= ice
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/*.so
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/php
+ @${ECHO_CMD} "extension=${PHP_MODNAME}.so" > ${STAGEDIR}${PREFIX}/etc/php/ext-20-ice.ini
+
+security-check:
+ @${ECHO_CMD} "****************************************************************************"
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} "The following line has been added to your ${PREFIX}/etc/php/ext-20-ice.ini"
+ @${ECHO_CMD} "configuration file to automatically load the installed extension:"
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} "extension=${PHP_MODNAME}.so"
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} "****************************************************************************"
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php-ice37/pkg-descr b/devel/php-ice37/pkg-descr
new file mode 100644
index 000000000000..fcf59db0aade
--- /dev/null
+++ b/devel/php-ice37/pkg-descr
@@ -0,0 +1,6 @@
+An Ice language mapping for PHP is a recent and welcome addition
+to the Ice product portfolio, enabling developers to take advantage
+of the productivity offered by PHP's friendly syntax and extensive
+function library.
+
+WWW: http://www.zeroc.com/
diff --git a/devel/php-ice37/pkg-plist b/devel/php-ice37/pkg-plist
new file mode 100644
index 000000000000..67b026a3115a
--- /dev/null
+++ b/devel/php-ice37/pkg-plist
@@ -0,0 +1,67 @@
+etc/php/ext-20-ice.ini
+lib/php/%%PHP_EXT_DIR%%/ice.so
+share/pear/Glacier2.php
+share/pear/Glacier2/Metrics.php
+share/pear/Glacier2/PermissionsVerifier.php
+share/pear/Glacier2/PermissionsVerifierF.php
+share/pear/Glacier2/Router.php
+share/pear/Glacier2/RouterF.php
+share/pear/Glacier2/SSLInfo.php
+share/pear/Glacier2/Session.php
+share/pear/Ice.php
+share/pear/Ice/BuiltinSequences.php
+share/pear/Ice/Communicator.php
+share/pear/Ice/CommunicatorF.php
+share/pear/Ice/Connection.php
+share/pear/Ice/ConnectionF.php
+share/pear/Ice/Current.php
+share/pear/Ice/Endpoint.php
+share/pear/Ice/EndpointF.php
+share/pear/Ice/EndpointTypes.php
+share/pear/Ice/FacetMap.php
+share/pear/Ice/Identity.php
+share/pear/Ice/ImplicitContext.php
+share/pear/Ice/ImplicitContextF.php
+share/pear/Ice/Instrumentation.php
+share/pear/Ice/InstrumentationF.php
+share/pear/Ice/LocalException.php
+share/pear/Ice/Locator.php
+share/pear/Ice/LocatorF.php
+share/pear/Ice/Logger.php
+share/pear/Ice/LoggerF.php
+share/pear/Ice/Metrics.php
+share/pear/Ice/ObjectAdapter.php
+share/pear/Ice/ObjectAdapterF.php
+share/pear/Ice/ObjectFactory.php
+share/pear/Ice/Plugin.php
+share/pear/Ice/PluginF.php
+share/pear/Ice/Process.php
+share/pear/Ice/ProcessF.php
+share/pear/Ice/Properties.php
+share/pear/Ice/PropertiesAdmin.php
+share/pear/Ice/PropertiesF.php
+share/pear/Ice/RemoteLogger.php
+share/pear/Ice/Router.php
+share/pear/Ice/RouterF.php
+share/pear/Ice/ServantLocator.php
+share/pear/Ice/ServantLocatorF.php
+share/pear/Ice/SliceChecksumDict.php
+share/pear/Ice/ValueFactory.php
+share/pear/Ice/Version.php
+share/pear/IceBox.php
+share/pear/IceBox/IceBox.php
+share/pear/IceGrid.php
+share/pear/IceGrid/Admin.php
+share/pear/IceGrid/Descriptor.php
+share/pear/IceGrid/Exception.php
+share/pear/IceGrid/FileParser.php
+share/pear/IceGrid/PluginFacade.php
+share/pear/IceGrid/Registry.php
+share/pear/IceGrid/Session.php
+share/pear/IceGrid/UserAccountMapper.php
+share/pear/IcePatch2.php
+share/pear/IcePatch2/FileInfo.php
+share/pear/IcePatch2/FileServer.php
+share/pear/IceStorm.php
+share/pear/IceStorm/IceStorm.php
+share/pear/IceStorm/Metrics.php