Changeset 6352 for trunk/dports/zope


Ignore:
Timestamp:
Apr 10, 2004, 4:43:50 PM (16 years ago)
Author:
rshaw
Message:

All Zope product ports have been updated to use the new Zope group code.
Revision bump on all products.
New products to be added later today ...

Submitted by: rshaw

Location:
trunk/dports/zope
Files:
23 edited

Legend:

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

    r5860 r6352  
    1 # $Id: Portfile,v 1.4 2004/03/19 07:56:56 rshaw Exp $
     1# $Id: Portfile,v 1.5 2004/04/10 16:43:43 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-btreefolder2
    5 version                 1.0
    6 categories              www zope python
     5zope.setup              BTreeFolder2 1.0
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             Zope folder that can contain many more objects efficiently
     
    1919                                        can hold numerous items without loading them all \
    2020                                        into memory at once.
     21homepage                http://hathaway.freezope.org/Software/${zope.product}
     22master_sites    ${homepage}
     23checksums               md5 d430cf27bfc78922eaca9222f393022f
    2124platforms               darwin freebsd
    22 set prodname    BTreeFolder2
    23 homepage                http://hathaway.freezope.org/Software/${prodname}
    24 master_sites    ${homepage}
    25 dist_subdir             zope
    26 distname                ${prodname}-${version}
    27 checksums               md5 d430cf27bfc78922eaca9222f393022f
    2825
    29 # Use Python 2.3 from DarwinPorts explicitly
    30 set python              ${prefix}/bin/python2.3
    31 set pythonlib   ${prefix}/lib/python2.3
    32 
    33 # Location to install Zope products and the Zope user                 
    34 set zopehome    ${prefix}/libexec/Zope
    35 set zopeinst    ${prefix}/www/Zope
    36 set zopeprod    ${zopehome}/lib/python/Products
    37 set zopeuser    zope
    38 set zopegroup   www
    39 
    40 # Depends on Zope
    41 depends_build   path:${zopehome}:zope
    42 
    43 # Depends on these Zope products
    44 # none
    45 
    46 platform freebsd {
    47         extract.post_args       | gtar -xf -
    48 }
    49 extract.dir             ${worksrcpath}
    50 pre-extract {
    51         file mkdir ${worksrcpath}
    52 }
    53 post-extract {
    54         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    55         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
     26variant cvs {
     27        zope.setup_cvs  zope
    5628}
    5729
    58 use_configure   no
    59 
    60 build {
    61         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    62         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    63         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    64         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    65 }
    66 
    67 destroot {
    68         if {$env(USER) != "root"} {
    69                 ui_msg "------------------------------------------------------------"
    70                 ui_msg "Note that you are not installing as root, so files installed"
    71                 ui_msg "by this port will not end up with proper ownership and"
    72                 ui_msg "likely not work correctly with Zope."
    73                 ui_msg "------------------------------------------------------------"
    74         }
    75 
    76         # Install product
    77         xinstall -d -m 0755 ${destroot}${zopeprod}
    78         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    79         if {$env(USER) == "root"} {
    80                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    81                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    82         }
    83 }
    84 
    85 variant cvs {
    86         version         [clock format [clock seconds] -format %Y%m%d]
    87         distname        ${prodname}-${version}
    88 
    89         fetch.type      cvs
    90         cvs.root        :pserver:anonymous@cvs.zope.org:/cvs-repository
    91         cvs.module      Products/${prodname}
    92         cvs.args        -d ${prodname}
    93         cvs.dir         ${worksrcpath}
    94         pre-fetch {
    95                 file mkdir ${worksrcpath}
    96         }
    97 }
    98 
  • trunk/dports/zope/zope-cmf/Portfile

    r5858 r6352  
    1 # $Id: Portfile,v 1.3 2004/03/19 07:28:20 rshaw Exp $
    2 PortSystem          1.0
     1# $Id: Portfile,v 1.4 2004/04/10 16:43:44 rshaw Exp $
     2PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-cmf
    5 version                 1.4.2
    6 categories              www zope python
     5zope.setup              CMF 1.4.2 {CMFCore CMFDefault CMFTopic CMFCalendar DCWorkflow}
     6revision                1
    77maintainers             wbb4@opendarwin.org rshaw@opendarwin.org
    88description             The Zope Content Management Framework (CMF)
     
    1414                                        customizable, in terms of both the types of content \
    1515                                        used and the policies and services it provides.
     16homepage                http://cmf.zope.org/
     17master_sites    ${homepage}/download/${zope.product}-${version}/
     18checksums               md5 345f8f79ce68d5535933ee897782005b
    1619platforms               darwin freebsd
    17 set prodname    CMF
    18 set products    { CMFCore CMFDefault CMFTopic CMFCalendar DCWorkflow }
    19 homepage                http://cmf.zope.org/
    20 master_sites    ${homepage}/download/${prodname}-${version}/
    21 dist_subdir             zope
    22 distname                ${prodname}-${version}
    23 checksums               md5 345f8f79ce68d5535933ee897782005b
    2420
    25 # Use Python 2.3 from DarwinPorts explicitly
    26 set python              ${prefix}/bin/python2.3
    27 set pythonlib   ${prefix}/lib/python2.3
    28 
    29 # Location to install Zope products and the Zope user                 
    30 set zopehome    ${prefix}/libexec/Zope
    31 set zopeinst    ${prefix}/www/Zope
    32 set zopeprod    ${zopehome}/lib/python/Products
    33 set zopeuser    zope
    34 set zopegroup   www
    35 
    36 # Depends on Zope
    37 depends_build   path:${zopehome}:zope
    38 
    39 # Depends on these Zope products
    40 # none
    41 
    42 platform freebsd {
    43         extract.post_args       | gtar -xf -
    44 }
    45 post-extract {
    46         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    47         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
    48 }
    49 
    50 use_configure   no
    51 
    52 build {
    53         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    54         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    55         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    56         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    57 }
    58 
    59 destroot {
    60         if {$env(USER) != "root"} {
    61                 ui_msg "------------------------------------------------------------"
    62                 ui_msg "Note that you are not installing as root, so files installed"
    63                 ui_msg "by this port will not end up with proper ownership and"
    64                 ui_msg "likely not work correctly with Zope."
    65                 ui_msg "------------------------------------------------------------"
     21post-destroot {
     22        if {[file isdirectory ${worksrcpath}/docs]} {
     23                set docPath ${destroot}${prefix}/share/doc
     24                xinstall -d -m 0755 ${docPath}
     25                system "cp -R ${worksrcpath}/docs ${docPath}/${name}"
    6626        }
    67 
    68         # Install products
    69         xinstall -d -m 0755 ${destroot}${zopeprod}
    70         foreach product ${products} {
    71                 system "cp -R ${worksrcpath}/${product} ${destroot}${zopeprod}"
    72         }
    73         if {$env(USER) == "root"} {
    74                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    75                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    76         }
    77 
    78         # Install docs
    79         set docPath ${destroot}${prefix}/share/doc
    80         xinstall -d -m 0755 ${docPath}
    81         system "cp -R ${worksrcpath}/docs ${docPath}/Zope-CMF"
    8227}
    8328
    8429variant cvs {
    85         version         [clock format [clock seconds] -format %Y%m%d]
    86         distname        ${prodname}-${version}
    87 
    88         fetch.type      cvs
    89         cvs.root        :pserver:anonymous@cvs.zope.org:/cvs-repository
    90         cvs.module      ${prodname}
    91         cvs.tag         CMF-1_4-branch
    92         cvs.args        -d ${distname}
     30        zope.setup_cvs          zope CMF
     31        zope.need_cvsdir        no
     32        cvs.tag                         CMF-1_4-branch
    9333}
    9434
  • trunk/dports/zope/zope-cmfactionicons/Portfile

    r5852 r6352  
    1 # $Id: Portfile,v 1.1 2004/03/19 07:16:49 rshaw Exp $
     1# $Id: Portfile,v 1.2 2004/04/10 16:43:45 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-cmfactionicons
    5 version                 0.9
    6 categories              www zope python
     5zope.setup              CMFActionIcons 0.9
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             CMFActionIcons product for use with Zope CMF/Plone
     
    2121                                        - ZPT macros which build either horizontal or \
    2222                                        vertical icon bars for a set of actions.
     23homepage                http://zope.org/Members/tseaver/${zope.product}
     24master_sites    ${homepage}/${zope.product}-${version}/
     25zope.need_subdir        no
     26checksums               md5 4c33a6daefd75e5ee63a3afb693628f8
    2327platforms               darwin freebsd
    24 set prodname    CMFActionIcons
    25 homepage                http://zope.org/Members/tseaver/${prodname}
    26 master_sites    ${homepage}/${prodname}-${version}/
    27 dist_subdir             zope
    28 distname                ${prodname}-${version}
    29 checksums               md5 4c33a6daefd75e5ee63a3afb693628f8
    30 
    31 # Use Python 2.3 from DarwinPorts explicitly
    32 set python              ${prefix}/bin/python2.3
    33 set pythonlib   ${prefix}/lib/python2.3
    34 
    35 # Location to install Zope products and the Zope user                 
    36 set zopehome    ${prefix}/libexec/Zope
    37 set zopeinst    ${prefix}/www/Zope
    38 set zopeprod    ${zopehome}/lib/python/Products
    39 set zopeuser    zope
    40 set zopegroup   www
    41 
    42 # Depends on Zope
    43 depends_build   path:${zopehome}:zope
    4428
    4529# Depends on these Zope products
    46 depends_run             path:${zopeprod}/CMFCore:zope-cmf
     30depends_lib             lib:XXX:zope-cmf
    4731
    48 platform freebsd {
    49         extract.post_args       | gtar -xf -
    50 }
    51 post-extract {
    52         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    53         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
     32variant cvs {
     33        zope.setup_cvs  zope
    5434}
    5535
    56 use_configure   no
    57 
    58 build {
    59         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    60         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    61         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    62         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    63 }
    64 
    65 destroot {
    66         if {$env(USER) != "root"} {
    67                 ui_msg "------------------------------------------------------------"
    68                 ui_msg "Note that you are not installing as root, so files installed"
    69                 ui_msg "by this port will not end up with proper ownership and"
    70                 ui_msg "likely not work correctly with Zope."
    71                 ui_msg "------------------------------------------------------------"
    72         }
    73 
    74         # Install product
    75         xinstall -d -m 0755 ${destroot}${zopeprod}
    76         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    77         if {$env(USER) == "root"} {
    78                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    79                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    80         }
    81 }
    82 
    83 variant cvs {
    84         version         [clock format [clock seconds] -format %Y%m%d]
    85         distname        ${prodname}-${version}
    86 
    87         fetch.type      cvs
    88         cvs.root        :pserver:anonymous@cvs.zope.org:/cvs-repository
    89         cvs.module      Products/${prodname}
    90         cvs.args        -d ${prodname}
    91         cvs.dir         ${worksrcpath}
    92         pre-fetch {
    93                 file mkdir ${worksrcpath}
    94         }
    95 }
    96 
  • trunk/dports/zope/zope-cmfformcontroller/Portfile

    r5860 r6352  
    1 # $Id: Portfile,v 1.2 2004/03/19 07:56:57 rshaw Exp $
     1# $Id: Portfile,v 1.3 2004/04/10 16:43:45 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-cmfformcontroller
    5 version                 1.0.1
    6 categories              www zope python
     5zope.setup              CMFFormController 1.0.1
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             CMFFormController product for Zope CMF/Plone
     
    1010                                        validation mechanism from Plone.  It should work \
    1111                                        just fine in plain CMF as well.
    12 platforms               darwin freebsd
    13 set prodname    CMFFormController
    1412homepage                http://sourceforge.net/projects/collective
    1513master_sites    sourceforge:collective
    16 dist_subdir             zope
    17 distname                ${prodname}.[strsed ${version} {g/[.]/_/}]
     14distname                ${zope.product}.[strsed ${version} {g/[.]/_/}]
    1815checksums               md5 b407416df83bc76ae7187e8a03bdeead
    19 
    20 # Use Python 2.3 from DarwinPorts explicitly
    21 set python              ${prefix}/bin/python2.3
    22 set pythonlib   ${prefix}/lib/python2.3
    23 
    24 # Location to install Zope products and the Zope user                 
    25 set zopehome    ${prefix}/libexec/Zope
    26 set zopeinst    ${prefix}/www/Zope
    27 set zopeprod    ${zopehome}/lib/python/Products
    28 set zopeuser    zope
    29 set zopegroup   www
    30 
    31 # Depends on Zope
    32 depends_build   path:${zopehome}:zope
     16platforms               darwin freebsd
    3317
    3418# Depends on these Zope products
    35 depends_run             path:${zopeprod}/CMFCore:zope-cmf
     19depends_lib             lib:XXX:zope-cmf
    3620
    37 platform freebsd {
    38         extract.post_args       | gtar -xf -
    39 }
    40 extract.dir             ${worksrcpath}
    41 pre-extract {
    42         file mkdir ${worksrcpath}
    43 }
    44 post-extract {
    45         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    46         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
     21variant cvs {
     22        zope.setup_cvs  collective
    4723}
    4824
    49 use_configure   no
    50 
    51 build {
    52         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    53         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    54         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    55         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    56 }
    57 
    58 destroot {
    59         if {$env(USER) != "root"} {
    60                 ui_msg "------------------------------------------------------------"
    61                 ui_msg "Note that you are not installing as root, so files installed"
    62                 ui_msg "by this port will not end up with proper ownership and"
    63                 ui_msg "likely not work correctly with Zope."
    64                 ui_msg "------------------------------------------------------------"
    65         }
    66 
    67         # Install product
    68         xinstall -d -m 0755 ${destroot}${zopeprod}
    69         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    70         if {$env(USER) == "root"} {
    71                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    72                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    73         }
    74 }
    75 
    76 variant cvs {
    77         version         [clock format [clock seconds] -format %Y%m%d]
    78         distname        ${prodname}-${version}
    79 
    80         fetch.type      cvs
    81         cvs.root        :pserver:anonymous@cvs.sourceforge.net:/cvsroot/collective
    82         cvs.module      ${prodname}
    83         cvs.dir         ${worksrcpath}
    84         pre-fetch {
    85                 file mkdir ${worksrcpath}
    86         }
    87 }
    88 
  • trunk/dports/zope/zope-cmfphoto/Portfile

    r5860 r6352  
    1 # $Id: Portfile,v 1.3 2004/03/19 07:56:58 rshaw Exp $
     1# $Id: Portfile,v 1.4 2004/04/10 16:43:45 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-cmfphoto
    5 version                 0.4.2
    6 categories              www zope python graphics
     5zope.setup              CMFPhoto 0.4.2
     6revision                1
     7categories-append       graphics
    78maintainers             rshaw@opendarwin.org
    89description             Zope CMF based Photo object
    910long_description        ${description}
    10 platforms               darwin freebsd
    11 set prodname    CMFPhoto
    1211homepage                http://sourceforge.net/projects/collective
    1312master_sites    sourceforge:collective
    14 dist_subdir             zope
    15 distname                ${prodname}-${version}
    1613checksums               md5 a2a11687dd5cdcf294bdfe173f598293
    17 
    18 # Use Python 2.3 from DarwinPorts explicitly
    19 set python              ${prefix}/bin/python2.3
    20 set pythonlib   ${prefix}/lib/python2.3
    21 
    22 # Location to install Zope products and the Zope user                 
    23 set zopehome    ${prefix}/libexec/Zope
    24 set zopeinst    ${prefix}/www/Zope
    25 set zopeprod    ${zopehome}/lib/python/Products
    26 set zopeuser    zope
    27 set zopegroup   www
    28 
    29 # Depends on Zope
    30 depends_build   path:${zopehome}:zope
     14platforms               darwin freebsd
    3115
    3216# Depends on these Zope products
    33 depends_run             path:${zopeprod}/CMFCore:zope-cmf
     17depends_lib             lib:XXX:zope-cmf
    3418
    3519# Depends on these Python modules and/or external programs
    3620default_variants        +pil
    3721variant pil {
    38         depends_run-append      path:${pythonlib}/site-packages/PIL:py-pil
     22        depends_lib-append      lib:XXX:py-pil
    3923}
    4024variant im {
    41         depends_run-append      bin:convert:ImageMagick
    42 }
    43 
    44 platform freebsd {
    45         extract.post_args       | gtar -xf -
    46 }
    47 extract.dir             ${worksrcpath}
    48 pre-extract {
    49         file mkdir ${worksrcpath}
    50 }
    51 post-extract {
    52         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    53         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
    54 }
    55 
    56 use_configure   no
    57 
    58 build {
    59         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    60         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    61         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    62         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    63 }
    64 
    65 destroot {
    66         if {$env(USER) != "root"} {
    67                 ui_msg "------------------------------------------------------------"
    68                 ui_msg "Note that you are not installing as root, so files installed"
    69                 ui_msg "by this port will not end up with proper ownership and"
    70                 ui_msg "likely not work correctly with Zope."
    71                 ui_msg "------------------------------------------------------------"
    72         }
    73 
    74         # Install product
    75         xinstall -d -m 0755 ${destroot}${zopeprod}
    76         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    77         if {$env(USER) == "root"} {
    78                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    79                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    80         }
     25        depends_run             bin:convert:ImageMagick
    8126}
    8227
    8328variant cvs {
    84         version         [clock format [clock seconds] -format %Y%m%d]
    85         distname        ${prodname}-${version}
    86 
    87         fetch.type      cvs
    88         cvs.root        :pserver:anonymous@cvs.sourceforge.net:/cvsroot/collective
    89         cvs.module      ${prodname}
    90         cvs.dir         ${worksrcpath}
    91         pre-fetch {
    92                 file mkdir ${worksrcpath}
    93         }
     29        zope.setup_cvs  collective
    9430}
    9531
  • trunk/dports/zope/zope-cmfphotoalbum/Portfile

    r5860 r6352  
    1 # $Id: Portfile,v 1.3 2004/03/19 07:57:00 rshaw Exp $
     1# $Id: Portfile,v 1.4 2004/04/10 16:43:45 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-cmfphotoalbum
    5 version                 0.4final
    6 categories              www zope python graphics
     5zope.setup              CMFPhotoAlbum 0.4final
     6revision                1
     7categories-append               graphics
    78maintainers             rshaw@opendarwin.org
    89description             Zope CMF based Photo Album object
    910long_description        ${description}
    10 platforms               darwin freebsd
    11 set prodname    CMFPhotoAlbum
    1211homepage                http://sourceforge.net/projects/collective
    1312master_sites    sourceforge:collective
    14 dist_subdir             zope
    15 distname                ${prodname}-${version}
    1613checksums               md5 0b7ae2b381f467a92c6e4b6790cb3227
    17 
    18 # Use Python 2.3 from DarwinPorts explicitly
    19 set python              ${prefix}/bin/python2.3
    20 set pythonlib   ${prefix}/lib/python2.3
    21 
    22 # Location to install Zope products and the Zope user                 
    23 set zopehome    ${prefix}/libexec/Zope
    24 set zopeinst    ${prefix}/www/Zope
    25 set zopeprod    ${zopehome}/lib/python/Products
    26 set zopeuser    zope
    27 set zopegroup   www
    28 
    29 # Depends on Zope
    30 depends_build   path:${zopehome}:zope
     14platforms               darwin freebsd
    3115
    3216# Depends on these Zope products
    33 depends_run             path:${zopeprod}/BTreeFolder2:zope-btreefolder2 \
    34                                 path:${zopeprod}/CMFCore:zope-cmf \
    35                                 path:${zopeprod}/CMFPhoto:zope-cmfphoto
     17depends_lib             lib:XXX:zope-btreefolder2 \
     18                                lib:XXX:zope-cmf \
     19                                lib:XXX:zope-cmfphoto
    3620
    37 platform freebsd {
    38         extract.post_args       | gtar -xf -
    39 }
    40 extract.dir             ${worksrcpath}
    41 pre-extract {
    42         file mkdir ${worksrcpath}
    43 }
    44 post-extract {
    45         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    46         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
     21variant cvs {
     22        zope.setup_cvs  collective
    4723}
    4824
    49 use_configure   no
    50 
    51 build {
    52         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    53         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    54         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    55         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    56 }
    57 
    58 destroot {
    59         if {$env(USER) != "root"} {
    60                 ui_msg "------------------------------------------------------------"
    61                 ui_msg "Note that you are not installing as root, so files installed"
    62                 ui_msg "by this port will not end up with proper ownership and"
    63                 ui_msg "likely not work correctly with Zope."
    64                 ui_msg "------------------------------------------------------------"
    65         }
    66 
    67         # Install product
    68         xinstall -d -m 0755 ${destroot}${zopeprod}
    69         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    70         if {$env(USER) == "root"} {
    71                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    72                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    73         }
    74 }
    75 
    76 variant cvs {
    77         version         [clock format [clock seconds] -format %Y%m%d]
    78         distname        ${prodname}-${version}
    79 
    80         fetch.type      cvs
    81         cvs.root        :pserver:anonymous@cvs.sourceforge.net:/cvsroot/collective
    82         cvs.module      ${prodname}
    83         cvs.dir         ${worksrcpath}
    84         pre-fetch {
    85                 file mkdir ${worksrcpath}
    86         }
    87 }
    88 
  • trunk/dports/zope/zope-cmfplone/Portfile

    r5851 r6352  
    1 # $Id: Portfile,v 1.1 2004/03/19 07:15:37 rshaw Exp $
     1# $Id: Portfile,v 1.2 2004/04/10 16:43:46 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-cmfplone
    5 version                 2.0-final
    6 categories              www zope python
     5zope.setup              CMFPlone 2.0-final
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             A user friendly implementation of the CMF written on top of Zope
     
    1616                                        authentication, Undos, Form validation, amongst \
    1717                                        many many other features.
    18 platforms               darwin freebsd
    19 set prodname    CMFPlone
    2018homepage                http://www.plone.org/
    2119master_sites    sourceforge:plone
    22 dist_subdir             zope
    23 distname                ${prodname}-${version}
     20zope.need_subdir        no
    2421checksums               md5 6636de881af4ca76c79223c994699099
    25 
    26 # Use Python 2.3 from DarwinPorts explicitly
    27 set python              ${prefix}/bin/python2.3
    28 set pythonlib   ${prefix}/lib/python2.3
    29 
    30 # Location to install Zope products and the Zope user                 
    31 set zopehome    ${prefix}/libexec/Zope
    32 set zopeinst    ${prefix}/www/Zope
    33 set zopeprod    ${zopehome}/lib/python/Products
    34 set zopeuser    zope
    35 set zopegroup   www
    36 
    37 # Depends on Zope
    38 depends_build   path:${zopehome}:zope
     22platforms               darwin freebsd
    3923
    4024# Depends on these Zope products
    41 depends_run             path:${zopeprod}/CMFCore:zope-cmf \
    42                                 path:${zopeprod}/Formulator:zope-formulator \
    43                                 path:${zopeprod}/CMFActionIcons:zope-cmfactionicons \
    44                                 path:${zopeprod}/CMFQuickInstallerTool:zope-cmfquickinstallertool \
    45                                 path:${zopeprod}/GroupUserFolder:zope-groupuserfolder \
    46                                 path:${zopeprod}/BTreeFolder2:zope-btreefolder2 \
    47                                 path:${zopeprod}/CMFFormController:zope-cmfformcontroller \
    48                                 path:${zopeprod}/PloneErrorReporting:zope-ploneerrorreporting
     25depends_lib             lib:XXX:zope-cmf \
     26                                lib:XXX:zope-formulator \
     27                                lib:XXX:zope-cmfactionicons \
     28                                lib:XXX:zope-cmfquickinstallertool \
     29                                lib:XXX:zope-groupuserfolder \
     30                                lib:XXX:zope-btreefolder2 \
     31                                lib:XXX:zope-cmfformcontroller \
     32                                lib:XXX:zope-ploneerrorreporting
    4933
    50 platform freebsd {
    51         extract.post_args       | gtar -xf -
    52 }
    53 post-extract {
    54         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    55         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
     34variant cvs {
     35        zope.setup_cvs          sourceforge:plone
     36        zope.need_subdir        no
    5637}
    5738
    58 use_configure   no
    59 
    60 build {
    61         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    62         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    63         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    64         system "cd ${worksrcpath}/${prodname} && ${python} ${workpath}/compilezpy.py"
    65 }
    66 
    67 destroot {
    68         if {$env(USER) != "root"} {
    69                 ui_msg "------------------------------------------------------------"
    70                 ui_msg "Note that you are not installing as root, so files installed"
    71                 ui_msg "by this port will not end up with proper ownership and"
    72                 ui_msg "likely not work correctly with Zope."
    73                 ui_msg "------------------------------------------------------------"
    74         }
    75 
    76         # Install product
    77         xinstall -d -m 0755 ${destroot}${zopeprod}
    78         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    79         if {$env(USER) == "root"} {
    80                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    81                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    82         }
    83 }
    84 
    85 variant cvs {
    86         version         [clock format [clock seconds] -format %Y%m%d]
    87         distname        ${prodname}-${version}
    88 
    89         fetch.type      cvs
    90         cvs.root        :pserver:anonymous@cvs.sourceforge.net:/cvsroot/plone
    91         cvs.module      ${prodname}
    92         cvs.dir         ${worksrcpath}
    93         pre-fetch {
    94                 file mkdir ${worksrcpath}
    95         }
    96 }
    97 
  • trunk/dports/zope/zope-cmfquickinstallertool/Portfile

    r5860 r6352  
    1 # $Id: Portfile,v 1.2 2004/03/19 07:57:01 rshaw Exp $
     1# $Id: Portfile,v 1.3 2004/04/10 16:43:46 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-cmfquickinstallertool
    5 version                 1.4
    6 categories              www zope python
     5zope.setup              CMFQuickInstallerTool 1.4
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             CMFQuickInstallerTool for Zope CMF/Plone
     
    1212                                        as a tool inside a CMF portal, where it stores the \
    1313                                        information about the installed products.
    14 platforms               darwin freebsd
    15 set prodname    CMFQuickInstallerTool
    1614homepage                http://sourceforge.net/projects/collective
    1715master_sites    sourceforge:collective
    18 dist_subdir             zope
    19 distname                ${prodname}_${version}
     16distname                ${zope.product}_${version}
    2017extract.suffix  .tgz
    2118checksums               md5 11326c7bdcb4c651099957bd3c04cb8d
    22 
    23 # Use Python 2.3 from DarwinPorts explicitly
    24 set python              ${prefix}/bin/python2.3
    25 set pythonlib   ${prefix}/lib/python2.3
    26 
    27 # Location to install Zope products and the Zope user                 
    28 set zopehome    ${prefix}/libexec/Zope
    29 set zopeinst    ${prefix}/www/Zope
    30 set zopeprod    ${zopehome}/lib/python/Products
    31 set zopeuser    zope
    32 set zopegroup   www
    33 
    34 # Depends on Zope
    35 depends_build   path:${zopehome}:zope
     19platforms               darwin freebsd
    3620
    3721# Depends on these Zope products
    38 depends_run             path:${zopeprod}/CMFCore:zope-cmf
     22depends_lib             lib:XXX:zope-cmf
    3923
    40 platform freebsd {
    41         extract.post_args       | gtar -xf -
    42 }
    43 extract.dir             ${worksrcpath}
    44 pre-extract {
    45         file mkdir ${worksrcpath}
    46 }
    47 post-extract {
    48         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    49         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
     24variant cvs {
     25        zope.setup_cvs  collective
    5026}
    5127
    52 use_configure   no
    53 
    54 build {
    55         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    56         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    57         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    58         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    59 }
    60 
    61 destroot {
    62         if {$env(USER) != "root"} {
    63                 ui_msg "------------------------------------------------------------"
    64                 ui_msg "Note that you are not installing as root, so files installed"
    65                 ui_msg "by this port will not end up with proper ownership and"
    66                 ui_msg "likely not work correctly with Zope."
    67                 ui_msg "------------------------------------------------------------"
    68         }
    69 
    70         # Install product
    71         xinstall -d -m 0755 ${destroot}${zopeprod}
    72         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    73         if {$env(USER) == "root"} {
    74                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    75                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    76         }
    77 }
    78 
    79 variant cvs {
    80         version         [clock format [clock seconds] -format %Y%m%d]
    81         distname        ${prodname}-${version}
    82 
    83         fetch.type      cvs
    84         cvs.root        :pserver:anonymous@cvs.sourceforge.net:/cvsroot/collective
    85         cvs.module      ${prodname}
    86         cvs.dir         ${worksrcpath}
    87         pre-fetch {
    88                 file mkdir ${worksrcpath}
    89         }
    90 }
    91 
  • trunk/dports/zope/zope-cvsfile/Portfile

    r5859 r6352  
    1 # $Id: Portfile,v 1.3 2004/03/19 07:55:52 rshaw Exp $
     1# $Id: Portfile,v 1.4 2004/04/10 16:43:46 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-cvsfile
    5 version                 0.9.0
    6 categories              www zope python
     5zope.setup              CVSFile 0.9.0
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             This is the CVSFile Zope Product.
     
    2020                                        object like File, Page Template,or DTMLMethod, but \
    2121                                        points to external content in the filesystem.
     22homepage                http://zope.org/Members/arielpartners/${zope.product}
     23master_sites    ${homepage}/${version}/
     24distname                ${zope.product}-[strsed ${version} {g/[.]/-/}]
     25use_zip                 yes
     26checksums               md5 e2841081d9b038c8a1acee97ff4b0e17
    2227platforms               darwin freebsd
    23 set prodname    CVSFile
    24 homepage                http://zope.org/Members/arielpartners/${prodname}
    25 master_sites    ${homepage}/${version}/
    26 dist_subdir             zope
    27 extract.suffix  .zip
    28 use_zip                 yes
    29 distname                ${prodname}-[strsed ${version} {g/[.]/-/}]
    30 checksums               md5 e2841081d9b038c8a1acee97ff4b0e17
    31 
    32 # Use Python 2.3 from DarwinPorts explicitly
    33 set python              ${prefix}/bin/python2.3
    34 set pythonlib   ${prefix}/lib/python2.3
    35 
    36 # Location to install Zope products and the Zope user                 
    37 set zopehome    ${prefix}/libexec/Zope
    38 set zopeinst    ${prefix}/www/Zope
    39 set zopeprod    ${zopehome}/lib/python/Products
    40 set zopeuser    zope
    41 set zopegroup   www
    42 
    43 # Depends on Zope
    44 depends_build   path:${zopehome}:zope
    4528
    4629# Depends on these Zope products and external programs
    47 depends_run             path:${zopeprod}/ExternalFile:zope-externalfile \
    48                                 bin:cvs:cvs
     30depends_lib             lib:XXX:zope-externalfile
     31depends_run             bin:cvs:cvs
    4932
    50 platform freebsd {
    51         extract.post_args       | gtar -xf -
    52 }
    53 extract.dir             ${worksrcpath}
    54 pre-extract {
    55         file mkdir ${worksrcpath}
    56 }
    57 post-extract {
    58         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    59         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
     33post-patch {
     34        reinplace "s|'tests'|& and name != 'extras'|" ${workpath}/compilezpy.py
    6035}
    6136
    62 use_configure   no
    63 
    64 build {
    65         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    66         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    67         reinplace "s|'tests'|& and name != 'extras'|" ${workpath}/compilezpy.py
    68         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    69         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    70 }
    71 
    72 destroot {
    73         if {$env(USER) != "root"} {
    74                 ui_msg "------------------------------------------------------------"
    75                 ui_msg "Note that you are not installing as root, so files installed"
    76                 ui_msg "by this port will not end up with proper ownership and"
    77                 ui_msg "likely not work correctly with Zope."
    78                 ui_msg "------------------------------------------------------------"
    79         }
    80 
    81         # Install product
    82         xinstall -d -m 0755 ${destroot}${zopeprod}
    83         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    84         if {$env(USER) == "root"} {
    85                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    86                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    87         }
    88 }
    89 
  • trunk/dports/zope/zope-externaleditor/Portfile

    r5876 r6352  
    1 # $Id: Portfile,v 1.7 2004/03/20 04:20:22 rshaw Exp $
     1# $Id: Portfile,v 1.8 2004/04/10 16:43:46 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-externaleditor
    5 version                 0.7
    6 revision                2
    7 categories              www python zope
     5zope.setup              ExternalEditor 0.7
     6revision                3
    87maintainers             rshaw@opendarwin.org
    98description             Zope ExternalEditor Product
     
    1211                                        the ZMI to modify Zope objects. Its one of those \
    1312                                        "have your cake and eat it too" kind of things.
    14 platforms               darwin freebsd
    15 set prodname    ExternalEditor
    16 homepage                http://zope.org/Members/Caseman/${prodname}
     13homepage                http://zope.org/Members/Caseman/${zope.product}
    1714master_sites    ${homepage}/${version}
    18 dist_subdir             zope
    19 distname                ${prodname}-${version}
    2015extract.suffix  .tgz
    2116checksums               md5 1dac15db90bb3c320955c114f2053963
    22 
    23 # Use Python 2.3 from DarwinPorts explicitly
    24 set python              ${prefix}/bin/python2.3
    25 set pythonlib   ${prefix}/lib/python2.3
    26 
    27 # Location to install Zope products and the Zope user                 
    28 set zopehome    ${prefix}/libexec/Zope
    29 set zopeinst    ${prefix}/www/Zope
    30 set zopeprod    ${zopehome}/lib/python/Products
    31 set zopeext             ${zopeinst}/Extensions
    32 set zopeuser    zope
    33 set zopegroup   www
    34 
    35 # Depends on Zope
    36 depends_build   path:${zopehome}:zope
    37 
    38 # Depends on these Zope products
    39 # none
    40 
    41 platform freebsd {
    42         extract.post_args       | gtar -xf -
    43 }
    44 extract.dir             ${worksrcpath}
    45 pre-extract {
    46         file mkdir ${worksrcpath}
    47 }
    48 post-extract {
    49         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    50         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
    51 }
     17platforms               darwin freebsd
    5218
    5319patchfiles              patch-ExternalEditor.py
    5420
    55 use_configure   no
    56 
    57 build {
    58         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    59         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    60         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    61         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    62 }
    63 
    64 destroot {
    65         if {$env(USER) != "root"} {
    66                 ui_msg "------------------------------------------------------------"
    67                 ui_msg "Note that you are not installing as root, so files installed"
    68                 ui_msg "by this port will not end up with proper ownership and"
    69                 ui_msg "likely not work correctly with Zope."
    70                 ui_msg "------------------------------------------------------------"
    71         }
    72 
    73         # Install product
    74         xinstall -d -m 0755 ${destroot}${zopeprod}
    75         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    76         if {$env(USER) == "root"} {
    77                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    78                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    79         }
     21post-install {
    8022        ui_msg "------------------------------------------------------------"
    8123        ui_msg "It is recommended to install ZopeEditManager on all Mac OS X"
     
    8628
    8729variant cvs {
    88         version         [clock format [clock seconds] -format %Y%m%d]
    89         distname        ${prodname}-${version}
    90 
    91         fetch.type      cvs
    92         cvs.root        :pserver:anonymous@cvs.zope.org:/cvs-repository
    93         cvs.module      Products/${prodname}
    94         cvs.args        -d ${prodname}
    95         cvs.dir         ${worksrcpath}
    96         pre-fetch {
    97                 file mkdir ${worksrcpath}
    98         }
     30        zope.setup_cvs  zope
    9931}
    10032
  • trunk/dports/zope/zope-externalfile/Portfile

    r5859 r6352  
    1 # $Id: Portfile,v 1.3 2004/03/19 07:55:50 rshaw Exp $
     1# $Id: Portfile,v 1.4 2004/04/10 16:43:47 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-externalfile
    5 version                 1.2.0
    6 categories              www zope python
     5zope.setup              ExternalFile 1.2.0
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             This is the ExternalFile Zope Product.
     
    1313                                        the context of the Zope installation.  It also \
    1414                                        supports in-browser editing for ASCII files.
     15homepage                http://zope.org/Members/arielpartners/${zope.product}
     16master_sites    ${homepage}/${version}/
     17distname                ${zope.product}-[strsed ${version} {g/[.]/-/}]
     18use_zip                 yes
     19checksums               md5 b4da87c01e79970cb8bccf2848d88369
    1520platforms               darwin freebsd
    16 set prodname    ExternalFile
    17 homepage                http://zope.org/Members/arielpartners/${prodname}
    18 master_sites    ${homepage}/${version}/
    19 dist_subdir             zope
    20 extract.suffix  .zip
    21 use_zip                 yes
    22 distname                ${prodname}-[strsed ${version} {g/[.]/-/}]
    23 checksums               md5 b4da87c01e79970cb8bccf2848d88369
    2421
    25 # Use Python 2.3 from DarwinPorts explicitly
    26 set python              ${prefix}/bin/python2.3
    27 
    28 # Location to install Zope products and the Zope user                 
    29 set zopehome    ${prefix}/libexec/Zope
    30 set zopeinst    ${prefix}/www/Zope
    31 set zopeprod    ${zopehome}/lib/python/Products
    32 set zopeuser    zope
    33 set zopegroup   www
    34 
    35 # Depends on Zope
    36 depends_build   path:${zopehome}:zope
    37 
    38 # Depends on these Zope products
    39 # none
    40 
    41 extract.dir             ${worksrcpath}
    42 pre-extract {
    43         file mkdir ${worksrcpath}
    44 }
    45 post-extract {
    46         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    47         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
     22post-patch {
     23        reinplace "s|'tests'|& and name != 'extras'|" ${workpath}/compilezpy.py
    4824}
    4925
    50 use_configure   no
    51 
    52 build {
    53         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    54         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    55         reinplace "s|'tests'|& and name != 'extras'|" ${workpath}/compilezpy.py
    56         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    57         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    58 }
    59 
    60 destroot {
    61         if {$env(USER) != "root"} {
    62                 ui_msg "------------------------------------------------------------"
    63                 ui_msg "Note that you are not installing as root, so files installed"
    64                 ui_msg "by this port will not end up with proper ownership and"
    65                 ui_msg "likely not work correctly with Zope."
    66                 ui_msg "------------------------------------------------------------"
    67         }
    68 
    69         # Install product
    70         xinstall -d -m 0755 ${destroot}${zopeprod}
    71         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    72         if {$env(USER) == "root"} {
    73                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    74                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    75         }
    76 }
    77 
  • trunk/dports/zope/zope-formulator/Portfile

    r5860 r6352  
    1 # $Id: Portfile,v 1.2 2004/03/19 07:57:02 rshaw Exp $
     1# $Id: Portfile,v 1.3 2004/04/10 16:43:47 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-formulator
    5 version                 1.6.2
    6 categories              www zope python
     5zope.setup              Formulator 1.6.2
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             Formulator product for web form creation in Zope
     
    1010                                        validation of web forms. Form fields are stored as \
    1111                                        objects in Zope, in a special Form folder.
    12 platforms               darwin freebsd
    13 set prodname    Formulator
    14 homepage                http://zope.org/Members/infrae/${prodname}
    15 master_sites    ${homepage}/${prodname}-${version}/
    16 dist_subdir             zope
    17 distname                ${prodname}-${version}
     12homepage                http://zope.org/Members/infrae/${zope.product}
     13master_sites    ${homepage}/${zope.product}-${version}/
    1814extract.suffix  .tgz
    1915checksums               md5 c5eb395918349036c7ac400dbbff98e9
     16platforms               darwin freebsd
    2017
    21 # Use Python 2.3 from DarwinPorts explicitly
    22 set python              ${prefix}/bin/python2.3
    23 set pythonlib   ${prefix}/lib/python2.3
    24 
    25 # Location to install Zope products and the Zope user                 
    26 set zopehome    ${prefix}/libexec/Zope
    27 set zopeinst    ${prefix}/www/Zope
    28 set zopeprod    ${zopehome}/lib/python/Products
    29 set zopeuser    zope
    30 set zopegroup   www
    31 
    32 # Depends on Zope
    33 depends_build   path:${zopehome}:zope
    34 
    35 # Depends on these Zope products
    36 # none
    37 
    38 platform freebsd {
    39         extract.post_args       | gtar -xf -
    40 }
    41 extract.dir             ${worksrcpath}
    42 pre-extract {
    43         file mkdir ${worksrcpath}
    44 }
    45 post-extract {
    46         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    47         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
     18variant cvs {
     19        zope.setup_cvs  anonymous@cvs.infrae.com:/cvs/infrae
    4820}
    4921
    50 use_configure   no
    51 
    52 build {
    53         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    54         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    55         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    56         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    57 }
    58 
    59 destroot {
    60         if {$env(USER) != "root"} {
    61                 ui_msg "------------------------------------------------------------"
    62                 ui_msg "Note that you are not installing as root, so files installed"
    63                 ui_msg "by this port will not end up with proper ownership and"
    64                 ui_msg "likely not work correctly with Zope."
    65                 ui_msg "------------------------------------------------------------"
    66         }
    67 
    68         # Install product
    69         xinstall -d -m 0755 ${destroot}${zopeprod}
    70         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    71         if {$env(USER) == "root"} {
    72                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    73                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    74         }
    75 }
    76 
    77 variant cvs {
    78         version         [clock format [clock seconds] -format %Y%m%d]
    79         distname        ${prodname}-${version}
    80 
    81         fetch.type      cvs
    82         cvs.root        :pserver:anonymous@cvs.infrae.com:/cvs/infrae
    83         cvs.module      ${prodname}
    84         cvs.args        -d ${prodname}
    85         cvs.dir         ${worksrcpath}
    86         pre-fetch {
    87                 file mkdir ${worksrcpath}
    88         }
    89 }
    90 
  • trunk/dports/zope/zope-groupuserfolder/Portfile

    r5860 r6352  
    1 # $Id: Portfile,v 1.2 2004/03/19 07:57:04 rshaw Exp $
     1# $Id: Portfile,v 1.3 2004/04/10 16:43:47 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-groupuserfolder
    5 version                 2.0
    6 categories              www zope python
     5zope.setup              GroupUserFolder 2.0
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             GroupUserFolder product for Zope CMF/Plone
     
    1111                                        users are "flagged" as GROUP and then normal users \
    1212                                        will be able to belong to one or several groups.
    13 platforms               darwin freebsd
    14 set prodname    GroupUserFolder
    1513homepage                http://sourceforge.net/projects/collective
    1614master_sites    sourceforge:collective
    17 dist_subdir             zope
    18 distname                ${prodname}-${version}
    1915checksums               md5 452d4886bcc8c75d0de965158e7c5b59
    20 
    21 # Use Python 2.3 from DarwinPorts explicitly
    22 set python              ${prefix}/bin/python2.3
    23 set pythonlib   ${prefix}/lib/python2.3
    24 
    25 # Location to install Zope products and the Zope user                 
    26 set zopehome    ${prefix}/libexec/Zope
    27 set zopeinst    ${prefix}/www/Zope
    28 set zopeprod    ${zopehome}/lib/python/Products
    29 set zopeuser    zope
    30 set zopegroup   www
    31 
    32 # Depends on Zope
    33 depends_build   path:${zopehome}:zope
     16platforms               darwin freebsd
    3417
    3518# Depends on these Zope products
    36 depends_run             path:${zopeprod}/CMFCore:zope-cmf
     19depends_lib             lib:XXX:zope-cmf
    3720
    38 platform freebsd {
    39         extract.post_args       | gtar -xf -
    40 }
    41 extract.dir             ${worksrcpath}
    42 pre-extract {
    43         file mkdir ${worksrcpath}
    44 }
    45 post-extract {
    46         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    47         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
     21variant cvs {
     22        zope.setup_cvs  collective
    4823}
    4924
    50 use_configure   no
    51 
    52 build {
    53         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    54         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    55         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    56         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    57 }
    58 
    59 destroot {
    60         if {$env(USER) != "root"} {
    61                 ui_msg "------------------------------------------------------------"
    62                 ui_msg "Note that you are not installing as root, so files installed"
    63                 ui_msg "by this port will not end up with proper ownership and"
    64                 ui_msg "likely not work correctly with Zope."
    65                 ui_msg "------------------------------------------------------------"
    66         }
    67 
    68         # Install product
    69         xinstall -d -m 0755 ${destroot}${zopeprod}
    70         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    71         if {$env(USER) == "root"} {
    72                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    73                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    74         }
    75 }
    76 
    77 variant cvs {
    78         version         [clock format [clock seconds] -format %Y%m%d]
    79         distname        ${prodname}-${version}
    80 
    81         fetch.type      cvs
    82         cvs.root        :pserver:anonymous@cvs.sourceforge.net:/cvsroot/collective
    83         cvs.module      ${prodname}
    84         cvs.dir         ${worksrcpath}
    85         pre-fetch {
    86                 file mkdir ${worksrcpath}
    87         }
    88 }
    89 
  • trunk/dports/zope/zope-localfs/Portfile

    r5878 r6352  
    1 # $Id: Portfile,v 1.4 2004/03/20 04:54:53 rshaw Exp $
     1# $Id: Portfile,v 1.5 2004/04/10 16:43:47 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-localfs
    5 version                 1.1.0
    6 revision                1
    7 categories              www zope python
     5zope.setup              LocalFS 1.1.0
     6revision                2
    87maintainers             rshaw@opendarwin.org
    98description             Zope Local File System folder
     
    1716                                        It also allows you to upload files to the file \
    1817                                        system.
    19 platforms               darwin freebsd
    20 set prodname    LocalFS
    21 homepage                http://sourceforge.net/projects/localfs
    22 master_sites    sourceforge:localfs
    23 dist_subdir             zope
    24 distname                ${prodname}-[strsed ${version} {g/[.]/-/}]
     18homepage                http://sourceforge.net/projects/[string tolower ${zope.product}]
     19master_sites    sourceforge:[string tolower ${zope.product}]
     20distname                ${zope.product}-[strsed ${version} {g/[.]/-/}]
    2521extract.suffix  .tgz
    2622checksums               md5 738c05ad9e4cb59518269bc21fa79a1d
     23platforms               darwin freebsd
    2724
    28 # Use Python 2.3 from DarwinPorts explicitly
    29 set python              ${prefix}/bin/python2.3
    30 set pythonlib   ${prefix}/lib/python2.3
    31 
    32 # Location to install Zope products and the Zope user                 
    33 set zopehome    ${prefix}/libexec/Zope
    34 set zopeinst    ${prefix}/www/Zope
    35 set zopeprod    ${zopehome}/lib/python/Products
    36 set zopeuser    zope
    37 set zopegroup   www
    38 
    39 # Depends on Zope
    40 depends_build   path:${zopehome}:zope
    41 
    42 # Depends on these Zope products
    43 # none
    44 
    45 platform freebsd {
    46         extract.post_args       | gtar -xf -
    47 }
    48 extract.dir             ${worksrcpath}
    49 pre-extract {
    50         file mkdir ${worksrcpath}
    51 }
    5225post-extract {
    53         if {[file exist ${worksrcpath}/lib/python/Products/${prodname}]} {
    54                 file rename ${worksrcpath}/lib/python/Products/${prodname} \
    55                         ${worksrcpath}/${prodname}
     26        if {[file exist ${worksrcpath}/lib/python/Products/${zope.product}]} {
     27                file rename ${worksrcpath}/lib/python/Products/${zope.product} \
     28                        ${worksrcpath}/${zope.product}
     29                file delete -force ${worksrcpath}/lib
    5630        }
    57         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    58         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
    5931}
    6032
    6133patchfiles              patch-FSObject.py
    6234
    63 use_configure   no
    64 
    65 build {
    66         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    67         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    68         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    69         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
     35variant cvs {
     36        zope.setup_cvs  sourceforge:localfs \
     37                                        src/lib/python/Products/${zope.product}
     38        patchfiles              patch-FSObject.py-cvs
    7039}
    7140
    72 destroot {
    73         if {$env(USER) != "root"} {
    74                 ui_msg "------------------------------------------------------------"
    75                 ui_msg "Note that you are not installing as root, so files installed"
    76                 ui_msg "by this port will not end up with proper ownership and"
    77                 ui_msg "likely not work correctly with Zope."
    78                 ui_msg "------------------------------------------------------------"
    79         }
    80 
    81         # Install product
    82         xinstall -d -m 0755 ${destroot}${zopeprod}
    83         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    84         if {$env(USER) == "root"} {
    85                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    86                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    87         }
    88 }
    89 
    90 variant cvs {
    91         version         [clock format [clock seconds] -format %Y%m%d]
    92         distname        ${prodname}-${version}
    93 
    94         fetch.type      cvs
    95         cvs.root        :pserver:anonymous@cvs.sourceforge.net:/cvsroot/localfs
    96         cvs.module      src/lib/python/Products/${prodname}
    97         cvs.args        -d ${prodname}
    98         cvs.dir         ${worksrcpath}
    99         pre-fetch {
    100                 file mkdir ${worksrcpath}
    101         }
    102 
    103         patchfiles      patch-FSObject.py-cvs
    104 }
    105 
  • trunk/dports/zope/zope-localizer/Portfile

    r5868 r6352  
    1 # $Id: Portfile,v 1.6 2004/03/19 20:22:44 rshaw Exp $
     1# $Id: Portfile,v 1.7 2004/04/10 16:43:48 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-localizer
    5 version                 1.0.1
    6 categories              www zope python
     5zope.setup              Localizer 1.0.1
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             Localizer product for Zope for multilingual web support
     
    1111                                        It offers solutions to internationalize the user \
    1212                                        interfaces and to manage multilingual content.
    13 platforms               darwin freebsd
    14 set prodname    Localizer
    1513homepage                http://www.localizer.org/
    1614master_sites    sourceforge:lleu
    17 dist_subdir             zope
    18 distname                ${prodname}-${version}
    1915extract.suffix  .tgz
    2016checksums               md5 87d82f24d94eee8a7fa334c4c5422b69
    21 
    22 # Use Python 2.3 from DarwinPorts explicitly
    23 set python              ${prefix}/bin/python2.3
    24 set pythonlib   ${prefix}/lib/python2.3
    25 
    26 # Location to install Zope products and the Zope user                 
    27 set zopehome    ${prefix}/libexec/Zope
    28 set zopeinst    ${prefix}/www/Zope
    29 set zopeprod    ${zopehome}/lib/python/Products
    30 set zopeuser    zope
    31 set zopegroup   www
    32 
    33 # Depends on Zope
    34 depends_build   path:${zopehome}:zope
     17platforms               darwin freebsd
    3518
    3619# Depends on these external programs
    3720depends_run             bin:xgettext:gettext
    3821
    39 platform freebsd {
    40         extract.post_args       | gtar -xf -
    41 }
    42 extract.dir             ${worksrcpath}
    43 pre-extract {
    44         file mkdir ${worksrcpath}
    45 }
    46 post-extract {
    47         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    48         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
    49 }
    50 
    5122patchfiles              patch-__init__.py
    52 
    53 use_configure   no
    54 
    55 build {
    56         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    57         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    58         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    59         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    60 }
    6123
    6224test.run                yes
    6325
    64 destroot {
    65         if {$env(USER) != "root"} {
    66                 ui_msg "------------------------------------------------------------"
    67                 ui_msg "Note that you are not installing as root, so files installed"
    68                 ui_msg "by this port will not end up with proper ownership and"
    69                 ui_msg "likely not work correctly with Zope."
    70                 ui_msg "------------------------------------------------------------"
    71         }
    72 
    73         # Install product
    74         xinstall -d -m 0755 ${destroot}${zopeprod}
    75         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    76         if {$env(USER) == "root"} {
    77                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    78                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    79         }
    80 }
    81 
    8226variant cvs {
    83         version         [clock format [clock seconds] -format %Y%m%d]
    84         distname        ${prodname}-${version}
    85 
    86         fetch.type      cvs
    87         cvs.root        :pserver:anonymous@cvs.sourceforge.net:/cvsroot/lleu
    88         cvs.module      ${prodname}
    89         cvs.dir         ${worksrcpath}
    90         pre-fetch {
    91                 file mkdir ${worksrcpath}
    92         }
    93 
     27        zope.setup_cvs          sourceforge:lleu
    9428        patchfiles-delete       ${patchfiles}
    9529}
  • trunk/dports/zope/zope-ploneerrorreporting/Portfile

    r5860 r6352  
    1 # $Id: Portfile,v 1.2 2004/03/19 07:57:05 rshaw Exp $
     1# $Id: Portfile,v 1.3 2004/04/10 16:43:48 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-ploneerrorreporting
    5 version                 0.1
    6 categories              www zope python
     5zope.setup              PloneErrorReporting 0.1
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             PloneErrorReporting product for Zope CMF/Plone
     
    1212                                        Plone.  It is designed with the goal of improving \
    1313                                        the information provided by bug reporters.
    14 platforms               darwin freebsd
    15 set prodname    PloneErrorReporting
    1614homepage                http://sourceforge.net/projects/collective
    1715master_sites    sourceforge:collective
    18 dist_subdir             zope
    19 distname                ${prodname}.[strsed ${version} {g/[.]/_/}]
     16distname                ${zope.product}.[strsed ${version} {g/[.]/_/}]
    2017checksums               md5 d11e0e0461ef8528474ec6d51bc88d7c
    21 
    22 # Use Python 2.3 from DarwinPorts explicitly
    23 set python              ${prefix}/bin/python2.3
    24 set pythonlib   ${prefix}/lib/python2.3
    25 
    26 # Location to install Zope products and the Zope user                 
    27 set zopehome    ${prefix}/libexec/Zope
    28 set zopeinst    ${prefix}/www/Zope
    29 set zopeprod    ${zopehome}/lib/python/Products
    30 set zopeuser    zope
    31 set zopegroup   www
    32 
    33 # Depends on Zope
    34 depends_build   path:${zopehome}:zope
     18platforms               darwin freebsd
    3519
    3620# Depends on these Zope products
    37 depends_run             path:${zopeprod}/CMFCore:zope-cmf
     21depends_lib             lib:XXX:zope-cmf
    3822
    39 platform freebsd {
    40         extract.post_args       | gtar -xf -
    41 }
    42 extract.dir             ${worksrcpath}
    43 pre-extract {
    44         file mkdir ${worksrcpath}
    45 }
    46 post-extract {
    47         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    48         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
     23variant cvs {
     24        zope.setup_cvs  collective
    4925}
    5026
    51 use_configure   no
    52 
    53 build {
    54         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    55         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    56         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    57         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    58 }
    59 
    60 destroot {
    61         if {$env(USER) != "root"} {
    62                 ui_msg "------------------------------------------------------------"
    63                 ui_msg "Note that you are not installing as root, so files installed"
    64                 ui_msg "by this port will not end up with proper ownership and"
    65                 ui_msg "likely not work correctly with Zope."
    66                 ui_msg "------------------------------------------------------------"
    67         }
    68 
    69         # Install product
    70         xinstall -d -m 0755 ${destroot}${zopeprod}
    71         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    72         if {$env(USER) == "root"} {
    73                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    74                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    75         }
    76 }
    77 
    78 variant cvs {
    79         version         [clock format [clock seconds] -format %Y%m%d]
    80         distname        ${prodname}-${version}
    81 
    82         fetch.type      cvs
    83         cvs.root        :pserver:anonymous@cvs.sourceforge.net:/cvsroot/collective
    84         cvs.module      ${prodname}
    85         cvs.dir         ${worksrcpath}
    86         pre-fetch {
    87                 file mkdir ${worksrcpath}
    88         }
    89 }
    90 
  • trunk/dports/zope/zope-plonewebmail/Portfile

    r5879 r6352  
    1 # $Id: Portfile,v 1.4 2004/03/20 05:50:16 rshaw Exp $
     1# $Id: Portfile,v 1.5 2004/04/10 16:43:48 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-plonewebmail
    5 version                 0.93
    6 categories              www zope python
     5zope.setup              PloneWebMail 0.93
     6revision                1
     7categories-append       mail
    78maintainers             rshaw@opendarwin.org
    89description             Plone web email product
     
    1718                                        - Basic addressbook \
    1819                                        - i18n implementation
    19 platforms               darwin freebsd
    20 set prodname    PloneWebMail
    2120homepage                http://plonewebmail.1000asa.com/
    2221master_sites    ${homepage}/Members/lortymanager/
    23 dist_subdir             zope
    24 distname                ${prodname}-${version}
    2522checksums               md5 1230f3916221fcb4a50631896501dd43
    26 
    27 # Use Python 2.3 from DarwinPorts explicitly
    28 set python              ${prefix}/bin/python2.3
    29 set pythonlib   ${prefix}/lib/python2.3
    30 
    31 # Location to install Zope products and the Zope user                 
    32 set zopehome    ${prefix}/libexec/Zope
    33 set zopeinst    ${prefix}/www/Zope
    34 set zopeprod    ${zopehome}/lib/python/Products
    35 set zopeuser    zope
    36 set zopegroup   www
    37 
    38 # Depends on Zope
    39 depends_build   path:${zopehome}:zope
     23platforms               darwin freebsd
    4024
    4125# Depends on these Zope products
    42 depends_run             path:${zopeprod}/CMFPlone:zope-cmfplone
    43 
    44 platform freebsd {
    45         extract.post_args       | gtar -xf -
    46 }
    47 extract.dir             ${worksrcpath}
    48 pre-extract {
    49         file mkdir ${worksrcpath}
    50 }
    51 post-extract {
    52         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    53         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
    54 }
     26depends_lib             lib:XXX:zope-cmfplone
    5527
    5628patchfiles              patch-top_bar.diff \
    5729                                patch-addressbook.diff
    5830post-patch {
     31        cd ${worksrcpath}
     32        system "rm -rf ${zope.product}/skins/${zope.product}/img/.xvpics"
    5933        file copy ${filespath}/addcontact.png \
    60                 ${worksrcpath}/${prodname}/skins/${prodname}/img/
     34                ${zope.product}/skins/${zope.product}/img/
     35        system "find ${worksrcpath} -type f | xargs chmod a+r"
    6136}
    6237
    63 use_configure   no
    64 
    65 build {
    66         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    67         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    68         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    69         system "find ${worksrcpath} -type f | xargs chmod a+r"
    70         system "rm -rf ${worksrcpath}/${prodname}/skins/${prodname}/img/.xvpics"
    71         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    72 }
    73 
    74 destroot {
    75         if {$env(USER) != "root"} {
    76                 ui_msg "------------------------------------------------------------"
    77                 ui_msg "Note that you are not installing as root, so files installed"
    78                 ui_msg "by this port will not end up with proper ownership and"
    79                 ui_msg "likely not work correctly with Zope."
    80                 ui_msg "------------------------------------------------------------"
    81         }
    82 
    83         # Install product
    84         xinstall -d -m 0755 ${destroot}${zopeprod}
    85         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    86         if {$env(USER) == "root"} {
    87                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    88                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    89         }
    90 }
    91 
  • trunk/dports/zope/zope-revisionmanager/Portfile

    r5881 r6352  
    1 # $Id: Portfile,v 1.4 2004/03/20 06:05:35 rshaw Exp $
     1# $Id: Portfile,v 1.5 2004/04/10 16:43:48 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-revisionmanager
    5 version                 1.3.2
    6 categories              www zope python
     5zope.setup              RevisionManager 1.3.2
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             RevisionManager is a CVS frontend for Zope.
     
    2828                                        objects in separate .properties files (when \
    2929                                        supported).
    30 platforms               darwin freebsd
    31 set prodname    RevisionManager
    32 homepage                http://zope.org/Members/philikon/${prodname}
     30homepage                http://zope.org/Members/philikon/${zope.product}
    3331master_sites    ${homepage}/${version}/
    34 dist_subdir             zope
    35 distname                ${prodname}-${version}
    3632extract.suffix  .tgz
    3733checksums               md5 0878bd0ba2bdb5d3edee68d4d94f9e44
    38 
    39 # Use Python 2.3 from DarwinPorts explicitly
    40 set python              ${prefix}/bin/python2.3
    41 set pythonlib   ${prefix}/lib/python2.3
    42 
    43 # Location to install Zope products and the Zope user                 
    44 set zopehome    ${prefix}/libexec/Zope
    45 set zopeinst    ${prefix}/www/Zope
    46 set zopeprod    ${zopehome}/lib/python/Products
    47 set zopeuser    zope
    48 set zopegroup   www
    49 
    50 # Depends on Zope
    51 depends_build   path:${zopehome}:zope
     34platforms               darwin freebsd
    5235
    5336# Depends on these Zope products and external programs
    54 depends_run             path:${zopeprod}/ZopeTree:zope-zopetree \
    55                                 bin:cvs:cvs
     37depends_lib             lib:XXX:zope-zopetree
     38depends_run             bin:cvs:cvs
    5639
    57 platform freebsd {
    58         extract.post_args       | gtar -xf -
    59 }
    60 extract.dir             ${worksrcpath}
    61 pre-extract {
    62         file mkdir ${worksrcpath}
    63 }
    64 post-extract {
    65         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    66         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
    67 }
    68 
    69 use_configure   no
    70 
    71 build {
    72         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    73         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    74         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    75         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    76 }
    77 
    78 destroot {
    79         if {$env(USER) != "root"} {
    80                 ui_msg "------------------------------------------------------------"
    81                 ui_msg "Note that you are not installing as root, so files installed"
    82                 ui_msg "by this port will not end up with proper ownership and"
    83                 ui_msg "likely not work correctly with Zope."
    84                 ui_msg "------------------------------------------------------------"
    85         }
    86 
    87         # Install product
    88         xinstall -d -m 0755 ${destroot}${zopeprod}
    89         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    90         if {$env(USER) == "root"} {
    91                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    92                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    93         }
    94 }
    95 
  • trunk/dports/zope/zope-stripogram/Portfile

    r5869 r6352  
    1 # $Id: Portfile,v 1.6 2004/03/19 20:33:14 rshaw Exp $
     1# $Id: Portfile,v 1.7 2004/04/10 16:43:49 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-stripogram
    5 version                 1.4
    6 categories              www zope python
     5zope.setup              stripogram 1.4
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             Strip-o-Gram HTML Conversion Library for Zope
    99long_description        This is a library for converting HTML to Plain Text \
    1010                                        and stripping specified tags from HTML.
    11 platforms               darwin freebsd
    12 set prodname    stripogram
    1311homepage                http://www.zope.org/Members/chrisw/StripOGram
    1412master_sites    sourceforge:squishdot
    15 dist_subdir             zope
    16 distname                ${prodname}-[strsed ${version} {g/[.]/-/}]
     13distname                ${zope.product}-[strsed ${version} {g/[.]/-/}]
    1714extract.suffix  .tgz
    1815checksums               md5 d09a0fa325ec2ae9a6a94b0b4aabd408
     16platforms               darwin freebsd
    1917
    20 # Use Python 2.3 from DarwinPorts explicitly
    21 set python              ${prefix}/bin/python2.3
    22 set pythonlib   ${prefix}/lib/python2.3
    23 
    24 # Location to install Zope products and the Zope user                 
    25 set zopehome    ${prefix}/libexec/Zope
    26 set zopeinst    ${prefix}/www/Zope
    27 set zopeprod    ${zopehome}/lib/python/Products
    28 set zopeuser    zope
    29 set zopegroup   www
    30 
    31 # Depends on Zope
    32 depends_build   path:${zopehome}:zope
    33 
    34 # Depends on these Zope products
    35 # none
    36 
    37 platform freebsd {
    38         extract.post_args       | gtar -xf -
    39 }
    40 extract.dir             ${worksrcpath}
    41 pre-extract {
    42         file mkdir ${worksrcpath}
    43 }
    44 post-extract {
    45         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    46         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
     18variant cvs {
     19        zope.setup_cvs  sourceforge:squishdot
    4720}
    4821
    49 use_configure   no
    50 
    51 build {
    52         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    53         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    54         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    55         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    56 }
    57 
    58 destroot {
    59         if {$env(USER) != "root"} {
    60                 ui_msg "------------------------------------------------------------"
    61                 ui_msg "Note that you are not installing as root, so files installed"
    62                 ui_msg "by this port will not end up with proper ownership and"
    63                 ui_msg "likely not work correctly with Zope."
    64                 ui_msg "------------------------------------------------------------"
    65         }
    66 
    67         # Install product
    68         xinstall -d -m 0755 ${destroot}${zopeprod}
    69         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    70         if {$env(USER) == "root"} {
    71                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    72                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    73         }
    74 }
    75 
    76 variant cvs {
    77         version         [clock format [clock seconds] -format %Y%m%d]
    78         distname        ${prodname}-${version}
    79 
    80         fetch.type      cvs
    81         cvs.root        :pserver:anonymous@cvs.sourceforge.net:/cvsroot/squishdot
    82         cvs.module      ${prodname}
    83         cvs.dir         ${worksrcpath}
    84         pre-fetch {
    85                 file mkdir ${worksrcpath}
    86         }
    87 }
    88 
  • trunk/dports/zope/zope-usersniffer/Portfile

    r5882 r6352  
    1 # $Id: Portfile,v 1.4 2004/03/20 06:20:56 rshaw Exp $
     1# $Id: Portfile,v 1.5 2004/04/10 16:43:49 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-usersniffer
    5 version                 1.21
    6 categories              www python zope
     5zope.setup              UserSniffer 1.21 {} {UserSniffer.py UserSniffer.pyc}
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             Zope extension that returns remote client info
     
    1010                                        REMOTE_USER_AGENT. Used primarly for ZopeEditManager \
    1111                                        support on Mac OS X.
     12homepage                http://zope.org/Members/svenasse/${zope.product}
     13master_sites    ${homepage}/${version}
     14distname                ${zope.product}
     15extract.suffix  .tgz
     16zope.need_subdir        yes
     17checksums               md5 db661c65c07cd5f60df67ca7104781f2
    1218platforms               darwin freebsd
    13 set prodname    UserSniffer
    14 homepage                http://zope.org/Members/svenasse/${prodname}
    15 master_sites    ${homepage}/${version}
    16 dist_subdir             zope
    17 distname                ${prodname}
    18 extract.suffix  .tgz
    19 checksums               md5 db661c65c07cd5f60df67ca7104781f2
    2019
    21 # Use Python 2.3 from DarwinPorts explicitly
    22 set python              ${prefix}/bin/python2.3
    23 set pythonlib   ${prefix}/lib/python2.3
    24 
    25 # Location to install Zope extensions and the Zope user                 
    26 set zopehome    ${prefix}/libexec/Zope
    27 set zopeinst    ${prefix}/www/Zope
    28 set zopeext             ${zopeinst}/Extensions
    29 set zopeuser    zope
    30 set zopegroup   www
    31 
    32 # Depends on Zope
    33 depends_build   path:${zopehome}:zope
    34 
    35 # Depends on these Zope products
    36 # none
    37 
    38 platform freebsd {
    39         extract.post_args       | gtar -xf -
    40 }
    41 extract.dir             ${worksrcpath}
    42 pre-extract {
    43         file mkdir ${worksrcpath}
    44 }
    45 post-extract {
    46         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    47         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
    48 }
    49 
    50 use_configure   no
    51 
    52 build {
    53         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    54         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    55         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    56         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    57 }
    58 
    59 destroot {
    60         if {$env(USER) != "root"} {
    61                 ui_msg "------------------------------------------------------------"
    62                 ui_msg "Note that you are not installing as root, so files installed"
    63                 ui_msg "by this port will not end up with proper ownership and"
    64                 ui_msg "likely not work correctly with Zope."
    65                 ui_msg "------------------------------------------------------------"
    66         }
    67 
    68         # Install extension
    69         xinstall -d -m 0755 ${destroot}${zopeext}
    70         system "cp -R ${worksrcpath}/${prodname}.* ${destroot}${zopeext}"
    71         if {$env(USER) == "root"} {
    72                 system "chown -R ${zopeuser} ${destroot}${zopeinst}"
    73                 system "chgrp -R ${zopegroup} ${destroot}${zopeinst}"
    74         }
     20post-install {
    7521        ui_msg "------------------------------------------------------------"
    7622        ui_msg "To complete the installation, you must add an External"
     
    7824        ui_msg "attributes:"
    7925        ui_msg ""
    80         ui_msg "\tId: UserSniffer"
    81         ui_msg "\tModule Name: UserSniffer"
    82         ui_msg "\tFunction Name: UserSniffer"
     26        ui_msg "\tId: ${zope.product}"
     27        ui_msg "\tModule Name: ${zope.product}"
     28        ui_msg "\tFunction Name: ${zope.product}"
    8329        ui_msg ""
    84         ui_msg "See ${zopeext}/${distname}.py for further details."
     30        ui_msg "See the following file for further details:"
     31        ui_msg "\t${zope.exthome}/${zope.product}.py"
    8532        ui_msg "------------------------------------------------------------"
    8633}
  • trunk/dports/zope/zope-zopetree/Portfile

    r5880 r6352  
    1 # $Id: Portfile,v 1.4 2004/03/20 05:59:01 rshaw Exp $
     1# $Id: Portfile,v 1.5 2004/04/10 16:43:49 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-zopetree
    5 version                 1.3
    6 categories              www zope python
     5zope.setup              ZopeTree 1.3
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             This is the ZopeTree Zope Product.
     
    1010                                        mainly for use with ZPT. It is intended to be \
    1111                                        simpler to use than ZTUtils.Tree.
    12 platforms               darwin freebsd
    13 set prodname    ZopeTree
    14 homepage                http://zope.org/Members/philikon/${prodname}
     12homepage                http://zope.org/Members/philikon/${zope.product}
    1513master_sites    ${homepage}/${version}/
    16 dist_subdir             zope
    17 distname                ${prodname}-${version}
    1814extract.suffix  .tgz
    1915checksums               md5 455f4c7cca5b2ecf4aa6ac9c305d2831
     16platforms               darwin freebsd
    2017
    21 # Use Python 2.3 from DarwinPorts explicitly
    22 set python              ${prefix}/bin/python2.3
    23 set pythonlib   ${prefix}/lib/python2.3
    24 
    25 # Location to install Zope products and the Zope user                 
    26 set zopehome    ${prefix}/libexec/Zope
    27 set zopeinst    ${prefix}/www/Zope
    28 set zopeprod    ${zopehome}/lib/python/Products
    29 set zopeuser    zope
    30 set zopegroup   www
    31 
    32 # Depends on Zope
    33 depends_build   path:${zopehome}:zope
    34 
    35 # Depends on these Zope products
    36 # none
    37 
    38 platform freebsd {
    39         extract.post_args       | gtar -xf -
    40 }
    41 extract.dir             ${worksrcpath}
    42 pre-extract {
    43         file mkdir ${worksrcpath}
    44 }
    45 post-extract {
    46         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    47         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
    48 }
    49 
    50 use_configure   no
    51 
    52 build {
    53         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    54         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    55         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    56         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    57 }
    58 
    59 destroot {
    60         if {$env(USER) != "root"} {
    61                 ui_msg "------------------------------------------------------------"
    62                 ui_msg "Note that you are not installing as root, so files installed"
    63                 ui_msg "by this port will not end up with proper ownership and"
    64                 ui_msg "likely not work correctly with Zope."
    65                 ui_msg "------------------------------------------------------------"
    66         }
    67 
    68         # Install product
    69         xinstall -d -m 0755 ${destroot}${zopeprod}
    70         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    71         if {$env(USER) == "root"} {
    72                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    73                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    74         }
    75 }
    76 
  • trunk/dports/zope/zope-zphotoslides/Portfile

    r5882 r6352  
    1 # $Id: Portfile,v 1.7 2004/03/20 06:16:59 rshaw Exp $
     1# $Id: Portfile,v 1.8 2004/04/10 16:43:49 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-zphotoslides
    5 version                 1.3
    6 categories              www zope python graphics
     5zope.setup              ZPhotoSlides 1.3
     6revision                1
     7categories-append       graphics
    78maintainers             rshaw@opendarwin.org
    89description             Zope web photo gallery product
     
    1415                                        rotate, resize...) within your browser and \
    1516                                        accessible wherever you are.
    16 platforms               darwin freebsd
    17 set prodname    ZPhotoSlides
    1817homepage                http://www.zphotoslides.org/
    1918master_sites    sourceforge:zphotoslides
    20 dist_subdir             zope
    21 distname                ${prodname}-${version}
    2219checksums               md5 c2be3084f144ecfe1a97b4b6439fe659
    23 
    24 # Use Python 2.3 from DarwinPorts explicitly
    25 set python              ${prefix}/bin/python2.3
    26 set pythonlib   ${prefix}/lib/python2.3
    27 
    28 # Location to install Zope products and the Zope user                 
    29 set zopehome    ${prefix}/libexec/Zope
    30 set zopeinst    ${prefix}/www/Zope
    31 set zopeprod    ${zopehome}/lib/python/Products
    32 set zopeuser    zope
    33 set zopegroup   www
    34 
    35 # Depends on Zope
    36 depends_build   path:${zopehome}:zope
     20platforms               darwin freebsd
    3721
    3822# Depends on these Zope products, Python modules, and external programs
    39 depends_run             path:${zopeprod}/Localizer:zope-localizer \
    40                                 path:${zopeprod}/stripogram:zope-stripogram \
    41                                 path:${pythonlib}/site-packages/PIL:py-pil \
    42                                 bin:convert:ImageMagick
    43 
    44 platform freebsd {
    45         extract.post_args       | gtar -xf -
    46 }
    47 extract.dir             ${worksrcpath}
    48 pre-extract {
    49         file mkdir ${worksrcpath}
    50 }
    51 post-extract {
    52         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    53         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
    54 }
     23depends_lib             lib:XXX:zope-localizer \
     24                                lib:XXX:zope-stripogram \
     25                                lib:XXX:py-pil
     26depends_run             bin:convert:ImageMagick
    5527
    5628patchfiles              patch-__init__.py
    5729post-patch {
    5830        reinplace "s|/usr/local|${prefix}|" \
    59                 ${worksrcpath}/${prodname}/ZPhotoSlides.py
     31                ${worksrcpath}/${zope.product}/${zope.product}.py
    6032}
    6133
    6234use_configure   no
    6335
    64 build {
    65         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    66         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    67         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    68         file rename -force ${worksrcpath}/${prodname}/batch_slides.py \
    69                 ${worksrcpath}/${prodname}/batch_slides.py.txt
    70         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    71         file rename -force ${worksrcpath}/${prodname}/batch_slides.py.txt \
    72                 ${worksrcpath}/${prodname}/batch_slides.py
     36pre-build {
     37        file rename -force ${worksrcpath}/${zope.product}/batch_slides.py \
     38                ${worksrcpath}/${zope.product}/batch_slides.py.txt
     39}
     40post-build {
     41        file rename -force ${worksrcpath}/${zope.product}/batch_slides.py.txt \
     42                ${worksrcpath}/${zope.product}/batch_slides.py
    7343}
    7444
    75 destroot {
    76         if {$env(USER) != "root"} {
    77                 ui_msg "------------------------------------------------------------"
    78                 ui_msg "Note that you are not installing as root, so files installed"
    79                 ui_msg "by this port will not end up with proper ownership and"
    80                 ui_msg "likely not work correctly with Zope."
    81                 ui_msg "------------------------------------------------------------"
    82         }
    83 
    84         # Install product
    85         xinstall -d -m 0755 ${destroot}${zopeprod}
    86         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    87         if {$env(USER) == "root"} {
    88                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    89                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    90         }
    91 }
    92 
  • trunk/dports/zope/zope-zsyncer/Portfile

    r5867 r6352  
    1 # $Id: Portfile,v 1.4 2004/03/19 20:05:55 rshaw Exp $
     1# $Id: Portfile,v 1.5 2004/04/10 16:43:50 rshaw Exp $
    22PortSystem 1.0
     3PortGroup zope 1.0
    34
    4 name                    zope-zsyncer
    5 version                 0.5.1
    6 categories              www zope python
     5zope.setup              ZSyncer 0.5.1
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             Zope object synchronization product
     
    1111                                        (destination). It is a lot more convenient than the \
    1212                                        old manual export / transfer / import procedure.
    13 platforms               darwin freebsd
    14 set prodname    ZSyncer
    1513homepage                http://sourceforge.net/projects/zsyncer
    1614master_sites    sourceforge:zsyncer
    17 dist_subdir             zope
    18 distname                ${prodname}-${version}
    1915extract.suffix  .tgz
    2016checksums               md5 68a2915facf142b2099db27370309a29
     17platforms               darwin freebsd
    2118
    22 # Use Python 2.3 from DarwinPorts explicitly
    23 set python              ${prefix}/bin/python2.3
    24 set pythonlib   ${prefix}/lib/python2.3
    25 
    26 # Location to install Zope products and the Zope user                 
    27 set zopehome    ${prefix}/libexec/Zope
    28 set zopeinst    ${prefix}/www/Zope
    29 set zopeprod    ${zopehome}/lib/python/Products
    30 set zopeuser    zope
    31 set zopegroup   www
    32 
    33 # Depends on Zope
    34 depends_build   path:${zopehome}:zope
    35 
    36 # Depends on these Zope products
    37 # none
    38 
    39 platform freebsd {
    40         extract.post_args       | gtar -xf -
    41 }
    42 extract.dir             ${worksrcpath}
    43 pre-extract {
    44         file mkdir ${worksrcpath}
    45 }
    46 post-extract {
    47         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    48         system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
     19variant cvs {
     20        zope.setup_cvs  sourceforge
    4921}
    5022
    51 use_configure   no
    52 
    53 build {
    54         file copy -force ${zopehome}/bin/compilezpy.py ${workpath}
    55         reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py
    56         system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm"
    57         system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py"
    58 }
    59 
    60 destroot {
    61         if {$env(USER) != "root"} {
    62                 ui_msg "------------------------------------------------------------"
    63                 ui_msg "Note that you are not installing as root, so files installed"
    64                 ui_msg "by this port will not end up with proper ownership and"
    65                 ui_msg "likely not work correctly with Zope."
    66                 ui_msg "------------------------------------------------------------"
    67         }
    68 
    69         # Install product
    70         xinstall -d -m 0755 ${destroot}${zopeprod}
    71         system "cp -R ${worksrcpath}/${prodname} ${destroot}${zopeprod}"
    72         if {$env(USER) == "root"} {
    73                 system "chown -R ${zopeuser} ${destroot}${zopehome}"
    74                 system "chgrp -R ${zopegroup} ${destroot}${zopehome}"
    75         }
    76 }
    77 
    78 variant cvs {
    79         version         [clock format [clock seconds] -format %Y%m%d]
    80         distname        ${prodname}-${version}
    81 
    82         fetch.type      cvs
    83         cvs.root        :pserver:anonymous@cvs.sourceforge.net:/cvsroot/zsyncer
    84         cvs.module      ${prodname}
    85         cvs.dir         ${worksrcpath}
    86         pre-fetch {
    87                 file mkdir ${worksrcpath}
    88         }
    89 }
    90 
Note: See TracChangeset for help on using the changeset viewer.