1 | # $Id: Portfile,v 1.11 2003/08/26 04:53:07 rshaw Exp $ |
---|
2 | PortSystem 1.0 |
---|
3 | name zope-plone |
---|
4 | version 1.0.4 |
---|
5 | categories www python zope |
---|
6 | maintainers robert@or.homeip.net |
---|
7 | description A user friendly implementation of the CMF written on top of Zope |
---|
8 | long_description Plone is a user friendly implementation of the \ |
---|
9 | Content Management Framework written on top of \ |
---|
10 | ZOPE. Plone is a GUI/Interface/Implementation \ |
---|
11 | of the CMF. It benefits from all features of \ |
---|
12 | ZOPE/CMF such as: RDBMS integration, Python/Perl \ |
---|
13 | extensions, Object Oriented Database, Web \ |
---|
14 | configurable workflow, pluggable membership and \ |
---|
15 | authentication, Undos, Form validation, amongst \ |
---|
16 | many many other features. |
---|
17 | platforms darwin |
---|
18 | homepage http://www.plone.org/ |
---|
19 | distname CMFPlone-${version} |
---|
20 | distfiles CMFPlone${version}${extract.sufx} |
---|
21 | master_sites sourceforge:plone |
---|
22 | checksums md5 334d1e8a78d44ffe1d78b3b7147c0bcc |
---|
23 | depends_build bin:python2.1:python21 \ |
---|
24 | path:${prefix}/www/Zope:zope |
---|
25 | depends_run path:${prefix}/www/Zope/lib/python/Products/CMFCore:zope-cmf |
---|
26 | configure {} |
---|
27 | |
---|
28 | set python /usr/bin/env\ python2.1 |
---|
29 | set zopehome ${prefix}/www/Zope |
---|
30 | |
---|
31 | pre-build { |
---|
32 | system "cp ${zopehome}/inst/compilezpy.py ${worksrcpath}" |
---|
33 | } |
---|
34 | |
---|
35 | build { |
---|
36 | system "cd ${worksrcpath} && \ |
---|
37 | ${python} ${worksrcpath}/compilezpy.py" |
---|
38 | system "cd ${worksrcpath} && \ |
---|
39 | ${python} -O ${worksrcpath}/compilezpy.py" |
---|
40 | } |
---|
41 | |
---|
42 | destroot { |
---|
43 | set zopebase ${destroot}${zopehome} |
---|
44 | set productsdir ${zopebase}/lib/python/Products |
---|
45 | set zopeuser zope |
---|
46 | |
---|
47 | # Copy Plone products into the Products directory |
---|
48 | system "install -d ${productsdir}" |
---|
49 | system "cp -R ${worksrcpath}/CMFPlone ${productsdir}" |
---|
50 | system "cp -R ${worksrcpath}/DCWorkflow ${productsdir}" |
---|
51 | system "cp -R ${worksrcpath}/Formulator ${productsdir}" |
---|
52 | system "cd ${zopebase} && chown -R zope lib" |
---|
53 | system "cd ${zopebase} && chgrp -R www lib" |
---|
54 | |
---|
55 | # Install docs |
---|
56 | system "install -d ${destroot}${prefix}/share/doc/Plone" |
---|
57 | system "cp -r ${worksrcpath}/CMFPlone/docs/* \ |
---|
58 | ${destroot}${prefix}/share/doc/Plone" |
---|
59 | } |
---|
60 | # vim: ts=8 sw=8 |
---|