Changeset 5879


Ignore:
Timestamp:
Mar 20, 2004, 5:50:16 AM (16 years ago)
Author:
rshaw
Message:

Updates Portfile format/code to match newer Zope product ports.
Corrects Plone dependency to new Plone port.
No installed files change, no revision bump required.

Submitted by: rshaw

Location:
trunk/dports/zope/zope-plonewebmail
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/zope/zope-plonewebmail/Portfile

    r5861 r5879  
    1 # $Id: Portfile,v 1.3 2004/03/19 08:00:11 rshaw Exp $
     1# $Id: Portfile,v 1.4 2004/03/20 05:50:16 rshaw Exp $
    22PortSystem 1.0
    33
     
    1818                                        - i18n implementation
    1919platforms               darwin freebsd
     20set prodname    PloneWebMail
    2021homepage                http://plonewebmail.1000asa.com/
    21 master_sites    http://plonewebmail.1000asa.com/Members/lortymanager/
     22master_sites    ${homepage}/Members/lortymanager/
    2223dist_subdir             zope
    23 distname                PloneWebMail
    24 distfiles               ${distname}-${version}${extract.suffix}
     24distname                ${prodname}-${version}
    2525checksums               md5 1230f3916221fcb4a50631896501dd43
    2626
    2727# Use Python 2.3 from DarwinPorts explicitly
    2828set python              ${prefix}/bin/python2.3
     29set pythonlib   ${prefix}/lib/python2.3
    2930
    3031# Location to install Zope products and the Zope user                 
     
    3940
    4041# Depends on these Zope products
    41 depends_run             path:${zopeprod}/CMFPlone:zope-plone
     42depends_run             path:${zopeprod}/CMFPlone:zope-cmfplone
    4243
    4344platform freebsd {
    4445        extract.post_args       | gtar -xf -
     46}
     47extract.dir             ${worksrcpath}
     48pre-extract {
     49        file mkdir ${worksrcpath}
     50}
     51post-extract {
     52        system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
     53        system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
    4554}
    4655
     
    4857                                patch-addressbook.diff
    4958post-patch {
    50         file copy ${filespath}/addcontact.png ${worksrcpath}/skins/${distname}/img/
     59        file copy ${filespath}/addcontact.png \
     60                ${worksrcpath}/${prodname}/skins/${prodname}/img/
    5161}
    5262
    5363use_configure   no
    5464
    55 pre-build {
    56         file copy ${zopehome}/bin/compilezpy.py ${workpath}
     65build {
     66        file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    5767        reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    5868        system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    5969        system "find ${worksrcpath} -type f | xargs chmod a+r"
    60         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
    61         system "rm -rf ${worksrcpath}/skins/${distname}/img/.xvpics"
    62 }
    63 
    64 build {
     70        system "rm -rf ${worksrcpath}/${prodname}/skins/${prodname}/img/.xvpics"
    6571        system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    6672}
     
    7581        }
    7682
    77         # Install products
     83        # Install product
    7884        xinstall -d -m 0755 ${destroot}${zopeprod}
    79         system "cp -R ${workpath}/${distname} ${destroot}${zopeprod}"
     85        system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    8086        if {$env(USER) == "root"} {
    8187                system "chown -R ${zopeuser} ${destroot}${zopehome}"
  • trunk/dports/zope/zope-plonewebmail/files/patch-addressbook.diff

    r5490 r5879  
    1 --- skins/PloneWebMail/PloneWebMail_addressbook_view.pt.orig    Mon Feb 16 16:00:21 2004
    2 +++ skins/PloneWebMail/PloneWebMail_addressbook_view.pt Mon Feb 16 16:00:37 2004
     1--- PloneWebMail/skins/PloneWebMail/PloneWebMail_addressbook_view.pt.orig       Mon Feb 16 16:00:21 2004
     2+++ PloneWebMail/skins/PloneWebMail/PloneWebMail_addressbook_view.pt    Mon Feb 16 16:00:37 2004
    33@@ -33,7 +33,7 @@
    44                        <h1 i18n:translate="">Addressbook content:</h1>
  • trunk/dports/zope/zope-plonewebmail/files/patch-top_bar.diff

    r5490 r5879  
    1 --- skins/PloneWebMail/top_bar.pt.orig  Mon Feb 16 15:59:15 2004
    2 +++ skins/PloneWebMail/top_bar.pt       Mon Feb 16 15:59:34 2004
     1--- PloneWebMail/skins/PloneWebMail/top_bar.pt.orig     Mon Feb 16 15:59:15 2004
     2+++ PloneWebMail/skins/PloneWebMail/top_bar.pt  Mon Feb 16 15:59:34 2004
    33@@ -29,7 +29,7 @@
    44   <tr>
Note: See TracChangeset for help on using the changeset viewer.