Ignore:
Timestamp:
Sep 27, 2008, 8:45:01 AM (11 years ago)
Author:
ryandesign@…
Message:

ZopeEditManager:

  • update to 0.9.6 and switch to python24, see #5798
  • support ${applications_dir}
Location:
trunk/dports/aqua/ZopeEditManager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/ZopeEditManager/Portfile

    r40252 r40253  
    33
    44name                    ZopeEditManager
    5 version                 0.9.5
     5version                 0.9.6
    66categories              aqua zope www python
    77maintainers             nomaintainer
     
    1010homepage                http://www.urbanape.com/software
    1111master_sites    http://www.urbanape.com/downloads/
    12 distfiles               ${name}-${version}-src${extract.suffix}
    13 checksums               md5 86e931428abbf71fb02efe0b2f50c150
     12distname                ${name}-${version}-src
     13extract.suffix .tgz
     14checksums               md5 d42fb947d090db9fe459e8cd9e25153f \
     15                        sha1 63cfb2154f6560d0fbbfc63178dcac1a4d857ed1
    1416platforms               darwin
    1517
    16 # Use Python 2.3 from MacPorts explicitly
    17 set python              ${prefix}/bin/python2.3
    18 set pythonlib   ${prefix}/lib/python2.3
     18# Use Python 2.4 from MacPorts explicitly
     19set python              ${prefix}/bin/python2.4
     20set pythonlib   ${prefix}/lib/python2.4
    1921
    2022# Depends on Python, Py-Objc, and Py2App for building ONLY
    21 depends_build   path:${python}:python23 \
     23depends_build   path:${python}:python24 \
    2224                                path:${pythonlib}/site-packages/PyObjC:py-pyobjc \
    2325                                path:${pythonlib}/site-packages/py2app:py-py2app
     
    3133build.target   
    3234
     35# Can be removed once MacPorts 1.7.0 is released
     36if {![info exists applications_dir]} {
     37    set applications_dir /Applications/MacPorts
     38}
     39
    3340destroot {
    34         set appPath ${destroot}/Applications/MacPorts
    35         xinstall -d -m 0755 ${appPath}
    36         system "cp -R ${worksrcpath}/dist/${name}.app ${appPath}/${name}.app"
    37         set helpPath ${appPath}/${name}.app/Contents/Resources/English.lproj/${name}Help
     41        xinstall -d -m 0755 ${destroot}${applications_dir}
     42        system "cp -R ${worksrcpath}/dist/${name}.app ${destroot}${applications_dir}/${name}.app"
     43        set helpPath ${destroot}${applications_dir}/${name}.app/Contents/Resources/English.lproj/${name}Help
    3844        xinstall -d -m 0755 ${helpPath}
    3945        xinstall -m 0644 -W ${worksrcpath} Readme.txt Readme.html ${helpPath}
  • trunk/dports/aqua/ZopeEditManager/files/patch-setup.py.diff

    r32843 r40253  
    1 --- setup.py.orig       Tue Oct 12 15:04:14 2004
    2 +++ setup.py    Tue Oct 12 17:35:26 2004
     1--- setup.py.orig       2005-06-22 03:31:11.000000000 +1000
     2+++ setup.py    2008-03-23 22:06:59.000000000 +1100
    33@@ -4,8 +4,8 @@
    44 plist = dict(
    5      CFBundleExecutable = "ZopeEditManager",
     5     CFBundleName = "ZopeEditManager",
    66     CFBundleIdentifier = "com.urbanape.zopeeditmanager",
    7 -    CFBundleShortVersionString = "Version 0.9.5",
    8 -    CFBundleGetInfoString = ("ZopeEditManager version 0.9.5, "
     7-    CFBundleShortVersionString = "Version 0.9.6",
     8-    CFBundleGetInfoString = ("ZopeEditManager version 0.9.6, "
    99+    CFBundleShortVersionString = "Version @VERSION@",
    1010+    CFBundleGetInfoString = ("ZopeEditManager version @VERSION@, "
    11                               "Copyright 2003 Zope Corporation"),
    12      NSHumanReadableCopyright = "Copyright 2003 Zope Corporation",
     11                              "Copyright 2003-2005 Zope Corporation"),
     12     NSHumanReadableCopyright = "Copyright 2003-2005 Zope Corporation",
    1313     CFBundleIconFile = "ZEM.icns",
    1414@@ -16,6 +16,8 @@
Note: See TracChangeset for help on using the changeset viewer.