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

Last change on this file since 19376 was 19376, checked in by yeled@…, 14 years ago

add svn:keywords Id

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 19376 2006-09-02 03:19:06Z yeled@macports.org $
2PortSystem              1.0
3
4name                    ZopeEditManager
5version                 0.9.5
6categories              aqua zope www python
7maintainers             darwinports@opendarwin.org
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 DarwinPorts 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 \
26                                patch-setup.py
27
28use_configure   no
29
30build.cmd               ${python} setup.py py2app
31build.target   
32
33destroot {
34        set appPath ${destroot}/Applications/DarwinPorts
35        cd ${worksrcpath}
36        xinstall -d -m 0755 ${appPath}
37        system "cp -R dist/${name}.app ${appPath}/${name}.app"
38        set helpPath ${appPath}/${name}.app/Contents/Resources/English.lproj/${name}Help
39        xinstall -d -m 0755 ${helpPath}
40        xinstall -m 0644 Readme.txt ${helpPath}/Readme.txt
41        xinstall -m 0644 Readme.html ${helpPath}/Readme.html
42        xinstall -d -m 0755 ${helpPath}/images
43        foreach img [glob images/*] {
44                xinstall -m 0644 $img ${helpPath}/$img
45        }
46}
47
Note: See TracBrowser for help on using the repository browser.