[40253] trunk/dports/aqua/ZopeEditManager

ryandesign at macports.org ryandesign at macports.org
Sat Sep 27 01:45:01 PDT 2008


Revision: 40253
          http://trac.macports.org/changeset/40253
Author:   ryandesign at macports.org
Date:     2008-09-27 01:45:01 -0700 (Sat, 27 Sep 2008)
Log Message:
-----------
ZopeEditManager:

 * update to 0.9.6 and switch to python24, see #5798
 * support ${applications_dir}

Modified Paths:
--------------
    trunk/dports/aqua/ZopeEditManager/Portfile
    trunk/dports/aqua/ZopeEditManager/files/patch-setup.py.diff

Modified: trunk/dports/aqua/ZopeEditManager/Portfile
===================================================================
--- trunk/dports/aqua/ZopeEditManager/Portfile	2008-09-27 08:37:22 UTC (rev 40252)
+++ trunk/dports/aqua/ZopeEditManager/Portfile	2008-09-27 08:45:01 UTC (rev 40253)
@@ -2,23 +2,25 @@
 PortSystem		1.0
 
 name			ZopeEditManager
-version			0.9.5
+version			0.9.6
 categories		aqua zope www python
 maintainers		nomaintainer
 description		Zope Edit Manager for External Editing support on Mac OS X
 long_description	${description}
 homepage		http://www.urbanape.com/software
 master_sites	http://www.urbanape.com/downloads/
-distfiles		${name}-${version}-src${extract.suffix}
-checksums		md5 86e931428abbf71fb02efe0b2f50c150
+distname		${name}-${version}-src
+extract.suffix .tgz
+checksums		md5 d42fb947d090db9fe459e8cd9e25153f \
+			sha1 63cfb2154f6560d0fbbfc63178dcac1a4d857ed1
 platforms		darwin
 
-# Use Python 2.3 from MacPorts explicitly
-set python		${prefix}/bin/python2.3
-set pythonlib	${prefix}/lib/python2.3
+# Use Python 2.4 from MacPorts explicitly
+set python		${prefix}/bin/python2.4
+set pythonlib	${prefix}/lib/python2.4
 
 # Depends on Python, Py-Objc, and Py2App for building ONLY
-depends_build	path:${python}:python23 \
+depends_build	path:${python}:python24 \
 				path:${pythonlib}/site-packages/PyObjC:py-pyobjc \
 				path:${pythonlib}/site-packages/py2app:py-py2app
 
@@ -30,11 +32,15 @@
 build.cmd		${python} setup.py py2app
 build.target	
 
+# Can be removed once MacPorts 1.7.0 is released
+if {![info exists applications_dir]} {
+    set applications_dir /Applications/MacPorts
+}
+
 destroot {
-	set appPath ${destroot}/Applications/MacPorts
-	xinstall -d -m 0755 ${appPath}
-	system "cp -R ${worksrcpath}/dist/${name}.app ${appPath}/${name}.app"
-	set helpPath ${appPath}/${name}.app/Contents/Resources/English.lproj/${name}Help
+	xinstall -d -m 0755 ${destroot}${applications_dir}
+	system "cp -R ${worksrcpath}/dist/${name}.app ${destroot}${applications_dir}/${name}.app"
+	set helpPath ${destroot}${applications_dir}/${name}.app/Contents/Resources/English.lproj/${name}Help
 	xinstall -d -m 0755 ${helpPath}
 	xinstall -m 0644 -W ${worksrcpath} Readme.txt Readme.html ${helpPath}
 	xinstall -d -m 0755 ${helpPath}/images

Modified: trunk/dports/aqua/ZopeEditManager/files/patch-setup.py.diff
===================================================================
--- trunk/dports/aqua/ZopeEditManager/files/patch-setup.py.diff	2008-09-27 08:37:22 UTC (rev 40252)
+++ trunk/dports/aqua/ZopeEditManager/files/patch-setup.py.diff	2008-09-27 08:45:01 UTC (rev 40253)
@@ -1,15 +1,15 @@
---- setup.py.orig	Tue Oct 12 15:04:14 2004
-+++ setup.py	Tue Oct 12 17:35:26 2004
+--- setup.py.orig	2005-06-22 03:31:11.000000000 +1000
++++ setup.py	2008-03-23 22:06:59.000000000 +1100
 @@ -4,8 +4,8 @@
  plist = dict(
-     CFBundleExecutable = "ZopeEditManager",
+     CFBundleName = "ZopeEditManager",
      CFBundleIdentifier = "com.urbanape.zopeeditmanager",
--    CFBundleShortVersionString = "Version 0.9.5",
--    CFBundleGetInfoString = ("ZopeEditManager version 0.9.5, "
+-    CFBundleShortVersionString = "Version 0.9.6",
+-    CFBundleGetInfoString = ("ZopeEditManager version 0.9.6, "
 +    CFBundleShortVersionString = "Version @VERSION@",
 +    CFBundleGetInfoString = ("ZopeEditManager version @VERSION@, "
-                              "Copyright 2003 Zope Corporation"),
-     NSHumanReadableCopyright = "Copyright 2003 Zope Corporation",
+                              "Copyright 2003-2005 Zope Corporation"),
+     NSHumanReadableCopyright = "Copyright 2003-2005 Zope Corporation",
      CFBundleIconFile = "ZEM.icns",
 @@ -16,6 +16,8 @@
      NSMainNibFile = "MainMenu",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080927/f44230f4/attachment.html 


More information about the macports-changes mailing list