From nobody@FreeBSD.org  Thu Nov 29 02:10:05 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8B60516A419
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Nov 2007 02:10:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8FF7313C46A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Nov 2007 02:10:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lAT29ujV001394
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Nov 2007 02:09:56 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lAT29tH7001393;
	Thu, 29 Nov 2007 02:09:56 GMT
	(envelope-from nobody)
Message-Id: <200711290209.lAT29tH7001393@www.freebsd.org>
Date: Thu, 29 Nov 2007 02:09:56 GMT
From: DIrk <dirk.ye@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port:devel/php5-ice An Ice (Internet Communications Engine) language mapping for PHP
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         118323
>Category:       ports
>Synopsis:       New port:devel/php5-ice An Ice (Internet Communications Engine) language mapping for PHP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 29 02:20:00 UTC 2007
>Closed-Date:    Tue Dec 11 20:46:22 UTC 2007
>Last-Modified:  Tue Dec 11 20:50:03 UTC 2007
>Originator:     DIrk
>Release:        6.2-Release-p7
>Organization:
N/A
>Environment:
FreeBSD cvsup.asweb.cn 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #4: Thu Sep 13 09:27:32 CST 2007     root@cvsup.vmailx.com:/usr/obj/usr/src/sys/REDNORA  amd64
>Description:
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.

This Ice distribution is released under the GNU General Public License (GPL).

WWW: http://www.zeroc.org/

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	php5-ice
#	php5-ice/Makefile
#	php5-ice/distinfo
#	php5-ice/pkg-plist
#	php5-ice/pkg-descr
#	php5-ice/files
#	php5-ice/files/patch-config+Make.rules
#
echo c - php5-ice
mkdir -p php5-ice > /dev/null 2>&1
echo x - php5-ice/Makefile
sed 's/^X//' >php5-ice/Makefile << 'END-of-php5-ice/Makefile'
X# New ports collection makefile for:	php-ice
X# Date created:				2007-08-21
X# Whom:					DIrk Ye <dirk.ye@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Ice
XPORTVERSION=	3.2.1
XCATEGORIES=	devel php
XMASTER_SITES=	http://www.zeroc.com/download/Ice/3.2/ \
X		http://www.dirk.sh/dirk/php/Ice/
XPKGNAMEPREFIX=	php5-
XDISTNAME=	IcePHP-${PORTVERSION}
X
XMAINTAINER=	dirk.ye@gmail.com
XCOMMENT=	An Ice (Internet Communications Engine) language mapping for PHP
X
XLIB_DEPENDS=	Ice.32:${PORTSDIR}/devel/ice
X
XUSE_GMAKE=	yes
XMAKE_ARGS+=	PHP_EXT_DIR=${PHP_EXT_DIR}
XDEFAULT_PHP_VER=5
XIGNORE_WITH_PHP=4
XUSE_PHP=	yes
XUSE_PHP_BUILD=	yes
X
XLIB_VRS=	${PORTVERSION:S|.||g:C|0$||}
XPHP_MODNAME?=	IcePHP
X
XCFLAGS+=	-ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT ${PTHREAD_CFLAGS}
X.if defined(DEBUG)
XCFLAGS+=	-g
X.else
XCFLAGS+=	-DNDEBUG
X.endif
X
X.include <bsd.port.pre.mk>
X
X.if ${ARCH} == "ia64"
XBROKEN=		does not compile
X.endif
X
X.if ((${ARCH} != i386) && (${ARCH} != powerpc))
XMAKE_ENV=	LP64=yes
X.endif
X
Xpost-extract:
X	${CP} ${WRKSRC}/config/Make.rules.Linux ${WRKSRC}/config/Make.rules.FreeBSD
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/config/Make.rules.FreeBSD
X	${REINPLACE_CMD} 's|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \
X		s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \
X		s|%%PREFIX%%|${PREFIX}|g ; \
X		s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/config/Make.rules
Xpost-install:
X	@${ECHO_CMD} extension=${PHP_MODNAME}.so \
X		>> ${PREFIX}/etc/php/extensions.ini
X	@${ECHO_CMD} "****************************************************************************"
X	@${ECHO_CMD} ""
X	@${ECHO_CMD} "The following line has been added to your ${PREFIX}/etc/php/extensions.ini"
X	@${ECHO_CMD} "configuration file to automatically load the installed extension:"
X	@${ECHO_CMD} ""
X	@${ECHO_CMD} "extension=${PHP_MODNAME}.so"
X	@${ECHO_CMD} ""
X	@${ECHO_CMD} "****************************************************************************"
X
X.include <bsd.port.post.mk>
END-of-php5-ice/Makefile
echo x - php5-ice/distinfo
sed 's/^X//' >php5-ice/distinfo << 'END-of-php5-ice/distinfo'
XMD5 (IcePHP-3.2.1.tar.gz) = e32a8988dfae57775d9c71e7ace4c687
XSHA256 (IcePHP-3.2.1.tar.gz) = 6e1560ca2b344ff19f5a9c8f0b0777644b3dea60949b46a2fab202a71a891f8a
XSIZE (IcePHP-3.2.1.tar.gz) = 78072
END-of-php5-ice/distinfo
echo x - php5-ice/pkg-plist
sed 's/^X//' >php5-ice/pkg-plist << 'END-of-php5-ice/pkg-plist'
Xlib/php/%%PHP_EXT_DIR%%/ICE_LICENSE
Xlib/php/%%PHP_EXT_DIR%%/IcePHP.so
Xlib/php/%%PHP_EXT_DIR%%/LICENSE
X@dirrm lib/php/%%PHP_EXT_DIR%%/slice
END-of-php5-ice/pkg-plist
echo x - php5-ice/pkg-descr
sed 's/^X//' >php5-ice/pkg-descr << 'END-of-php5-ice/pkg-descr'
XAn Ice language mapping for PHP is a recent and welcome addition
Xto the Ice product portfolio, enabling developers to take advantage
Xof the productivity offered by PHP's friendly syntax and extensive
Xfunction library.
X
XThis Ice distribution is released under the GNU General Public License (GPL).
X
XWWW: http://www.zeroc.org/
X
X- DIrk Ye
Xdirk.ye@gmail.com
END-of-php5-ice/pkg-descr
echo c - php5-ice/files
mkdir -p php5-ice/files > /dev/null 2>&1
echo x - php5-ice/files/patch-config+Make.rules
sed 's/^X//' >php5-ice/files/patch-config+Make.rules << 'END-of-php5-ice/files/patch-config+Make.rules'
X--- config/Make.rules.orig	Wed Aug 22 16:32:59 2007
X+++ config/Make.rules	Wed Aug 22 21:34:34 2007
X@@ -7,6 +7,8 @@
X #
X # **********************************************************************
X 
X+ICE_HOME		= %%LOCALBASE%%
X+
X ifndef ICE_HOME
X    ifneq ($(shell test -f /usr/include/Ice/Ice.h && echo 0),0)
X       $(error Ice installation not found, please set ICE_HOME!)
X@@ -18,7 +20,7 @@ endif
X # if it does not exist.
X #
X 
X-prefix			?= /opt/IcePHP-$(VERSION)
X+prefix			?= %%PREFIX%%/lib/php/$(PHP_EXT_DIR)
X 
X #
X # The "root directory" for runpath embedded in executables. Can be unset
X@@ -31,7 +33,7 @@ embedded_runpath_prefix  ?= /opt/Ice-$(V
X # Otherwise the Ice extension is built with debug information.
X #
X 
X-#OPTIMIZE		= yes
X+OPTIMIZE		= yes
X 
X #
X # Define LP64 as yes if you want to build in 64 bit mode on a platform
X@@ -54,7 +56,7 @@ embedded_runpath_prefix  ?= /opt/Ice-$(V
X # PHP_INCLUDE_DIR and PHP_LIB_DIR.
X #
X 
X-PHP_HOME		?= /opt/php
X+PHP_HOME		?= /usr/local
X 
X UNAME			:= $(shell uname)
X 
X@@ -134,9 +136,9 @@ else
X endif
X 
X ifeq ($(LP64),yes)
X-    install_libdir	= $(prefix)/lib$(lp64suffix)
X+    install_libdir	= $(prefix)$(lp64suffix)
X else
X-    install_libdir	= $(prefix)/lib
X+    install_libdir	= $(prefix)
X endif
X 
X ifneq ($(embedded_runpath_prefix),)
END-of-php5-ice/files/patch-config+Make.rules
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->delphij 
Responsible-Changed-By: delphij 
Responsible-Changed-When: Thu Nov 29 02:32:09 UTC 2007 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118323 
State-Changed-From-To: open->closed 
State-Changed-By: delphij 
State-Changed-When: Tue Dec 11 20:46:11 UTC 2007 
State-Changed-Why:  
New port added, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118323 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/118323: commit references a PR
Date: Tue, 11 Dec 2007 20:45:47 +0000 (UTC)

 delphij     2007-12-11 20:45:43 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel                Makefile 
   Added files:
     devel/php5-ice       Makefile distinfo pkg-descr pkg-plist 
     devel/php5-ice/files patch-config+Make.rules 
   Log:
   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.
   
   This Ice distribution is released under the GNU General Public License (GPL).
   
   WWW:            http://www.zeroc.org/
   PR:             ports/118323
   Submitted by:   DIrk Ye <dirk.ye at gmail.com>
   
   Revision  Changes    Path
   1.2919    +1 -0      ports/devel/Makefile
   1.1       +69 -0     ports/devel/php5-ice/Makefile (new)
   1.1       +3 -0      ports/devel/php5-ice/distinfo (new)
   1.1       +50 -0     ports/devel/php5-ice/files/patch-config+Make.rules (new)
   1.1       +11 -0     ports/devel/php5-ice/pkg-descr (new)
   1.1       +4 -0      ports/devel/php5-ice/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
