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

Last change on this file since 5728 was 5728, checked in by rshaw, 16 years ago

Fixed to be able to access help information from the Help menu of the App.
Corrected version info to match release version and revision.
Added missing creator code.
Portfile cleanup.
Revision bump.

Submitted by: rshaw

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.3 2004/03/05 07:44:09 rshaw Exp $
2PortSystem 1.0
3
4name                    ZopeEditManager
5version                 0.9.3
6revision                1
7categories              aqua zope www python
8maintainers             rshaw@opendarwin.org
9description             Zope Edit Manager for External Editing support on Mac OS X
10long_description        ${description}
11homepage                http://zope.org/Members/urbanape/${name}/
12master_sites    ${homepage}/${name}%20${version}
13dist_subdir             zope/${name}
14distname                ${name}-src-${version}
15distfiles               ${name}-${version}-src${extract.suffix}
16checksums               md5 1fbff1fe16d104a3f17de5ef8cbb30ca
17platforms               darwin
18
19# Use Python 2.3 from DarwinPorts explicitly
20set python              ${prefix}/bin/python2.3
21set pythonlib   ${prefix}/lib/python2.3
22
23# Depends on Python and Py-Objc
24depends_build   path:${python}:python23
25depends_run             path:${pythonlib}/site-packages/PyObjC:py-objc
26
27patchfiles              patch-buildapp.py \
28                                patch-Readme.html
29post-patch {
30        cd ${worksrcpath}
31        reinplace "s|@VERSION@|${version}-${revision}|" buildapp.py
32        file rename Docs Resources/English.lproj/ZopeEditManagerHelp
33}
34
35use_configure   no
36
37build.cmd               ${python} buildapp.py
38build.target   
39build.args              --verbose \
40                                --python=${python} \
41                                --builddir=${worksrcpath} build
42
43destroot {
44        set appPath ${destroot}/Applications/DarwinPorts
45        cd ${worksrcpath}
46        xinstall -d -m 0755 ${appPath}
47        system "cp -R ${name}.app ${appPath}/${name}.app"
48}
49
Note: See TracBrowser for help on using the repository browser.