Changeset 3957


Ignore:
Timestamp:
Nov 16, 2003, 5:42:35 PM (17 years ago)
Author:
mww
Message:

removed 'system' cmds

Location:
trunk/dports/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-gd/Portfile

    r3620 r3957  
    1 # $Id: Portfile,v 1.4 2003/10/08 19:43:16 mww Exp $
     1# $Id: Portfile,v 1.5 2003/11/16 17:40:06 mww Exp $
    22
    33PortSystem 1.0
     
    2222                lib:libgd.2:gd2
    2323
    24 configure       { reinplace "s|PREFIX|${prefix}|g" ${worksrcpath}/Setup.py }
     24configure       {
     25        reinplace "s|PREFIX|${prefix}|g" ${worksrcpath}/Setup.py
     26}
    2527
    26 build.cmd       python Setup.py
     28build.env       LDFLAGS="-L${prefix}/lib"
     29build.cmd       ${prefix}/bin/python Setup.py
    2730build.target    build
    2831
    29 destroot.cmd    python Setup.py
     32destroot.cmd    ${prefix}/bin/python Setup.py
    3033destroot.destdir        --prefix=${destroot}${prefix}
    3134
    32 post-destroot   { system "cd ${worksrcpath} \
    33         && install -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples \
    34         && cp README PKG-INFO gd-ref.html install_notes.html \
    35                 ${destroot}${prefix}/share/doc/${name}/ \
    36         && cp gddemo.py ${destroot}${prefix}/share/doc/${name}/examples/" }
     35post-destroot   {
     36        file mkdir ${destroot}${prefix}/share/doc/${name}/examples
     37        file copy ${worksrcpath}/README ${worksrcpath}/PKG-INFO \
     38                ${worksrcpath}/gd-ref.html ${worksrcpath}/install_notes.html \
     39                ${destroot}${prefix}/share/doc/${name}/
     40        file copy ${worksrcpath}/gddemo.py \
     41                ${destroot}${prefix}/share/doc/${name}/examples/
     42}
    3743
  • trunk/dports/python/py-ro/Portfile

    r3612 r3957  
    1 # $Id: Portfile,v 1.2 2003/10/08 12:51:33 fkr Exp $
     1# $Id: Portfile,v 1.3 2003/11/16 17:42:35 mww Exp $
    22
    33PortSystem 1.0
     
    1515                independent Distributed Object Technology and has much more to \
    1616                offer than Pyro or RMI. But Pyro is small, simple and free \
    17                 (MIT software license)!
     17                (MIT software license).
    1818
    1919homepage        http://pyro.sourceforge.net/
     
    2525depends_lib     bin:python:python
    2626
    27 post-patch      { reinplace "s|DESTROOT|${destroot}${prefix}|g" \
    28                         ${worksrcpath}/setup.cfg }
    29 
    30 use_configure   no
     27configure       {
     28        reinplace "s|DESTROOT|${destroot}${prefix}|g" ${worksrcpath}/setup.cfg
     29}
    3130
    3231build.cmd       python setup.py
     
    3635destroot.destdir        --prefix=${destroot}${prefix}
    3736
    38 post-destroot   { system "cd ${worksrcpath} \
    39                 && install -m 755 -d ${destroot}${prefix}/share/doc/${name} \
    40                 && cp -r README.txt PKG-INFO LICENSE TODO docs/* \
    41                         ${destroot}${prefix}/share/doc/${name}" }
     37post-destroot   {
     38        file mkdir ${destroot}${prefix}/share/doc/
     39        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
     40        file copy ${worksrcpath}/README.txt ${worksrcpath}/PKG-INFO \
     41                ${worksrcpath}/TODO ${destroot}${prefix}/share/doc/${name}
     42}
Note: See TracChangeset for help on using the changeset viewer.