[38492] trunk/dports/devel

blair at macports.org blair at macports.org
Tue Jul 22 10:17:41 PDT 2008


Revision: 38492
          http://trac.macosforge.org/projects/macports/changeset/38492
Author:   blair at macports.org
Date:     2008-07-22 10:17:41 -0700 (Tue, 22 Jul 2008)
Log Message:
-----------
Add Google Protocol Buffer's support to Ice.

http://www.zeroc.com/labs/protobuf/

Modified Paths:
--------------
    trunk/dports/devel/ice-cpp/Portfile
    trunk/dports/devel/ice-java/Portfile
    trunk/dports/devel/ice-python/Portfile
    trunk/dports/devel/ice-python25/Portfile

Modified: trunk/dports/devel/ice-cpp/Portfile
===================================================================
--- trunk/dports/devel/ice-cpp/Portfile	2008-07-22 15:43:30 UTC (rev 38491)
+++ trunk/dports/devel/ice-cpp/Portfile	2008-07-22 17:17:41 UTC (rev 38492)
@@ -4,7 +4,7 @@
 
 name		ice-cpp
 version		3.3.0
-revision	2
+revision	3
 categories	devel
 maintainers	blair
 description	Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
@@ -31,6 +31,7 @@
 
 homepage	http://www.zeroc.com/
 master_sites	http://www.zeroc.com/download/Ice/3.3/:ice \
+		http://www.zeroc.com/download/Protobuf/0.1/:ice-protobuf \
 		sourceforge:mcpp
 
 set mcpp_version 2.7
@@ -47,7 +48,11 @@
 		${mcpp_dist} \
 			md5 14f9e4155aeb5812fc3ced6345caee02 \
 			sha1 3bb1c2a2f0fae9c73c2c4edaf98354b2140f4f53 \
-			rmd160 0ff924d66c383dcdd092df0f7e165a7f59a8754a
+			rmd160 0ff924d66c383dcdd092df0f7e165a7f59a8754a \
+		protobuf-patch-0.1.0.gz \
+			md5 d5ac6485fd89c540fc9e3912f9595d58 \
+			sha1sum 0f9d2e2c1c1601695339b4f621e18f40563e3fa0 \
+			rmd160 9494f3f763c473b1ed0742eda49ae9dde18bea01
 platforms	darwin
 
 depends_lib	port:libiconv \
@@ -60,7 +65,8 @@
 		patch-ice.cpp.config.Make.rules.Darwin.diff \
 		patch-ice.cpp.src.Ice.ConnectRequestHandler.cpp.diff \
 		patch-mcpp-${mcpp_version}-1.diff \
-		patch-mcpp-${mcpp_version}-2.diff
+		patch-mcpp-${mcpp_version}-2.diff \
+		protobuf-patch-0.1.0.gz:ice-protobuf
 
 patch {
 	set cmd "cd ${workpath}/mcpp-${mcpp_version} && patch -p0 < ${filespath}/patch-mcpp-${mcpp_version}-1.diff"
@@ -83,6 +89,10 @@
 	ui_debug ${cmd}
 	system ${cmd}
 
+	set cmd "cd ${workpath}/Ice-${version} && gzcat ${distpath}/protobuf-patch-0.1.0.gz | patch -p0"
+	ui_debug ${cmd}
+	system ${cmd}
+
 	reinplace "s/-O2/-g -O2/" ${workpath}/Ice-${version}/cpp/config/Make.rules.Darwin
 
 	# It appears that the 10.4 and 10.5 installed versions of

Modified: trunk/dports/devel/ice-java/Portfile
===================================================================
--- trunk/dports/devel/ice-java/Portfile	2008-07-22 15:43:30 UTC (rev 38491)
+++ trunk/dports/devel/ice-java/Portfile	2008-07-22 17:17:41 UTC (rev 38492)
@@ -4,6 +4,7 @@
 
 name		ice-java
 version		3.3.0
+revision	1
 categories	devel java
 maintainers	blair
 description	Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
@@ -27,12 +28,20 @@
 	This Port provides the Java runtime and bindings.
 
 homepage	http://www.zeroc.com/
-master_sites	http://www.zeroc.com/download/Ice/3.3/
+master_sites	http://www.zeroc.com/download/Ice/3.3/:ice \
+		http://www.zeroc.com/download/Protobuf/0.1/:ice-protobuf
 dist_subdir	ice-cpp
 distname	Ice-${version}
-checksums	md5 0500306d9cdbc0fbb553fbb529de557a \
-		sha1 b599c3a4d1d3006b868bf2cbcd8e2a2d4575fb22 \
-		rmd160 e85b37c93f12d9ae97c6b7b2f64f506fa051e4f8
+distfiles	${distname}${extract.suffix}:ice
+patchfiles	protobuf-patch-0.1.0.gz:ice-protobuf
+checksums	Ice-${version}.tar.gz \
+			md5 0500306d9cdbc0fbb553fbb529de557a \
+			sha1 b599c3a4d1d3006b868bf2cbcd8e2a2d4575fb22 \
+			rmd160 e85b37c93f12d9ae97c6b7b2f64f506fa051e4f8 \
+		protobuf-patch-0.1.0.gz \
+			md5 d5ac6485fd89c540fc9e3912f9595d58 \
+			sha1sum 0f9d2e2c1c1601695339b4f621e18f40563e3fa0 \
+			rmd160 9494f3f763c473b1ed0742eda49ae9dde18bea01
 platforms	darwin
 
 depends_lib	port:db46 \

Modified: trunk/dports/devel/ice-python/Portfile
===================================================================
--- trunk/dports/devel/ice-python/Portfile	2008-07-22 15:43:30 UTC (rev 38491)
+++ trunk/dports/devel/ice-python/Portfile	2008-07-22 17:17:41 UTC (rev 38492)
@@ -4,7 +4,7 @@
 
 name		ice-python
 version		3.3.0
-revision	1
+revision	2
 categories	devel python
 maintainers	blair
 description	Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
@@ -29,19 +29,27 @@
 	Ice C++ runtime libraries.
 
 homepage	http://www.zeroc.com/
-master_sites	http://www.zeroc.com/download/Ice/3.3/
+master_sites	http://www.zeroc.com/download/Ice/3.3/:ice \
+		http://www.zeroc.com/download/Protobuf/0.1/:ice-protobuf
 dist_subdir	ice-cpp
 distname	Ice-${version}
-checksums	md5 0500306d9cdbc0fbb553fbb529de557a \
-		sha1 b599c3a4d1d3006b868bf2cbcd8e2a2d4575fb22 \
-		rmd160 e85b37c93f12d9ae97c6b7b2f64f506fa051e4f8
+distfiles	${distname}${extract.suffix}:ice
+checksums	Ice-${version}.tar.gz \
+			md5 0500306d9cdbc0fbb553fbb529de557a \
+			sha1 b599c3a4d1d3006b868bf2cbcd8e2a2d4575fb22 \
+			rmd160 e85b37c93f12d9ae97c6b7b2f64f506fa051e4f8 \
+		protobuf-patch-0.1.0.gz \
+			md5 d5ac6485fd89c540fc9e3912f9595d58 \
+			sha1sum 0f9d2e2c1c1601695339b4f621e18f40563e3fa0 \
+			rmd160 9494f3f763c473b1ed0742eda49ae9dde18bea01
 platforms	darwin
 
 depends_lib	port:python24 \
 		port:ice-cpp
 
 patchfiles	patch-py.config.Make.rules.Darwin.diff \
-		patch-config.TestUtil.py.diff
+		patch-config.TestUtil.py.diff \
+		protobuf-patch-0.1.0.gz:ice-protobuf
 
 post-patch {
 	reinplace "s#python Client.py#${prefix}/bin/python2.4 Client.py#" \

Modified: trunk/dports/devel/ice-python25/Portfile
===================================================================
--- trunk/dports/devel/ice-python25/Portfile	2008-07-22 15:43:30 UTC (rev 38491)
+++ trunk/dports/devel/ice-python25/Portfile	2008-07-22 17:17:41 UTC (rev 38492)
@@ -4,6 +4,7 @@
 
 name		ice-python25
 version		3.3.0
+revision	1
 categories	devel python
 maintainers	blair
 description	Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
@@ -28,19 +29,27 @@
 	Ice C++ runtime libraries.
 
 homepage	http://www.zeroc.com/
-master_sites	http://www.zeroc.com/download/Ice/3.3/
+master_sites	http://www.zeroc.com/download/Ice/3.3/:ice \
+		http://www.zeroc.com/download/Protobuf/0.1/:ice-protobuf
 dist_subdir	ice-cpp
 distname	Ice-${version}
-checksums	md5 0500306d9cdbc0fbb553fbb529de557a \
-		sha1 b599c3a4d1d3006b868bf2cbcd8e2a2d4575fb22 \
-		rmd160 e85b37c93f12d9ae97c6b7b2f64f506fa051e4f8
+distfiles	${distname}${extract.suffix}:ice
+checksums	Ice-${version}.tar.gz \
+			md5 0500306d9cdbc0fbb553fbb529de557a \
+			sha1 b599c3a4d1d3006b868bf2cbcd8e2a2d4575fb22 \
+			rmd160 e85b37c93f12d9ae97c6b7b2f64f506fa051e4f8 \
+		protobuf-patch-0.1.0.gz \
+			md5 d5ac6485fd89c540fc9e3912f9595d58 \
+			sha1sum 0f9d2e2c1c1601695339b4f621e18f40563e3fa0 \
+			rmd160 9494f3f763c473b1ed0742eda49ae9dde18bea01
 platforms	darwin
 
 depends_lib	port:python25 \
 		port:ice-cpp
 
 patchfiles	patch-py.config.Make.rules.Darwin.diff \
-		patch-config.TestUtil.py.diff
+		patch-config.TestUtil.py.diff \
+		protobuf-patch-0.1.0.gz:ice-protobuf
 
 post-patch {
 	reinplace "s#python Client.py#${prefix}/bin/python2.5 Client.py#" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080722/4cefcfe7/attachment.html 


More information about the macports-changes mailing list