[95466] trunk/dports/devel
blair at macports.org
blair at macports.org
Fri Jul 13 11:58:20 PDT 2012
Revision: 95466
https://trac.macports.org/changeset/95466
Author: blair at macports.org
Date: 2012-07-13 11:58:20 -0700 (Fri, 13 Jul 2012)
Log Message:
-----------
ice*: whitespace changes: use 4-space indentation.
Modified Paths:
--------------
trunk/dports/devel/ice-cpp/Portfile
trunk/dports/devel/ice-java/Portfile
trunk/dports/devel/ice-python/Portfile
trunk/dports/devel/ice-python24/Portfile
trunk/dports/devel/ice-python25/Portfile
trunk/dports/devel/ice-python26/Portfile
trunk/dports/devel/ice-python27/Portfile
trunk/dports/devel/ice33-cpp/Portfile
trunk/dports/devel/ice33-java/Portfile
trunk/dports/devel/ice33-python25/Portfile
trunk/dports/devel/ice33-python26/Portfile
Modified: trunk/dports/devel/ice-cpp/Portfile
===================================================================
--- trunk/dports/devel/ice-cpp/Portfile 2012-07-13 18:52:15 UTC (rev 95465)
+++ trunk/dports/devel/ice-cpp/Portfile 2012-07-13 18:58:20 UTC (rev 95466)
@@ -13,24 +13,24 @@
description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
long_description \
- The Internet Communications Engine (Ice) is a modern alternative to \
- object middleware such as CORBA or COM/DCOM/COM+, with support for \
- C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
- Ice consists of the following packages. \
- Slice: The Specification Language for Ice. Slice establishes a \
- contract between clients and servers, and is also used to describe \
- persistent data. \
- Slice Compilers: Slice specifications are compiled into various \
- programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
- Python and Ruby. Ice clients and servers work together, regardless \
- of the programming language. \
- Ice: The Ice core library manages all the communication tasks using a \
- highly efficient protocol (including protocol compression and support \
- for both TCP and UDP), provides a flexible thread pool for \
- multi-threaded servers. \
- This Port provides the C++ runtime libraries, the core Slice files \
- and slice2cpp. It also includes the slice compilers for all the \
- other languages: slice2cs, slice2java, slice2py, slice2rb and slice2vb.
+ The Internet Communications Engine (Ice) is a modern alternative to \
+ object middleware such as CORBA or COM/DCOM/COM+, with support for \
+ C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
+ Ice consists of the following packages. \
+ Slice: The Specification Language for Ice. Slice establishes a \
+ contract between clients and servers, and is also used to describe \
+ persistent data. \
+ Slice Compilers: Slice specifications are compiled into various \
+ programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
+ Python and Ruby. Ice clients and servers work together, regardless \
+ of the programming language. \
+ Ice: The Ice core library manages all the communication tasks using a \
+ highly efficient protocol (including protocol compression and support \
+ for both TCP and UDP), provides a flexible thread pool for \
+ multi-threaded servers. \
+ This Port provides the C++ runtime libraries, the core Slice files \
+ and slice2cpp. It also includes the slice compilers for all the \
+ other languages: slice2cs, slice2java, slice2py, slice2rb and slice2vb.
homepage http://www.zeroc.com/
master_sites ${homepage}download/Ice/${branch}/
@@ -132,46 +132,43 @@
build.dir ${worksrcpath}/cpp
post-patch {
- reinplace "s/-O2/-g -O2/" \
- ${build.dir}/config/Make.rules.Darwin
+ reinplace "s/-O2/-g -O2/" ${build.dir}/config/Make.rules.Darwin
- # It appears that the 10.4 and 10.5 installed versions of
- # ${prefix}/include/iconv.h have different definitions of
- # the inbuf parameter to iconv(), one is 'const char* * inbuf'
- # and the other is 'char* * inbuf'. The Ice compile will
- # fail if the wrong #define is choosen by Ice.
- set fl [open ${prefix}/include/iconv.h]
- set data [read $fl]
- close $fl
- foreach line [split $data \n] {
- if {[string match "extern size_t iconv*const*" $line]} {
- reinplace "s/_LIBICONV_VERSION < 0x010B/1/" ${build.dir}/include/Ice/IconvStringConverter.h
- break
- }
+ # It appears that the 10.4 and 10.5 installed versions of
+ # ${prefix}/include/iconv.h have different definitions of
+ # the inbuf parameter to iconv(), one is 'const char* * inbuf'
+ # and the other is 'char* * inbuf'. The Ice compile will
+ # fail if the wrong #define is choosen by Ice.
+ set fl [open ${prefix}/include/iconv.h]
+ set data [read $fl]
+ close $fl
+ foreach line [split $data \n] {
+ if {[string match "extern size_t iconv*const*" $line]} {
+ reinplace "s/_LIBICONV_VERSION < 0x010B/1/" ${build.dir}/include/Ice/IconvStringConverter.h
+ break
}
+ }
- # Prevent name conflicts between libICE.* from xorg-libice and
- # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
- reinplace "s/,Ice/,ZeroCIce/" \
- ${build.dir}/src/Ice/Makefile
- reinplace "s/-lIce /-lZeroCIce /" \
- ${build.dir}/config/Make.rules.Darwin
- foreach {f} [exec find ${build.dir} -name Makefile] {
- reinplace "s/-lIce /-lZeroCIce /" ${f}
- }
+ # Prevent name conflicts between libICE.* from xorg-libice and
+ # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
+ reinplace "s/,Ice/,ZeroCIce/" ${build.dir}/src/Ice/Makefile
+ reinplace "s/-lIce /-lZeroCIce /" ${build.dir}/config/Make.rules.Darwin
+ foreach {f} [exec find ${build.dir} -name Makefile] {
+ reinplace "s/-lIce /-lZeroCIce /" ${f}
+ }
}
use_configure no
build {
- set jobsargs ""
- if {${build.jobs} > 1} {
- set jobsargs " -j${build.jobs}"
- }
+ set jobsargs ""
+ if {${build.jobs} > 1} {
+ set jobsargs " -j${build.jobs}"
+ }
set cmd "cd ${build.dir} && make${jobsargs} prefix='${prefix}' embedded_runpath_prefix='${prefix}' CC='${configure.cc}' CXX='${configure.cxx}' OPTIMIZE='yes' BZIP2_HOME='${prefix}' DB_HOME='${prefix}' EXPAT_HOME='${prefix}' OPENSSL_HOME='${prefix}' READLINE_HOME='${prefix}' USE_READLINE=yes MCPP_HOME='${prefix}' LDPLATFORMFLAGS= all && cd doc && make"
- ui_debug ${cmd}
- system ${cmd}
+ ui_debug ${cmd}
+ system ${cmd}
}
test.run yes
@@ -190,26 +187,26 @@
install
post-destroot {
- set sharedir ${destroot}${prefix}/share
- set docdir ${sharedir}/doc/${name}
+ set sharedir ${destroot}${prefix}/share
+ set docdir ${sharedir}/doc/${name}
- xinstall -m 755 -d ${sharedir}/ice
- file rename ${destroot}${prefix}/config ${sharedir}/ice
- file rename ${destroot}${prefix}/slice ${sharedir}/slice
+ xinstall -m 755 -d ${sharedir}/ice
+ file rename ${destroot}${prefix}/config ${sharedir}/ice
+ file rename ${destroot}${prefix}/slice ${sharedir}/slice
- xinstall -m 755 -d ${docdir}
- file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
- file rename ${destroot}${prefix}/LICENSE ${docdir}
- file copy ${build.dir}/doc/reference ${docdir}
+ xinstall -m 755 -d ${docdir}
+ file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
+ file rename ${destroot}${prefix}/LICENSE ${docdir}
+ file copy ${build.dir}/doc/reference ${docdir}
- foreach f {CHANGES RELEASE_NOTES} {
- file copy ${worksrcpath}/${f} ${docdir}
- }
+ foreach f {CHANGES RELEASE_NOTES} {
+ file copy ${worksrcpath}/${f} ${docdir}
+ }
- if {[variant_isset demo_source_code]} {
- system "cd ${build.dir}/demo && make clean"
- file copy ${build.dir}/demo $docdir
- }
+ if {[variant_isset demo_source_code]} {
+ system "cd ${build.dir}/demo && make clean"
+ file copy ${build.dir}/demo $docdir
+ }
}
variant demo_source_code description {Install demonstration C++ code} {
Modified: trunk/dports/devel/ice-java/Portfile
===================================================================
--- trunk/dports/devel/ice-java/Portfile 2012-07-13 18:52:15 UTC (rev 95465)
+++ trunk/dports/devel/ice-java/Portfile 2012-07-13 18:58:20 UTC (rev 95466)
@@ -11,23 +11,23 @@
description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
long_description \
- The Internet Communications Engine (Ice) is a modern alternative to \
- object middleware such as CORBA or COM/DCOM/COM+, with support for \
- C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
- Ice consists of the following packages. \
- Slice: The Specification Language for Ice. Slice establishes a \
- contract between clients and servers, and is also used to describe \
- persistent data. \
- Slice Compilers: Slice specifications are compiled into various \
- programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
- Python and Ruby. Ice clients and servers work together, regardless \
- of the programming language. \
- Ice: The Ice core library manages all the communication tasks using a \
- highly efficient protocol (including protocol compression and support \
- for both TCP and UDP), provides a flexible thread pool for \
- multi-threaded servers. \
- This Port provides the Java runtime and bindings. \
- You must install the db46 port with the +java variant.
+ The Internet Communications Engine (Ice) is a modern alternative to \
+ object middleware such as CORBA or COM/DCOM/COM+, with support for \
+ C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
+ Ice consists of the following packages. \
+ Slice: The Specification Language for Ice. Slice establishes a \
+ contract between clients and servers, and is also used to describe \
+ persistent data. \
+ Slice Compilers: Slice specifications are compiled into various \
+ programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
+ Python and Ruby. Ice clients and servers work together, regardless \
+ of the programming language. \
+ Ice: The Ice core library manages all the communication tasks using a \
+ highly efficient protocol (including protocol compression and support \
+ for both TCP and UDP), provides a flexible thread pool for \
+ multi-threaded servers. \
+ This Port provides the Java runtime and bindings. \
+ You must install the db46 port with the +java variant.
homepage http://www.zeroc.com/
master_sites ${homepage}download/Ice/${branch}/
@@ -62,25 +62,25 @@
test.target allTests.py
destroot {
- set javadir ${destroot}${prefix}/share/java
- set docdir ${destroot}${prefix}/share/doc/${name}
+ set javadir ${destroot}${prefix}/share/java
+ set docdir ${destroot}${prefix}/share/doc/${name}
- xinstall -d -m 755 ${javadir}
- xinstall -d -m 755 ${docdir}
+ xinstall -d -m 755 ${javadir}
+ xinstall -d -m 755 ${docdir}
- foreach f {ant-ice.jar Ice.jar IceGridGUI.jar} {
- file copy ${build.dir}/lib/${f} ${javadir}/
- }
- file copy ${build.dir}/resources/IceGridAdmin ${docdir}/
+ foreach f {ant-ice.jar Ice.jar IceGridGUI.jar} {
+ file copy ${build.dir}/lib/${f} ${javadir}/
+ }
+ file copy ${build.dir}/resources/IceGridAdmin ${docdir}/
- foreach f {CHANGES ICE_LICENSE LICENSE RELEASE_NOTES} {
- file copy ${worksrcpath}/${f} ${docdir}
- }
- file copy ${build.dir}/INSTALL ${docdir}
+ foreach f {CHANGES ICE_LICENSE LICENSE RELEASE_NOTES} {
+ file copy ${worksrcpath}/${f} ${docdir}
+ }
+ file copy ${build.dir}/INSTALL ${docdir}
- if {[variant_isset demo_source_code]} {
- file copy ${build.dir}/demo ${docdir}/
- }
+ if {[variant_isset demo_source_code]} {
+ file copy ${build.dir}/demo ${docdir}/
+ }
}
variant demo_source_code description {Install demonstration Java code} {
Modified: trunk/dports/devel/ice-python/Portfile
===================================================================
--- trunk/dports/devel/ice-python/Portfile 2012-07-13 18:52:15 UTC (rev 95465)
+++ trunk/dports/devel/ice-python/Portfile 2012-07-13 18:58:20 UTC (rev 95466)
@@ -12,30 +12,30 @@
description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
long_description \
- The Internet Communications Engine (Ice) is a modern alternative to \
- object middleware such as CORBA or COM/DCOM/COM+, with support for \
- C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
- Ice consists of the following packages. \
- Slice: The Specification Language for Ice. Slice establishes a \
- contract between clients and servers, and is also used to describe \
- persistent data. \
- Slice Compilers: Slice specifications are compiled into various \
- programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
- Python and Ruby. Ice clients and servers work together, regardless \
- of the programming language. \
- Ice: The Ice core library manages all the communication tasks using a \
- highly efficient protocol (including protocol compression and support \
- for both TCP and UDP), provides a flexible thread pool for \
- multi-threaded servers. \
- This Port provides the Python bindings that sit on top of the C++ \
- Ice C++ runtime libraries.
+ The Internet Communications Engine (Ice) is a modern alternative to \
+ object middleware such as CORBA or COM/DCOM/COM+, with support for \
+ C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
+ Ice consists of the following packages. \
+ Slice: The Specification Language for Ice. Slice establishes a \
+ contract between clients and servers, and is also used to describe \
+ persistent data. \
+ Slice Compilers: Slice specifications are compiled into various \
+ programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
+ Python and Ruby. Ice clients and servers work together, regardless \
+ of the programming language. \
+ Ice: The Ice core library manages all the communication tasks using a \
+ highly efficient protocol (including protocol compression and support \
+ for both TCP and UDP), provides a flexible thread pool for \
+ multi-threaded servers. \
+ This Port provides the Python bindings that sit on top of the C++ \
+ Ice C++ runtime libraries.
homepage http://www.scala-lang.org/
platforms darwin
distfiles
pre-configure {
- ui_error "Please use one of the numbered ice-python* ports instead."
- return -code error "obsolete port"
+ ui_error "Please use one of the numbered ice-python* ports instead."
+ return -code error "obsolete port"
}
livecheck.type none
Modified: trunk/dports/devel/ice-python24/Portfile
===================================================================
--- trunk/dports/devel/ice-python24/Portfile 2012-07-13 18:52:15 UTC (rev 95465)
+++ trunk/dports/devel/ice-python24/Portfile 2012-07-13 18:58:20 UTC (rev 95466)
@@ -11,23 +11,23 @@
description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
long_description \
- The Internet Communications Engine (Ice) is a modern alternative to \
- object middleware such as CORBA or COM/DCOM/COM+, with support for \
- C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
- Ice consists of the following packages. \
- Slice: The Specification Language for Ice. Slice establishes a \
- contract between clients and servers, and is also used to describe \
- persistent data. \
- Slice Compilers: Slice specifications are compiled into various \
- programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
- Python and Ruby. Ice clients and servers work together, regardless \
- of the programming language. \
- Ice: The Ice core library manages all the communication tasks using a \
- highly efficient protocol (including protocol compression and support \
- for both TCP and UDP), provides a flexible thread pool for \
- multi-threaded servers. \
- This Port provides the Python bindings that sit on top of the C++ \
- Ice C++ runtime libraries.
+ The Internet Communications Engine (Ice) is a modern alternative to \
+ object middleware such as CORBA or COM/DCOM/COM+, with support for \
+ C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
+ Ice consists of the following packages. \
+ Slice: The Specification Language for Ice. Slice establishes a \
+ contract between clients and servers, and is also used to describe \
+ persistent data. \
+ Slice Compilers: Slice specifications are compiled into various \
+ programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
+ Python and Ruby. Ice clients and servers work together, regardless \
+ of the programming language. \
+ Ice: The Ice core library manages all the communication tasks using a \
+ highly efficient protocol (including protocol compression and support \
+ for both TCP and UDP), provides a flexible thread pool for \
+ multi-threaded servers. \
+ This Port provides the Python bindings that sit on top of the C++ \
+ Ice C++ runtime libraries.
homepage http://www.zeroc.com/
master_sites ${homepage}download/Ice/${branch}/
@@ -45,15 +45,12 @@
build.dir ${worksrcpath}/py
post-patch {
- reinplace "s/-O2/-g -O2/" \
- ${build.dir}/config/Make.rules.Darwin
+ reinplace "s/-O2/-g -O2/" ${build.dir}/config/Make.rules.Darwin
- # Prevent name conflicts between libICE.* from xorg-libice and
- # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
- reinplace "s/-lIce /-lZeroCIce /" \
- ${build.dir}/config/Make.rules
- reinplace "s/-lIce /-lZeroCIce /" \
- ${build.dir}/config/Make.rules.Darwin
+ # Prevent name conflicts between libICE.* from xorg-libice and
+ # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
+ reinplace "s/-lIce /-lZeroCIce /" ${build.dir}/config/Make.rules
+ reinplace "s/-lIce /-lZeroCIce /" ${build.dir}/config/Make.rules.Darwin
}
use_configure no
@@ -82,38 +79,38 @@
install
post-destroot {
- set sharedir ${destroot}${prefix}/share
- set docdir ${sharedir}/doc/${name}
+ set sharedir ${destroot}${prefix}/share
+ set docdir ${sharedir}/doc/${name}
- delete ${destroot}${prefix}/slice
+ delete ${destroot}${prefix}/slice
- xinstall -m 755 -d ${docdir}
+ xinstall -m 755 -d ${docdir}
- file mkdir ${destroot}${prefix}/lib/python2.4
- file rename ${destroot}${prefix}/python ${destroot}${prefix}/lib/python2.4/site-packages
+ file mkdir ${destroot}${prefix}/lib/python2.4
+ file rename ${destroot}${prefix}/python ${destroot}${prefix}/lib/python2.4/site-packages
- set cmd "${prefix}/bin/python2.4 \
- ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/compileall.py \
- ${destroot}${prefix}/lib/python2.4/site-packages"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "${prefix}/bin/python2.4 \
+ ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/compileall.py \
+ ${destroot}${prefix}/lib/python2.4/site-packages"
+ ui_debug ${cmd}
+ system ${cmd}
- set cmd "${prefix}/bin/python2.4 -O \
- ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/compileall.py \
- ${destroot}${prefix}/lib/python2.4/site-packages"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "${prefix}/bin/python2.4 -O \
+ ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/compileall.py \
+ ${destroot}${prefix}/lib/python2.4/site-packages"
+ ui_debug ${cmd}
+ system ${cmd}
- file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
- file rename ${destroot}${prefix}/LICENSE ${docdir}
- foreach f {CHANGES RELEASE_NOTES} {
- file copy ${worksrcpath}/${f} ${docdir}
- }
- file copy ${build.dir}/INSTALL ${docdir}
+ file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
+ file rename ${destroot}${prefix}/LICENSE ${docdir}
+ foreach f {CHANGES RELEASE_NOTES} {
+ file copy ${worksrcpath}/${f} ${docdir}
+ }
+ file copy ${build.dir}/INSTALL ${docdir}
- if {[variant_isset demo_source_code]} {
- file copy ${build.dir}/demo ${docdir}
- }
+ if {[variant_isset demo_source_code]} {
+ file copy ${build.dir}/demo ${docdir}
+ }
}
variant demo_source_code description {Install demonstration Python code} {
Modified: trunk/dports/devel/ice-python25/Portfile
===================================================================
--- trunk/dports/devel/ice-python25/Portfile 2012-07-13 18:52:15 UTC (rev 95465)
+++ trunk/dports/devel/ice-python25/Portfile 2012-07-13 18:58:20 UTC (rev 95466)
@@ -12,23 +12,23 @@
description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
long_description \
- The Internet Communications Engine (Ice) is a modern alternative to \
- object middleware such as CORBA or COM/DCOM/COM+, with support for \
- C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
- Ice consists of the following packages. \
- Slice: The Specification Language for Ice. Slice establishes a \
- contract between clients and servers, and is also used to describe \
- persistent data. \
- Slice Compilers: Slice specifications are compiled into various \
- programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
- Python and Ruby. Ice clients and servers work together, regardless \
- of the programming language. \
- Ice: The Ice core library manages all the communication tasks using a \
- highly efficient protocol (including protocol compression and support \
- for both TCP and UDP), provides a flexible thread pool for \
- multi-threaded servers. \
- This Port provides the Python bindings that sit on top of the C++ \
- Ice C++ runtime libraries.
+ The Internet Communications Engine (Ice) is a modern alternative to \
+ object middleware such as CORBA or COM/DCOM/COM+, with support for \
+ C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
+ Ice consists of the following packages. \
+ Slice: The Specification Language for Ice. Slice establishes a \
+ contract between clients and servers, and is also used to describe \
+ persistent data. \
+ Slice Compilers: Slice specifications are compiled into various \
+ programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
+ Python and Ruby. Ice clients and servers work together, regardless \
+ of the programming language. \
+ Ice: The Ice core library manages all the communication tasks using a \
+ highly efficient protocol (including protocol compression and support \
+ for both TCP and UDP), provides a flexible thread pool for \
+ multi-threaded servers. \
+ This Port provides the Python bindings that sit on top of the C++ \
+ Ice C++ runtime libraries.
homepage http://www.zeroc.com/
master_sites ${homepage}download/Ice/${branch}/
@@ -46,15 +46,12 @@
build.dir ${worksrcpath}/py
post-patch {
- reinplace "s/-O2/-g -O2/" \
- ${build.dir}/config/Make.rules.Darwin
+ reinplace "s/-O2/-g -O2/" ${build.dir}/config/Make.rules.Darwin
- # Prevent name conflicts between libICE.* from xorg-libice and
- # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
- reinplace "s/-lIce /-lZeroCIce /" \
- ${build.dir}/config/Make.rules
- reinplace "s/-lIce /-lZeroCIce /" \
- ${build.dir}/config/Make.rules.Darwin
+ # Prevent name conflicts between libICE.* from xorg-libice and
+ # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
+ reinplace "s/-lIce /-lZeroCIce /" ${build.dir}/config/Make.rules
+ reinplace "s/-lIce /-lZeroCIce /" ${build.dir}/config/Make.rules.Darwin
}
use_configure no
@@ -83,38 +80,38 @@
install
post-destroot {
- set sharedir ${destroot}${prefix}/share
- set docdir ${sharedir}/doc/${name}
+ set sharedir ${destroot}${prefix}/share
+ set docdir ${sharedir}/doc/${name}
- delete ${destroot}${prefix}/slice
+ delete ${destroot}${prefix}/slice
- xinstall -m 755 -d ${docdir}
+ xinstall -m 755 -d ${docdir}
- file mkdir ${destroot}${prefix}/lib/python2.5
- file rename ${destroot}${prefix}/python ${destroot}${prefix}/lib/python2.5/site-packages
+ file mkdir ${destroot}${prefix}/lib/python2.5
+ file rename ${destroot}${prefix}/python ${destroot}${prefix}/lib/python2.5/site-packages
- set cmd "${prefix}/bin/python2.5 \
- ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/compileall.py \
- ${destroot}${prefix}/lib/python2.5/site-packages"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "${prefix}/bin/python2.5 \
+ ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/compileall.py \
+ ${destroot}${prefix}/lib/python2.5/site-packages"
+ ui_debug ${cmd}
+ system ${cmd}
- set cmd "${prefix}/bin/python2.5 -O \
- ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/compileall.py \
- ${destroot}${prefix}/lib/python2.5/site-packages"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "${prefix}/bin/python2.5 -O \
+ ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/compileall.py \
+ ${destroot}${prefix}/lib/python2.5/site-packages"
+ ui_debug ${cmd}
+ system ${cmd}
- file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
- file rename ${destroot}${prefix}/LICENSE ${docdir}
- foreach f {CHANGES RELEASE_NOTES} {
- file copy ${worksrcpath}/${f} ${docdir}
- }
- file copy ${build.dir}/INSTALL ${docdir}
+ file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
+ file rename ${destroot}${prefix}/LICENSE ${docdir}
+ foreach f {CHANGES RELEASE_NOTES} {
+ file copy ${worksrcpath}/${f} ${docdir}
+ }
+ file copy ${build.dir}/INSTALL ${docdir}
- if {[variant_isset demo_source_code]} {
- file copy ${build.dir}/demo ${docdir}
- }
+ if {[variant_isset demo_source_code]} {
+ file copy ${build.dir}/demo ${docdir}
+ }
}
variant demo_source_code description {Install demonstration Python code} {
Modified: trunk/dports/devel/ice-python26/Portfile
===================================================================
--- trunk/dports/devel/ice-python26/Portfile 2012-07-13 18:52:15 UTC (rev 95465)
+++ trunk/dports/devel/ice-python26/Portfile 2012-07-13 18:58:20 UTC (rev 95466)
@@ -12,23 +12,23 @@
description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
long_description \
- The Internet Communications Engine (Ice) is a modern alternative to \
- object middleware such as CORBA or COM/DCOM/COM+, with support for \
- C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
- Ice consists of the following packages. \
- Slice: The Specification Language for Ice. Slice establishes a \
- contract between clients and servers, and is also used to describe \
- persistent data. \
- Slice Compilers: Slice specifications are compiled into various \
- programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
- Python and Ruby. Ice clients and servers work together, regardless \
- of the programming language. \
- Ice: The Ice core library manages all the communication tasks using a \
- highly efficient protocol (including protocol compression and support \
- for both TCP and UDP), provides a flexible thread pool for \
- multi-threaded servers. \
- This Port provides the Python bindings that sit on top of the C++ \
- Ice C++ runtime libraries.
+ The Internet Communications Engine (Ice) is a modern alternative to \
+ object middleware such as CORBA or COM/DCOM/COM+, with support for \
+ C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
+ Ice consists of the following packages. \
+ Slice: The Specification Language for Ice. Slice establishes a \
+ contract between clients and servers, and is also used to describe \
+ persistent data. \
+ Slice Compilers: Slice specifications are compiled into various \
+ programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
+ Python and Ruby. Ice clients and servers work together, regardless \
+ of the programming language. \
+ Ice: The Ice core library manages all the communication tasks using a \
+ highly efficient protocol (including protocol compression and support \
+ for both TCP and UDP), provides a flexible thread pool for \
+ multi-threaded servers. \
+ This Port provides the Python bindings that sit on top of the C++ \
+ Ice C++ runtime libraries.
homepage http://www.zeroc.com/
master_sites ${homepage}download/Ice/${branch}/
@@ -46,15 +46,12 @@
build.dir ${worksrcpath}/py
post-patch {
- reinplace "s/-O2/-g -O2/" \
- ${build.dir}/config/Make.rules.Darwin
+ reinplace "s/-O2/-g -O2/" ${build.dir}/config/Make.rules.Darwin
- # Prevent name conflicts between libICE.* from xorg-libice and
- # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
- reinplace "s/-lIce /-lZeroCIce /" \
- ${build.dir}/config/Make.rules
- reinplace "s/-lIce /-lZeroCIce /" \
- ${build.dir}/config/Make.rules.Darwin
+ # Prevent name conflicts between libICE.* from xorg-libice and
+ # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
+ reinplace "s/-lIce /-lZeroCIce /" ${build.dir}/config/Make.rules
+ reinplace "s/-lIce /-lZeroCIce /" ${build.dir}/config/Make.rules.Darwin
}
use_configure no
@@ -83,42 +80,42 @@
install
post-destroot {
- set sharedir ${destroot}${prefix}/share
- set docdir ${sharedir}/doc/${name}
+ set sharedir ${destroot}${prefix}/share
+ set docdir ${sharedir}/doc/${name}
- set python_root ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6
- set python26_dir ${python_root}/lib/python2.6
- set site_packages_dir ${python26_dir}/site-packages
+ set python_root ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6
+ set python26_dir ${python_root}/lib/python2.6
+ set site_packages_dir ${python26_dir}/site-packages
- delete ${destroot}${prefix}/slice
+ delete ${destroot}${prefix}/slice
- xinstall -m 755 -d ${docdir}
+ xinstall -m 755 -d ${docdir}
- file mkdir ${python26_dir}
- file rename ${destroot}${prefix}/python ${site_packages_dir}
+ file mkdir ${python26_dir}
+ file rename ${destroot}${prefix}/python ${site_packages_dir}
- set cmd "${prefix}/bin/python2.6 \
- ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py \
- ${site_packages_dir}"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "${prefix}/bin/python2.6 \
+ ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py \
+ ${site_packages_dir}"
+ ui_debug ${cmd}
+ system ${cmd}
- set cmd "${prefix}/bin/python2.6 -O \
- ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py \
- ${site_packages_dir}"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "${prefix}/bin/python2.6 -O \
+ ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py \
+ ${site_packages_dir}"
+ ui_debug ${cmd}
+ system ${cmd}
- file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
- file rename ${destroot}${prefix}/LICENSE ${docdir}
- foreach f {CHANGES RELEASE_NOTES} {
- file copy ${worksrcpath}/${f} ${docdir}
- }
- file copy ${build.dir}/INSTALL ${docdir}
+ file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
+ file rename ${destroot}${prefix}/LICENSE ${docdir}
+ foreach f {CHANGES RELEASE_NOTES} {
+ file copy ${worksrcpath}/${f} ${docdir}
+ }
+ file copy ${build.dir}/INSTALL ${docdir}
- if {[variant_isset demo_source_code]} {
- file copy ${build.dir}/demo ${docdir}
- }
+ if {[variant_isset demo_source_code]} {
+ file copy ${build.dir}/demo ${docdir}
+ }
}
variant demo_source_code description {Install demonstration Python code} {
Modified: trunk/dports/devel/ice-python27/Portfile
===================================================================
--- trunk/dports/devel/ice-python27/Portfile 2012-07-13 18:52:15 UTC (rev 95465)
+++ trunk/dports/devel/ice-python27/Portfile 2012-07-13 18:58:20 UTC (rev 95466)
@@ -12,23 +12,23 @@
description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
long_description \
- The Internet Communications Engine (Ice) is a modern alternative to \
- object middleware such as CORBA or COM/DCOM/COM+, with support for \
- C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
- Ice consists of the following packages. \
- Slice: The Specification Language for Ice. Slice establishes a \
- contract between clients and servers, and is also used to describe \
- persistent data. \
- Slice Compilers: Slice specifications are compiled into various \
- programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
- Python and Ruby. Ice clients and servers work together, regardless \
- of the programming language. \
- Ice: The Ice core library manages all the communication tasks using a \
- highly efficient protocol (including protocol compression and support \
- for both TCP and UDP), provides a flexible thread pool for \
- multi-threaded servers. \
- This Port provides the Python bindings that sit on top of the C++ \
- Ice C++ runtime libraries.
+ The Internet Communications Engine (Ice) is a modern alternative to \
+ object middleware such as CORBA or COM/DCOM/COM+, with support for \
+ C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
+ Ice consists of the following packages. \
+ Slice: The Specification Language for Ice. Slice establishes a \
+ contract between clients and servers, and is also used to describe \
+ persistent data. \
+ Slice Compilers: Slice specifications are compiled into various \
+ programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
+ Python and Ruby. Ice clients and servers work together, regardless \
+ of the programming language. \
+ Ice: The Ice core library manages all the communication tasks using a \
+ highly efficient protocol (including protocol compression and support \
+ for both TCP and UDP), provides a flexible thread pool for \
+ multi-threaded servers. \
+ This Port provides the Python bindings that sit on top of the C++ \
+ Ice C++ runtime libraries.
homepage http://www.zeroc.com/
master_sites ${homepage}download/Ice/${branch}/
@@ -46,15 +46,12 @@
build.dir ${worksrcpath}/py
post-patch {
- reinplace "s/-O2/-g -O2/" \
- ${build.dir}/config/Make.rules.Darwin
+ reinplace "s/-O2/-g -O2/" ${build.dir}/config/Make.rules.Darwin
- # Prevent name conflicts between libICE.* from xorg-libice and
- # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
- reinplace "s/-lIce /-lZeroCIce /" \
- ${build.dir}/config/Make.rules
- reinplace "s/-lIce /-lZeroCIce /" \
- ${build.dir}/config/Make.rules.Darwin
+ # Prevent name conflicts between libICE.* from xorg-libice and
+ # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
+ reinplace "s/-lIce /-lZeroCIce /" ${build.dir}/config/Make.rules
+ reinplace "s/-lIce /-lZeroCIce /" ${build.dir}/config/Make.rules.Darwin
}
use_configure no
@@ -83,42 +80,42 @@
install
post-destroot {
- set sharedir ${destroot}${prefix}/share
- set docdir ${sharedir}/doc/${name}
+ set sharedir ${destroot}${prefix}/share
+ set docdir ${sharedir}/doc/${name}
- set python_root ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7
- set python27_dir ${python_root}/lib/python2.7
- set site_packages_dir ${python27_dir}/site-packages
+ set python_root ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7
+ set python27_dir ${python_root}/lib/python2.7
+ set site_packages_dir ${python27_dir}/site-packages
- delete ${destroot}${prefix}/slice
+ delete ${destroot}${prefix}/slice
- xinstall -m 755 -d ${docdir}
+ xinstall -m 755 -d ${docdir}
- file mkdir ${python27_dir}
- file rename ${destroot}${prefix}/python ${site_packages_dir}
+ file mkdir ${python27_dir}
+ file rename ${destroot}${prefix}/python ${site_packages_dir}
- set cmd "${prefix}/bin/python2.7 \
- ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/compileall.py \
- ${site_packages_dir}"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "${prefix}/bin/python2.7 \
+ ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/compileall.py \
+ ${site_packages_dir}"
+ ui_debug ${cmd}
+ system ${cmd}
- set cmd "${prefix}/bin/python2.7 -O \
- ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/compileall.py \
- ${site_packages_dir}"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "${prefix}/bin/python2.7 -O \
+ ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/compileall.py \
+ ${site_packages_dir}"
+ ui_debug ${cmd}
+ system ${cmd}
- file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
- file rename ${destroot}${prefix}/LICENSE ${docdir}
- foreach f {CHANGES RELEASE_NOTES} {
- file copy ${worksrcpath}/${f} ${docdir}
- }
- file copy ${build.dir}/INSTALL ${docdir}
+ file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
+ file rename ${destroot}${prefix}/LICENSE ${docdir}
+ foreach f {CHANGES RELEASE_NOTES} {
+ file copy ${worksrcpath}/${f} ${docdir}
+ }
+ file copy ${build.dir}/INSTALL ${docdir}
- if {[variant_isset demo_source_code]} {
- file copy ${build.dir}/demo ${docdir}
- }
+ if {[variant_isset demo_source_code]} {
+ file copy ${build.dir}/demo ${docdir}
+ }
}
variant demo_source_code description {Install demonstration Python code} {
Modified: trunk/dports/devel/ice33-cpp/Portfile
===================================================================
--- trunk/dports/devel/ice33-cpp/Portfile 2012-07-13 18:52:15 UTC (rev 95465)
+++ trunk/dports/devel/ice33-cpp/Portfile 2012-07-13 18:58:20 UTC (rev 95466)
@@ -11,24 +11,24 @@
description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
long_description \
- The Internet Communications Engine (Ice) is a modern alternative to \
- object middleware such as CORBA or COM/DCOM/COM+, with support for \
- C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
- Ice consists of the following packages. \
- Slice: The Specification Language for Ice. Slice establishes a \
- contract between clients and servers, and is also used to describe \
- persistent data. \
- Slice Compilers: Slice specifications are compiled into various \
- programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
- Python and Ruby. Ice clients and servers work together, regardless \
- of the programming language. \
- Ice: The Ice core library manages all the communication tasks using a \
- highly efficient protocol (including protocol compression and support \
- for both TCP and UDP), provides a flexible thread pool for \
- multi-threaded servers. \
- This Port provides the C++ runtime libraries, the core Slice files \
- and slice2cpp. It also includes the slice compilers for all the \
- other languages: slice2cs, slice2java, slice2py, slice2rb and slice2vb.
+ The Internet Communications Engine (Ice) is a modern alternative to \
+ object middleware such as CORBA or COM/DCOM/COM+, with support for \
+ C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
+ Ice consists of the following packages. \
+ Slice: The Specification Language for Ice. Slice establishes a \
+ contract between clients and servers, and is also used to describe \
+ persistent data. \
+ Slice Compilers: Slice specifications are compiled into various \
+ programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
+ Python and Ruby. Ice clients and servers work together, regardless \
+ of the programming language. \
+ Ice: The Ice core library manages all the communication tasks using a \
+ highly efficient protocol (including protocol compression and support \
+ for both TCP and UDP), provides a flexible thread pool for \
+ multi-threaded servers. \
+ This Port provides the C++ runtime libraries, the core Slice files \
+ and slice2cpp. It also includes the slice compilers for all the \
+ other languages: slice2cs, slice2java, slice2py, slice2rb and slice2vb.
homepage http://www.zeroc.com/
master_sites ${homepage}download/Ice/3.3/
@@ -44,9 +44,9 @@
patch-ice.cpp.src.slice2html.Gen.diff \
patch-ice.cpp.src.Slice.Preprocessor.cpp.diff
checksums ${ice_dist} \
- md5 1f37dfcec4662fcde030553fb447d064 \
- sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
- rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
+ md5 1f37dfcec4662fcde030553fb447d064 \
+ sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
+ rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
platforms darwin
depends_lib port:libiconv \
@@ -57,53 +57,53 @@
port:mcpp
patch {
- set cmd "cd ${workpath}/Ice-${version} && patch -p0 < ${filespath}/patch-ice.cpp.config.Make.rules.diff"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "cd ${workpath}/Ice-${version} && patch -p0 < ${filespath}/patch-ice.cpp.config.Make.rules.diff"
+ ui_debug ${cmd}
+ system ${cmd}
- set cmd "cd ${workpath}/Ice-${version} && patch -p0 < ${filespath}/patch-ice.cpp.config.Make.rules.Darwin.diff"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "cd ${workpath}/Ice-${version} && patch -p0 < ${filespath}/patch-ice.cpp.config.Make.rules.Darwin.diff"
+ ui_debug ${cmd}
+ system ${cmd}
- set cmd "cd ${workpath}/Ice-${version} && patch -p1 < ${filespath}/patch-ice.cpp.src.IceSSL.Instance.cpp.diff"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "cd ${workpath}/Ice-${version} && patch -p1 < ${filespath}/patch-ice.cpp.src.IceSSL.Instance.cpp.diff"
+ ui_debug ${cmd}
+ system ${cmd}
- set cmd "cd ${workpath}/Ice-${version} && patch -p1 < ${filespath}/patch-ice.cpp.src.slice2html.Gen.diff"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "cd ${workpath}/Ice-${version} && patch -p1 < ${filespath}/patch-ice.cpp.src.slice2html.Gen.diff"
+ ui_debug ${cmd}
+ system ${cmd}
- set cmd "cd ${workpath}/Ice-${version} && patch -p1 < ${filespath}/patch-ice.cpp.src.Slice.Preprocessor.cpp.diff"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "cd ${workpath}/Ice-${version} && patch -p1 < ${filespath}/patch-ice.cpp.src.Slice.Preprocessor.cpp.diff"
+ ui_debug ${cmd}
+ system ${cmd}
- reinplace "s/-O2/-g -O2/" \
- ${workpath}/Ice-${version}/cpp/config/Make.rules.Darwin
+ 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
- # ${prefix}/include/iconv.h have different definitions of
- # the inbuf parameter to iconv(), one is 'const char* * inbuf'
- # and the other is 'char* * inbuf'. The Ice compile will
- # fail if the wrong #define is choosen by Ice.
- set fl [open ${prefix}/include/iconv.h]
- set data [read $fl]
- close $fl
- foreach line [split $data \n] {
- if {[string match "extern size_t iconv*const*" $line]} {
- reinplace "s/_LIBICONV_VERSION < 0x010B/1/" ${workpath}/Ice-${version}/cpp/include/Ice/IconvStringConverter.h
- break
- }
+ # It appears that the 10.4 and 10.5 installed versions of
+ # ${prefix}/include/iconv.h have different definitions of
+ # the inbuf parameter to iconv(), one is 'const char* * inbuf'
+ # and the other is 'char* * inbuf'. The Ice compile will
+ # fail if the wrong #define is choosen by Ice.
+ set fl [open ${prefix}/include/iconv.h]
+ set data [read $fl]
+ close $fl
+ foreach line [split $data \n] {
+ if {[string match "extern size_t iconv*const*" $line]} {
+ reinplace "s/_LIBICONV_VERSION < 0x010B/1/" ${workpath}/Ice-${version}/cpp/include/Ice/IconvStringConverter.h
+ break
}
+ }
- # Prevent name conflicts between libICE.* from xorg-libice and
- # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
- reinplace "s/,Ice/,ZeroCIce/" \
- ${workpath}/Ice-${version}/cpp/src/Ice/Makefile
- reinplace "s/-lIce /-lZeroCIce /" \
- ${workpath}/Ice-${version}/cpp/config/Make.rules.Darwin
- foreach {f} [exec find ${workpath}/Ice-${version}/cpp -name Makefile] {
- reinplace "s/-lIce /-lZeroCIce /" ${f}
- }
+ # Prevent name conflicts between libICE.* from xorg-libice and
+ # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
+ reinplace "s/,Ice/,ZeroCIce/" \
+ ${workpath}/Ice-${version}/cpp/src/Ice/Makefile
+ reinplace "s/-lIce /-lZeroCIce /" \
+ ${workpath}/Ice-${version}/cpp/config/Make.rules.Darwin
+ foreach {f} [exec find ${workpath}/Ice-${version}/cpp -name Makefile] {
+ reinplace "s/-lIce /-lZeroCIce /" ${f}
+ }
}
use_configure no
@@ -112,17 +112,17 @@
# of clang. See
# http://www.zeroc.com/forums/bug-reports/4965-slice2cpp-output-does-not-compile-standards-conformant-compiler.html
if {${configure.compiler} == "clang"} {
- configure.compiler llvm-gcc-4.2
+ configure.compiler llvm-gcc-4.2
}
build {
- set jobsargs ""
- if {${build.jobs} > 1} {
- set jobsargs " -j${build.jobs}"
- }
- set cmd "cd ${workpath}/Ice-${version}/cpp && make${jobsargs} prefix='${prefix}' embedded_runpath_prefix='${prefix}' CC='${configure.cc}' CXX='${configure.cxx}' OPTIMIZE='yes' BZIP2_HOME='${prefix}' DB_HOME='${prefix}' EXPAT_HOME='${prefix}' OPENSSL_HOME='${prefix}' READLINE_HOME='${prefix}' USE_READLINE=yes MCPP_HOME='${prefix}' LDPLATFORMFLAGS= all && cd doc && make${jobsargs}"
- ui_debug ${cmd}
- system ${cmd}
+ set jobsargs ""
+ if {${build.jobs} > 1} {
+ set jobsargs " -j${build.jobs}"
+ }
+ set cmd "cd ${workpath}/Ice-${version}/cpp && make${jobsargs} prefix='${prefix}' embedded_runpath_prefix='${prefix}' CC='${configure.cc}' CXX='${configure.cxx}' OPTIMIZE='yes' BZIP2_HOME='${prefix}' DB_HOME='${prefix}' EXPAT_HOME='${prefix}' OPENSSL_HOME='${prefix}' READLINE_HOME='${prefix}' USE_READLINE=yes MCPP_HOME='${prefix}' LDPLATFORMFLAGS= all && cd doc && make${jobsargs}"
+ ui_debug ${cmd}
+ system ${cmd}
}
test.dir ${worksrcpath}/cpp
@@ -144,27 +144,27 @@
install
post-destroot {
- set cppdir ${workpath}/Ice-${version}/cpp
- set sharedir ${destroot}${prefix}/share
- set docdir ${sharedir}/doc/${name}
+ set cppdir ${workpath}/Ice-${version}/cpp
+ set sharedir ${destroot}${prefix}/share
+ set docdir ${sharedir}/doc/${name}
- xinstall -m 755 -d ${sharedir}/ice
- file rename ${destroot}${prefix}/config ${sharedir}/ice
- file rename ${destroot}${prefix}/slice ${sharedir}/slice
+ xinstall -m 755 -d ${sharedir}/ice
+ file rename ${destroot}${prefix}/config ${sharedir}/ice
+ file rename ${destroot}${prefix}/slice ${sharedir}/slice
- xinstall -m 755 -d ${docdir}
- file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
- file rename ${destroot}${prefix}/LICENSE ${docdir}
- file copy ${cppdir}/doc/reference ${docdir}
+ xinstall -m 755 -d ${docdir}
+ file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
+ file rename ${destroot}${prefix}/LICENSE ${docdir}
+ file copy ${cppdir}/doc/reference ${docdir}
- foreach f {CHANGES RELEASE_NOTES} {
- file copy ${workpath}/Ice-${version}/${f} ${docdir}
- }
+ foreach f {CHANGES RELEASE_NOTES} {
+ file copy ${workpath}/Ice-${version}/${f} ${docdir}
+ }
- if {[variant_isset demo_source_code]} {
- system "cd ${cppdir}/demo && make clean"
- file copy ${cppdir}/demo $docdir
- }
+ if {[variant_isset demo_source_code]} {
+ system "cd ${cppdir}/demo && make clean"
+ file copy ${cppdir}/demo $docdir
+ }
}
variant demo_source_code description {Install demonstration C++ code} {
Modified: trunk/dports/devel/ice33-java/Portfile
===================================================================
--- trunk/dports/devel/ice33-java/Portfile 2012-07-13 18:52:15 UTC (rev 95465)
+++ trunk/dports/devel/ice33-java/Portfile 2012-07-13 18:58:20 UTC (rev 95466)
@@ -11,23 +11,23 @@
description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
long_description \
- The Internet Communications Engine (Ice) is a modern alternative to \
- object middleware such as CORBA or COM/DCOM/COM+, with support for \
- C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
- Ice consists of the following packages. \
- Slice: The Specification Language for Ice. Slice establishes a \
- contract between clients and servers, and is also used to describe \
- persistent data. \
- Slice Compilers: Slice specifications are compiled into various \
- programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
- Python and Ruby. Ice clients and servers work together, regardless \
- of the programming language. \
- Ice: The Ice core library manages all the communication tasks using a \
- highly efficient protocol (including protocol compression and support \
- for both TCP and UDP), provides a flexible thread pool for \
- multi-threaded servers. \
- This Port provides the Java runtime and bindings. \
- You must install the db46 port with the +java variant.
+ The Internet Communications Engine (Ice) is a modern alternative to \
+ object middleware such as CORBA or COM/DCOM/COM+, with support for \
+ C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
+ Ice consists of the following packages. \
+ Slice: The Specification Language for Ice. Slice establishes a \
+ contract between clients and servers, and is also used to describe \
+ persistent data. \
+ Slice Compilers: Slice specifications are compiled into various \
+ programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
+ Python and Ruby. Ice clients and servers work together, regardless \
+ of the programming language. \
+ Ice: The Ice core library manages all the communication tasks using a \
+ highly efficient protocol (including protocol compression and support \
+ for both TCP and UDP), provides a flexible thread pool for \
+ multi-threaded servers. \
+ This Port provides the Java runtime and bindings. \
+ You must install the db46 port with the +java variant.
homepage http://www.zeroc.com/
master_sites ${homepage}download/Ice/3.3/
@@ -35,9 +35,9 @@
distname Ice-${version}
distfiles ${distname}${extract.suffix}
checksums Ice-${version}.tar.gz \
- md5 1f37dfcec4662fcde030553fb447d064 \
- sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
- rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
+ md5 1f37dfcec4662fcde030553fb447d064 \
+ sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
+ rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
platforms darwin
depends_lib port:db46 \
@@ -63,26 +63,26 @@
test.target allTests.py
destroot {
- set ice-java ${workpath}/Ice-${version}/java
- set javadir ${destroot}${prefix}/share/java
- set docdir ${destroot}${prefix}/share/doc/${name}
+ set ice-java ${workpath}/Ice-${version}/java
+ set javadir ${destroot}${prefix}/share/java
+ set docdir ${destroot}${prefix}/share/doc/${name}
- xinstall -d -m 755 ${javadir}
- xinstall -d -m 755 ${docdir}
+ xinstall -d -m 755 ${javadir}
+ xinstall -d -m 755 ${docdir}
- foreach f {ant-ice.jar Ice.jar IceGridGUI.jar} {
- file copy ${ice-java}/lib/${f} ${javadir}/
- }
- file copy ${ice-java}/resources/IceGridAdmin ${docdir}/
+ foreach f {ant-ice.jar Ice.jar IceGridGUI.jar} {
+ file copy ${ice-java}/lib/${f} ${javadir}/
+ }
+ file copy ${ice-java}/resources/IceGridAdmin ${docdir}/
- foreach f {CHANGES ICE_LICENSE LICENSE RELEASE_NOTES} {
- file copy ${worksrcpath}/${f} ${docdir}
- }
- file copy ${worksrcpath}/java/INSTALL ${docdir}
+ foreach f {CHANGES ICE_LICENSE LICENSE RELEASE_NOTES} {
+ file copy ${worksrcpath}/${f} ${docdir}
+ }
+ file copy ${worksrcpath}/java/INSTALL ${docdir}
- if {[variant_isset demo_source_code]} {
- file copy ${ice-java}/demo ${docdir}/
- }
+ if {[variant_isset demo_source_code]} {
+ file copy ${ice-java}/demo ${docdir}/
+ }
}
variant demo_source_code description {Install demonstration Java code} {
Modified: trunk/dports/devel/ice33-python25/Portfile
===================================================================
--- trunk/dports/devel/ice33-python25/Portfile 2012-07-13 18:52:15 UTC (rev 95465)
+++ trunk/dports/devel/ice33-python25/Portfile 2012-07-13 18:58:20 UTC (rev 95466)
@@ -11,23 +11,23 @@
description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
long_description \
- The Internet Communications Engine (Ice) is a modern alternative to \
- object middleware such as CORBA or COM/DCOM/COM+, with support for \
- C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
- Ice consists of the following packages. \
- Slice: The Specification Language for Ice. Slice establishes a \
- contract between clients and servers, and is also used to describe \
- persistent data. \
- Slice Compilers: Slice specifications are compiled into various \
- programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
- Python and Ruby. Ice clients and servers work together, regardless \
- of the programming language. \
- Ice: The Ice core library manages all the communication tasks using a \
- highly efficient protocol (including protocol compression and support \
- for both TCP and UDP), provides a flexible thread pool for \
- multi-threaded servers. \
- This Port provides the Python bindings that sit on top of the C++ \
- Ice C++ runtime libraries.
+ The Internet Communications Engine (Ice) is a modern alternative to \
+ object middleware such as CORBA or COM/DCOM/COM+, with support for \
+ C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
+ Ice consists of the following packages. \
+ Slice: The Specification Language for Ice. Slice establishes a \
+ contract between clients and servers, and is also used to describe \
+ persistent data. \
+ Slice Compilers: Slice specifications are compiled into various \
+ programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
+ Python and Ruby. Ice clients and servers work together, regardless \
+ of the programming language. \
+ Ice: The Ice core library manages all the communication tasks using a \
+ highly efficient protocol (including protocol compression and support \
+ for both TCP and UDP), provides a flexible thread pool for \
+ multi-threaded servers. \
+ This Port provides the Python bindings that sit on top of the C++ \
+ Ice C++ runtime libraries.
homepage http://www.zeroc.com/
master_sites ${homepage}download/Ice/3.3/
@@ -37,24 +37,24 @@
patchfiles patch-py.config.Make.rules.Darwin.diff \
patch-scripts.TestUtil.py.diff
checksums Ice-${version}.tar.gz \
- md5 1f37dfcec4662fcde030553fb447d064 \
- sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
- rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
+ md5 1f37dfcec4662fcde030553fb447d064 \
+ sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
+ rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
platforms darwin
depends_lib port:python25 \
port:ice33-cpp
post-patch {
- reinplace "s/-O2/-g -O2/" \
- ${workpath}/Ice-${version}/py/config/Make.rules.Darwin
+ reinplace "s/-O2/-g -O2/" \
+ ${workpath}/Ice-${version}/py/config/Make.rules.Darwin
- # Prevent name conflicts between libICE.* from xorg-libice and
- # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
- reinplace "s/-lIce /-lZeroCIce /" \
- ${workpath}/Ice-${version}/py/config/Make.rules
- reinplace "s/-lIce /-lZeroCIce /" \
- ${workpath}/Ice-${version}/py/config/Make.rules.Darwin
+ # Prevent name conflicts between libICE.* from xorg-libice and
+ # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
+ reinplace "s/-lIce /-lZeroCIce /" \
+ ${workpath}/Ice-${version}/py/config/Make.rules
+ reinplace "s/-lIce /-lZeroCIce /" \
+ ${workpath}/Ice-${version}/py/config/Make.rules.Darwin
}
use_configure no
@@ -86,38 +86,38 @@
install
post-destroot {
- set sharedir ${destroot}${prefix}/share
- set docdir ${sharedir}/doc/${name}
+ set sharedir ${destroot}${prefix}/share
+ set docdir ${sharedir}/doc/${name}
- delete ${destroot}${prefix}/slice
+ delete ${destroot}${prefix}/slice
- xinstall -m 755 -d ${docdir}
+ xinstall -m 755 -d ${docdir}
- file mkdir ${destroot}${prefix}/lib/python2.5
- file rename ${destroot}${prefix}/python ${destroot}${prefix}/lib/python2.5/site-packages
+ file mkdir ${destroot}${prefix}/lib/python2.5
+ file rename ${destroot}${prefix}/python ${destroot}${prefix}/lib/python2.5/site-packages
- set cmd "${prefix}/bin/python2.5 \
- ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/compileall.py \
- ${destroot}${prefix}/lib/python2.5/site-packages"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "${prefix}/bin/python2.5 \
+ ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/compileall.py \
+ ${destroot}${prefix}/lib/python2.5/site-packages"
+ ui_debug ${cmd}
+ system ${cmd}
- set cmd "${prefix}/bin/python2.5 -O \
- ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/compileall.py \
- ${destroot}${prefix}/lib/python2.5/site-packages"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "${prefix}/bin/python2.5 -O \
+ ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/compileall.py \
+ ${destroot}${prefix}/lib/python2.5/site-packages"
+ ui_debug ${cmd}
+ system ${cmd}
- file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
- file rename ${destroot}${prefix}/LICENSE ${docdir}
- foreach f {CHANGES RELEASE_NOTES} {
- file copy ${worksrcpath}/${f} ${docdir}
- }
- file copy ${worksrcpath}/py/INSTALL ${docdir}
+ file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
+ file rename ${destroot}${prefix}/LICENSE ${docdir}
+ foreach f {CHANGES RELEASE_NOTES} {
+ file copy ${worksrcpath}/${f} ${docdir}
+ }
+ file copy ${worksrcpath}/py/INSTALL ${docdir}
- if {[variant_isset demo_source_code]} {
- file copy ${worksrcpath}/py/demo ${docdir}
- }
+ if {[variant_isset demo_source_code]} {
+ file copy ${worksrcpath}/py/demo ${docdir}
+ }
}
variant demo_source_code description {Install demonstration Python code} {
Modified: trunk/dports/devel/ice33-python26/Portfile
===================================================================
--- trunk/dports/devel/ice33-python26/Portfile 2012-07-13 18:52:15 UTC (rev 95465)
+++ trunk/dports/devel/ice33-python26/Portfile 2012-07-13 18:58:20 UTC (rev 95466)
@@ -11,23 +11,23 @@
description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
long_description \
- The Internet Communications Engine (Ice) is a modern alternative to \
- object middleware such as CORBA or COM/DCOM/COM+, with support for \
- C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
- Ice consists of the following packages. \
- Slice: The Specification Language for Ice. Slice establishes a \
- contract between clients and servers, and is also used to describe \
- persistent data. \
- Slice Compilers: Slice specifications are compiled into various \
- programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
- Python and Ruby. Ice clients and servers work together, regardless \
- of the programming language. \
- Ice: The Ice core library manages all the communication tasks using a \
- highly efficient protocol (including protocol compression and support \
- for both TCP and UDP), provides a flexible thread pool for \
- multi-threaded servers. \
- This Port provides the Python bindings that sit on top of the C++ \
- Ice C++ runtime libraries.
+ The Internet Communications Engine (Ice) is a modern alternative to \
+ object middleware such as CORBA or COM/DCOM/COM+, with support for \
+ C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
+ Ice consists of the following packages. \
+ Slice: The Specification Language for Ice. Slice establishes a \
+ contract between clients and servers, and is also used to describe \
+ persistent data. \
+ Slice Compilers: Slice specifications are compiled into various \
+ programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
+ Python and Ruby. Ice clients and servers work together, regardless \
+ of the programming language. \
+ Ice: The Ice core library manages all the communication tasks using a \
+ highly efficient protocol (including protocol compression and support \
+ for both TCP and UDP), provides a flexible thread pool for \
+ multi-threaded servers. \
+ This Port provides the Python bindings that sit on top of the C++ \
+ Ice C++ runtime libraries.
homepage http://www.zeroc.com/
master_sites ${homepage}download/Ice/3.3/
@@ -37,24 +37,24 @@
patchfiles patch-py.config.Make.rules.Darwin.diff \
patch-scripts.TestUtil.py.diff
checksums Ice-${version}.tar.gz \
- md5 1f37dfcec4662fcde030553fb447d064 \
- sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
- rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
+ md5 1f37dfcec4662fcde030553fb447d064 \
+ sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
+ rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
platforms darwin
depends_lib port:python26 \
port:ice33-cpp
post-patch {
- reinplace "s/-O2/-g -O2/" \
- ${workpath}/Ice-${version}/py/config/Make.rules.Darwin
+ reinplace "s/-O2/-g -O2/" \
+ ${workpath}/Ice-${version}/py/config/Make.rules.Darwin
- # Prevent name conflicts between libICE.* from xorg-libice and
- # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
- reinplace "s/-lIce /-lZeroCIce /" \
- ${workpath}/Ice-${version}/py/config/Make.rules
- reinplace "s/-lIce /-lZeroCIce /" \
- ${workpath}/Ice-${version}/py/config/Make.rules.Darwin
+ # Prevent name conflicts between libICE.* from xorg-libice and
+ # libIce.* from this port by renaming libIce.* to libZeroCIce.*.
+ reinplace "s/-lIce /-lZeroCIce /" \
+ ${workpath}/Ice-${version}/py/config/Make.rules
+ reinplace "s/-lIce /-lZeroCIce /" \
+ ${workpath}/Ice-${version}/py/config/Make.rules.Darwin
}
use_configure no
@@ -86,42 +86,42 @@
install
post-destroot {
- set sharedir ${destroot}${prefix}/share
- set docdir ${sharedir}/doc/${name}
+ set sharedir ${destroot}${prefix}/share
+ set docdir ${sharedir}/doc/${name}
- set python_root ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6
- set python26_dir ${python_root}/lib/python2.6
- set site_packages_dir ${python26_dir}/site-packages
+ set python_root ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6
+ set python26_dir ${python_root}/lib/python2.6
+ set site_packages_dir ${python26_dir}/site-packages
- delete ${destroot}${prefix}/slice
+ delete ${destroot}${prefix}/slice
- xinstall -m 755 -d ${docdir}
+ xinstall -m 755 -d ${docdir}
- file mkdir ${python26_dir}
- file rename ${destroot}${prefix}/python ${site_packages_dir}
+ file mkdir ${python26_dir}
+ file rename ${destroot}${prefix}/python ${site_packages_dir}
- set cmd "${prefix}/bin/python2.6 \
- ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py \
- ${site_packages_dir}"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "${prefix}/bin/python2.6 \
+ ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py \
+ ${site_packages_dir}"
+ ui_debug ${cmd}
+ system ${cmd}
- set cmd "${prefix}/bin/python2.6 -O \
- ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py \
- ${site_packages_dir}"
- ui_debug ${cmd}
- system ${cmd}
+ set cmd "${prefix}/bin/python2.6 -O \
+ ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py \
+ ${site_packages_dir}"
+ ui_debug ${cmd}
+ system ${cmd}
- file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
- file rename ${destroot}${prefix}/LICENSE ${docdir}
- foreach f {CHANGES RELEASE_NOTES} {
- file copy ${worksrcpath}/${f} ${docdir}
- }
- file copy ${worksrcpath}/py/INSTALL ${docdir}
+ file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
+ file rename ${destroot}${prefix}/LICENSE ${docdir}
+ foreach f {CHANGES RELEASE_NOTES} {
+ file copy ${worksrcpath}/${f} ${docdir}
+ }
+ file copy ${worksrcpath}/py/INSTALL ${docdir}
- if {[variant_isset demo_source_code]} {
- file copy ${worksrcpath}/py/demo ${docdir}
- }
+ if {[variant_isset demo_source_code]} {
+ file copy ${worksrcpath}/py/demo ${docdir}
+ }
}
variant demo_source_code description {Install demonstration Python code} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120713/88f50f6e/attachment-0001.html>
More information about the macports-changes
mailing list