Changeset 5324


Ignore:
Timestamp:
Feb 8, 2004, 12:55:28 PM (17 years ago)
Author:
mww
Message:

replace file... with xinstall

Location:
trunk/dports/python
Files:
5 edited

Legend:

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

    r4697 r5324  
    1 # $Id: Portfile,v 1.1 2004/01/14 23:35:31 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 12:55:27 mww Exp $
    22
    33PortSystem 1.0
     
    3737
    3838post-destroot   {
    39         file mkdir ${destroot}${prefix}/share/doc
    40         file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
    41         file copy ${worksrcpath}/ChangeLog ${worksrcpath}/License.txt \
    42                 ${worksrcpath}/README ${worksrcpath}/THANKS \
     39        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     40        xinstall -m 644 -W ${worksrcpath}/doc cmmi10-19.png cmsy10-21.png \
     41                cmtt10-20.png tpg.css tpg.html tpg11.html tpg13.html \
     42                tpg14.html tpg19.html tpg6.html tpg7.html tpg8.html tpg9.html \
     43                tpgch1.html tpgch10.html tpgch11.html tpgch2.html tpgch3.html \
     44                tpgch4.html tpgch5.html tpgch6.html tpgch7.html tpgch8.html \
     45                tpgch9.html tpgli1.html tpgli2.html tpgpa1.html tpgpa2.html \
     46                tpgpa3.html ${destroot}${prefix}/share/doc/${name}
     47        xinstall -m 644 -W ${worksrcpath} ChangeLog License.txt README THANKS \
    4348                ${destroot}${prefix}/share/doc/${name}
    4449}
  • trunk/dports/python/py-unit/Portfile

    r4069 r5324  
    1 # $Id: Portfile,v 1.5 2003/11/27 17:10:03 mww Exp $
     1# $Id: Portfile,v 1.6 2004/02/08 12:55:28 mww Exp $
    22
    33PortSystem 1.0
     
    2727destroot.destdir        --prefix=${destroot}${prefix}
    2828post-destroot   {
    29         file mkdir ${destroot}${prefix}/share/doc/
    30         file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
    31         file copy ${worksrcpath}/examples ${worksrcpath}/CHANGES \
     29        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
     30        xinstall -m 644 -W ${worksrcpath} doc/PyUnit.html CHANGES \
    3231                ${destroot}${prefix}/share/doc/${name}
     32        xinstall -m 644 -W ${worksrcpath}/examples README alltests.py \
     33                listtests.py manytests.py widget.py widgettests.py \
     34                withjpython.py ${destroot}${prefix}/share/doc/${name}/examples
    3335}
  • trunk/dports/python/py-unum/Portfile

    r4764 r5324  
    1 # $Id: Portfile,v 1.2 2004/01/16 20:45:56 mww Exp $
     1# $Id: Portfile,v 1.3 2004/02/08 12:55:28 mww Exp $
    22
    33PortSystem 1.0
     
    4040
    4141post-destroot   {
    42         file mkdir ${destroot}${prefix}/share/doc/${name}
    43         file copy ${worksrcpath}/README.txt \
     42        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     43        xinstall -m 644 ${worksrcpath}/README.txt \
    4444                ${destroot}${prefix}/share/doc/${name}
    4545}
  • trunk/dports/python/py-xmldiff/Portfile

    r4691 r5324  
    1 # $Id: Portfile,v 1.1 2004/01/14 21:07:42 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 12:55:27 mww Exp $
    22
    33PortSystem 1.0
     
    3232
    3333post-destroot   {
    34         file mkdir ${destroot}${prefix}/share/doc
    35         file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
    36         file copy ${worksrcpath}/ChangeLog ${worksrcpath}/README \
    37                 ${worksrcpath}/README.xmlrev ${worksrcpath}/TODO \
     34        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     35        xinstall -m 644 -W ${worksrcpath} ChangeLog README README.xmlrev TODO \
     36                doc/API.html doc/API.txt doc/HELP.html doc/HELP.txt \
    3837                ${destroot}${prefix}/share/doc/${name}
    3938}
  • trunk/dports/python/py-zsi/Portfile

    r5118 r5324  
    1 # $Id: Portfile,v 1.1 2004/02/01 01:16:59 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 12:55:28 mww Exp $
    22
    33PortSystem 1.0
     
    3232
    3333post-destroot   {
    34         file mkdir ${destroot}${prefix}/share/doc/${name}
    35         file copy ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
     34        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     35        xinstall -m 644 ${worksrcpath}/README \
     36                ${destroot}${prefix}/share/doc/${name}
    3637}
Note: See TracChangeset for help on using the changeset viewer.