[94756] trunk/dports/devel

blair at macports.org blair at macports.org
Thu Jun 28 19:58:44 PDT 2012


Revision: 94756
          https://trac.macports.org/changeset/94756
Author:   blair at macports.org
Date:     2012-06-28 19:58:43 -0700 (Thu, 28 Jun 2012)
Log Message:
-----------
ice33-{java,python2{5,6}}: replace tabs with spaces.

Modified Paths:
--------------
    trunk/dports/devel/ice33-java/Portfile
    trunk/dports/devel/ice33-python25/Portfile
    trunk/dports/devel/ice33-python26/Portfile

Modified: trunk/dports/devel/ice33-java/Portfile
===================================================================
--- trunk/dports/devel/ice33-java/Portfile	2012-06-29 02:47:10 UTC (rev 94755)
+++ trunk/dports/devel/ice33-java/Portfile	2012-06-29 02:58:43 UTC (rev 94756)
@@ -2,86 +2,86 @@
 
 PortSystem 1.0
 
-name		ice33-java
-version		3.3.1
-categories	devel java
-maintainers	blair
-description	Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
-conflicts	ice33-java
+name            ice33-java
+version         3.3.1
+categories      devel java
+maintainers     blair
+description     Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
+conflicts       ice33-java
 
 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/
-dist_subdir	ice-cpp
-distname	Ice-${version}
-distfiles	${distname}${extract.suffix}
-checksums	Ice-${version}.tar.gz \
-			md5 1f37dfcec4662fcde030553fb447d064 \
-			sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
-			rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
-platforms	darwin
+homepage        http://www.zeroc.com/
+master_sites    ${homepage}download/Ice/3.3/
+dist_subdir     ice-cpp
+distname        Ice-${version}
+distfiles       ${distname}${extract.suffix}
+checksums       Ice-${version}.tar.gz \
+                        md5 1f37dfcec4662fcde030553fb447d064 \
+                        sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
+                        rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
+platforms       darwin
 
-depends_lib	port:db46 \
-		port:ice33-cpp
-depends_build	port:apache-ant \
-		port:jgoodies-forms \
-		port:jgoodies-looks \
-		port:proguard
+depends_lib     port:db46 \
+                port:ice33-cpp
+depends_build   port:apache-ant \
+                port:jgoodies-forms \
+                port:jgoodies-looks \
+                port:proguard
 
-use_configure	no
+use_configure   no
 
 set classpath ${prefix}/lib/db46/db.jar:${prefix}/share/java/forms.jar:${prefix}/share/java/looks.jar:${prefix}/share/java/proguard.jar
 
-build.dir	${worksrcpath}/java
-build.env	JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home CLASSPATH=${classpath} ICE_HOME=${prefix}
-build.cmd	ant
-build.target	clean all
+build.dir       ${worksrcpath}/java
+build.env       JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home CLASSPATH=${classpath} ICE_HOME=${prefix}
+build.cmd       ant
+build.target    clean all
 
-test.run	yes
-test.dir	${worksrcpath}/java
-test.env	JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home CLASSPATH=${classpath} ICE_HOME=${prefix} DYLD_LIBRARY_PATH=${prefix}/lib/db46
-test.cmd	python
-test.target	allTests.py
+test.run        yes
+test.dir        ${worksrcpath}/java
+test.env        JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home CLASSPATH=${classpath} ICE_HOME=${prefix} DYLD_LIBRARY_PATH=${prefix}/lib/db46
+test.cmd        python
+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-06-29 02:47:10 UTC (rev 94755)
+++ trunk/dports/devel/ice33-python25/Portfile	2012-06-29 02:58:43 UTC (rev 94756)
@@ -2,121 +2,121 @@
 
 PortSystem 1.0
 
-name		ice33-python25
-version		3.3.1
-categories	devel python
-maintainers	blair
-description	Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
-conflicts	ice-python25
+name            ice33-python25
+version         3.3.1
+categories      devel python
+maintainers     blair
+description     Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
+conflicts       ice-python25
 
 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/
-dist_subdir	ice-cpp
-distname	Ice-${version}
-distfiles	${distname}${extract.suffix}
-patchfiles	patch-py.config.Make.rules.Darwin.diff \
-		patch-scripts.TestUtil.py.diff
-checksums	Ice-${version}.tar.gz \
-			md5 1f37dfcec4662fcde030553fb447d064 \
-			sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
-			rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
-platforms	darwin
+homepage        http://www.zeroc.com/
+master_sites    ${homepage}download/Ice/3.3/
+dist_subdir     ice-cpp
+distname        Ice-${version}
+distfiles       ${distname}${extract.suffix}
+patchfiles      patch-py.config.Make.rules.Darwin.diff \
+                patch-scripts.TestUtil.py.diff
+checksums       Ice-${version}.tar.gz \
+                        md5 1f37dfcec4662fcde030553fb447d064 \
+                        sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
+                        rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
+platforms       darwin
 
-depends_lib	port:python25 \
-		port:ice33-cpp
+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
+use_configure   no
 
-build.dir	${worksrcpath}/py
-build.target	prefix="${prefix}" \
-		CC="${configure.cc}" \
-		CXX="${configure.cxx}" \
-		ICE_HOME="${prefix}" \
-		PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.5" \
-		PYTHON_VERSION=python2.5 \
-		OPTIMIZE="yes" \
-		all
+build.dir       ${worksrcpath}/py
+build.target    prefix="${prefix}" \
+                CC="${configure.cc}" \
+                CXX="${configure.cxx}" \
+                ICE_HOME="${prefix}" \
+                PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.5" \
+                PYTHON_VERSION=python2.5 \
+                OPTIMIZE="yes" \
+                all
 
-test.run	yes
-test.dir	${worksrcpath}/py
-test.env	ICE_HOME=${prefix}
-test.cmd	${prefix}/bin/python2.5
-test.target	allTests.py
+test.run        yes
+test.dir        ${worksrcpath}/py
+test.env        ICE_HOME=${prefix}
+test.cmd        ${prefix}/bin/python2.5
+test.target     allTests.py
 
-destroot.dir	${worksrcpath}/py
-destroot.target	prefix="${destroot}${prefix}" \
-		CC="${configure.cc}" \
-		CXX="${configure.cxx}" \
-		ICE_HOME="${prefix}" \
-		PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.5" \
-		PYTHON_VERSION=python2.5 \
-		OPTIMIZE="yes" \
-		install
+destroot.dir    ${worksrcpath}/py
+destroot.target prefix="${destroot}${prefix}" \
+                CC="${configure.cc}" \
+                CXX="${configure.cxx}" \
+                ICE_HOME="${prefix}" \
+                PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.5" \
+                PYTHON_VERSION=python2.5 \
+                OPTIMIZE="yes" \
+                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-06-29 02:47:10 UTC (rev 94755)
+++ trunk/dports/devel/ice33-python26/Portfile	2012-06-29 02:58:43 UTC (rev 94756)
@@ -2,125 +2,125 @@
 
 PortSystem 1.0
 
-name		ice33-python26
-version		3.3.1
-categories	devel python
-maintainers	blair
-description	Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
-conflicts	ice-python26
+name            ice33-python26
+version         3.3.1
+categories      devel python
+maintainers     blair
+description     Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
+conflicts       ice-python26
 
 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/
-dist_subdir	ice-cpp
-distname	Ice-${version}
-distfiles	${distname}${extract.suffix}
-patchfiles	patch-py.config.Make.rules.Darwin.diff \
-		patch-scripts.TestUtil.py.diff
-checksums	Ice-${version}.tar.gz \
-			md5 1f37dfcec4662fcde030553fb447d064 \
-			sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
-			rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
-platforms	darwin
+homepage        http://www.zeroc.com/
+master_sites    ${homepage}download/Ice/3.3/
+dist_subdir     ice-cpp
+distname        Ice-${version}
+distfiles       ${distname}${extract.suffix}
+patchfiles      patch-py.config.Make.rules.Darwin.diff \
+                patch-scripts.TestUtil.py.diff
+checksums       Ice-${version}.tar.gz \
+                        md5 1f37dfcec4662fcde030553fb447d064 \
+                        sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
+                        rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
+platforms       darwin
 
-depends_lib	port:python26 \
-		port:ice33-cpp
+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
+use_configure   no
 
-build.dir	${worksrcpath}/py
-build.target	prefix="${prefix}" \
-		CC="${configure.cc}" \
-		CXX="${configure.cxx}" \
-		ICE_HOME="${prefix}" \
-		PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.6" \
-		PYTHON_VERSION=python2.6 \
-		OPTIMIZE="yes" \
-		all
+build.dir       ${worksrcpath}/py
+build.target    prefix="${prefix}" \
+                CC="${configure.cc}" \
+                CXX="${configure.cxx}" \
+                ICE_HOME="${prefix}" \
+                PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.6" \
+                PYTHON_VERSION=python2.6 \
+                OPTIMIZE="yes" \
+                all
 
-test.run	yes
-test.dir	${worksrcpath}/py
-test.env	ICE_HOME=${prefix}
-test.cmd	${prefix}/bin/python2.6
-test.target	allTests.py
+test.run        yes
+test.dir        ${worksrcpath}/py
+test.env        ICE_HOME=${prefix}
+test.cmd        ${prefix}/bin/python2.6
+test.target     allTests.py
 
-destroot.dir	${worksrcpath}/py
-destroot.target	prefix="${destroot}${prefix}" \
-		CC="${configure.cc}" \
-		CXX="${configure.cxx}" \
-		ICE_HOME="${prefix}" \
-		PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.6" \
-		PYTHON_VERSION=python2.6 \
-		OPTIMIZE="yes" \
-		install
+destroot.dir    ${worksrcpath}/py
+destroot.target prefix="${destroot}${prefix}" \
+                CC="${configure.cc}" \
+                CXX="${configure.cxx}" \
+                ICE_HOME="${prefix}" \
+                PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.6" \
+                PYTHON_VERSION=python2.6 \
+                OPTIMIZE="yes" \
+                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/20120628/83a7f02a/attachment-0001.html>


More information about the macports-changes mailing list