[96783] trunk/dports/devel/ice-python25

blair at macports.org blair at macports.org
Sun Aug 19 00:22:59 PDT 2012


Revision: 96783
          https://trac.macports.org/changeset/96783
Author:   blair at macports.org
Date:     2012-08-19 00:22:59 -0700 (Sun, 19 Aug 2012)
Log Message:
-----------
ice-python25: replaced_by py25-zeroc-ice.

Modified Paths:
--------------
    trunk/dports/devel/ice-python25/Portfile

Removed Paths:
-------------
    trunk/dports/devel/ice-python25/files/

Modified: trunk/dports/devel/ice-python25/Portfile
===================================================================
--- trunk/dports/devel/ice-python25/Portfile	2012-08-19 07:21:58 UTC (rev 96782)
+++ trunk/dports/devel/ice-python25/Portfile	2012-08-19 07:22:59 UTC (rev 96783)
@@ -4,8 +4,8 @@
 
 name            ice-python25
 version         3.4.2
-revision        1
-set branch      [join [lrange [split ${version} .] 0 1] .]
+revision        2
+replaced_by     py25-zeroc-ice
 categories      devel python
 maintainers     blair
 license         GPL-2
@@ -31,89 +31,10 @@
     Ice C++ runtime libraries.
 
 homepage        http://www.zeroc.com/
-master_sites    ${homepage}download/Ice/${branch}/
-dist_subdir     ice-cpp
-distname        Ice-${version}
-checksums       md5 e97672eb4a63c6b8dd202d0773e19dc7 \
-                sha1 8c84d6e3b227f583d05e08251e07047e6c3a6b42 \
-                rmd160 7ce680a4eb5fa9d0bb6f8b8910e267dfc2373d75
-patchfiles      patch-py.config.Make.rules.Darwin.diff
 platforms       darwin
+distfiles
 
-depends_lib     port:python25 \
-                port:ice-cpp
-
-build.dir       ${worksrcpath}/py
-
-post-patch {
-    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 \
-        ${build.dir}/config/Make.rules.Darwin
+pre-configure {
+    ui_error "Please install py25-zeroc-ice instead."
+    return -code error "obsolete port"
 }
-
-use_configure   no
-
-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.env        ICE_HOME=${prefix}
-test.cmd        ${prefix}/bin/python2.5
-test.target     allTests.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}
-
-    delete ${destroot}${prefix}/slice
-
-    xinstall -m 755 -d ${docdir}
-
-    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 -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}
-
-    if {[variant_isset demo_source_code]} {
-        file copy ${build.dir}/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/20120819/24e665f6/attachment.html>


More information about the macports-changes mailing list