source: trunk/dports/www/zope-cmf/Portfile @ 4709

Last change on this file since 4709 was 4709, checked in by toby, 17 years ago

Adding $Id$ tags to these ports.

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1# $Id: Portfile,v 1.5 2004/01/15 07:53:05 toby Exp $
2# Zope Content Management Framework Portfile ##################################
3
4PortSystem          1.0
5name                zope-cmf
6version             1.3.3
7categories          www python zope
8maintainers         wbb4@opendarwin.org
9description         The Zope Content Management Framework (CMF)
10platforms           darwin
11homepage            http://cmf.zope.org/
12master_sites        http://cmf.zope.org/download/CMF-${version}/
13distname            CMF-${version}
14checksums           md5 ebe0a33f1cb8c4f61f23f8b84a0b7a5b
15depends_lib         path:${prefix}/www/Zope:zope
16extract.post_args   | gnutar -xf -
17configure           { }
18
19set python          /usr/bin/env\ python2.1
20set zopehome        ${prefix}/www/Zope
21
22pre-build {
23    system          "cp ${zopehome}/inst/compilezpy.py ${worksrcpath}"
24}
25
26build {
27    system          "cd ${worksrcpath} && \
28                    ${python} ${worksrcpath}/compilezpy.py"
29    system          "cd ${worksrcpath} && \
30                    ${python} -O ${worksrcpath}/compilezpy.py"
31}
32
33destroot {
34    set zopebase    ${destroot}${zopehome}
35    set productsdir ${zopebase}/lib/python/Products
36   
37    # Copy CMF* into the Products directory
38    system          "install -d ${productsdir}"
39    system          "cp -R ${worksrcpath}/CMFCalendar ${productsdir}"
40    system          "cp -R ${worksrcpath}/CMFCore ${productsdir}"
41    system          "cp -R ${worksrcpath}/CMFDefault ${productsdir}"
42    system          "cp -R ${worksrcpath}/CMFTopic ${productsdir}"
43   
44    # Install docs
45    system          "install -d ${destroot}${prefix}/share/doc/Zope-CMF"
46    system          "cp -r ${worksrcpath}/docs/* \
47                    ${destroot}${prefix}/share/doc/Zope-CMF"
48}
Note: See TracBrowser for help on using the repository browser.