Date: Mon, 27 Aug 2018 12:13:42 +0000 (UTC) From: Michael Gmelin <grembo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478197 - in head/devel: . php-ice37 Message-ID: <201808271213.w7RCDgqe056694@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: grembo Date: Mon Aug 27 12:13:41 2018 New Revision: 478197 URL: https://svnweb.freebsd.org/changeset/ports/478197 Log: 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 Added: head/devel/php-ice37/ head/devel/php-ice37/Makefile (contents, props changed) head/devel/php-ice37/pkg-descr (contents, props changed) head/devel/php-ice37/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Aug 27 12:09:18 2018 (r478196) +++ head/devel/Makefile Mon Aug 27 12:13:41 2018 (r478197) @@ -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 Added: head/devel/php-ice37/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/php-ice37/Makefile Mon Aug 27 12:13:41 2018 (r478197) @@ -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" Added: head/devel/php-ice37/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/php-ice37/pkg-descr Mon Aug 27 12:13:41 2018 (r478197) @@ -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/ Added: head/devel/php-ice37/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/php-ice37/pkg-plist Mon Aug 27 12:13:41 2018 (r478197) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808271213.w7RCDgqe056694>