Changeset 3975


Ignore:
Timestamp:
Nov 17, 2003, 10:14:50 AM (17 years ago)
Author:
mww
Message:

replaced 'system' cmds

File:
1 edited

Legend:

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

    r3612 r3975  
    1 # $Id: Portfile,v 1.4 2003/10/08 12:51:28 fkr Exp $
     1# $Id: Portfile,v 1.5 2003/11/17 10:14:50 mww Exp $
    22
    33PortSystem 1.0
     
    2727destroot.cmd    python setup.py
    2828destroot.destdir        --prefix=${destroot}${prefix}
    29 
    30 post-destroot   { system "cd ${worksrcpath} \
    31                 && install -m 755 -d \
    32                         ${destroot}${prefix}/share/doc/${name}/examples \
    33                 && cp -r readme.txt doc/* database/* \
    34                         ${destroot}${prefix}/share/doc/${name}/ \
    35                 && cp -r log4py.conf log4py-test.py log4py-classtest.py \
    36                         ${destroot}${prefix}/share/doc/${name}/examples" }
     29post-destroot   {
     30        file mkdir ${destroot}${prefix}/share/doc/
     31        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
     32        file copy ${worksrcpath}/database ${worksrcpath}/readme.txt \
     33                ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
     34        file mkdir ${destroot}${prefix}/share/doc/${name}/examples
     35        file copy ${worksrcpath}/log4py.conf ${worksrcpath}/log4py-test.py \
     36                ${worksrcpath}/log4py-classtest.py \
     37                ${destroot}${prefix}/share/doc/${name}/examples
     38}
Note: See TracChangeset for help on using the changeset viewer.