source: trunk/dports/aqua/ZopeEditManager/Portfile @ 40252

Last change on this file since 40252 was 40252, checked in by ryandesign@…, 9 years ago

ZopeEditManager: fix destroot following change made in r32842

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 40252 2008-09-27 08:37:22Z ryandesign@macports.org $
2PortSystem              1.0
3
4name                    ZopeEditManager
5version                 0.9.5
6categories              aqua zope www python
7maintainers             nomaintainer
8description             Zope Edit Manager for External Editing support on Mac OS X
9long_description        ${description}
10homepage                http://www.urbanape.com/software
11master_sites    http://www.urbanape.com/downloads/
12distfiles               ${name}-${version}-src${extract.suffix}
13checksums               md5 86e931428abbf71fb02efe0b2f50c150
14platforms               darwin
15
16# Use Python 2.3 from MacPorts explicitly
17set python              ${prefix}/bin/python2.3
18set pythonlib   ${prefix}/lib/python2.3
19
20# Depends on Python, Py-Objc, and Py2App for building ONLY
21depends_build   path:${python}:python23 \
22                                path:${pythonlib}/site-packages/PyObjC:py-pyobjc \
23                                path:${pythonlib}/site-packages/py2app:py-py2app
24
25patchfiles              patch-Readme.html.diff \
26                                patch-setup.py.diff
27
28use_configure   no
29
30build.cmd               ${python} setup.py py2app
31build.target   
32
33destroot {
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
38        xinstall -d -m 0755 ${helpPath}
39        xinstall -m 0644 -W ${worksrcpath} Readme.txt Readme.html ${helpPath}
40        xinstall -d -m 0755 ${helpPath}/images
41        foreach img [glob -tails -directory ${worksrcpath} images/*] {
42                xinstall -W ${worksrcpath} -m 0644 $img ${helpPath}/$img
43        }
44}
45
Note: See TracBrowser for help on using the repository browser.