Changeset 5325


Ignore:
Timestamp:
Feb 8, 2004, 1:24:57 PM (16 years ago)
Author:
mww
Message:

prefer xinstall over file copy/mkdir

Location:
trunk/dports/python
Files:
13 edited

Legend:

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

    r4582 r5325  
    1 # $Id: Portfile,v 1.1 2004/01/11 22:10:35 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:24:57 mww Exp $
    22
    33PortSystem 1.0
     
    3333
    3434post-destroot   {
    35         file mkdir ${destroot}${prefix}/share/doc/${name}/examples
    36         file copy ${worksrcpath}/COPYING ${worksrcpath}/ChangeLog \
    37                 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
    38         file copy ${worksrcpath}/Example \
     35        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
     36        xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog README \
     37                ${destroot}${prefix}/share/doc/${name}
     38        xinstall -m 644 ${worksrcpath}/Example \
    3939                ${destroot}${prefix}/share/doc/${name}/examples/example.py
    4040}
  • trunk/dports/python/py-chart/Portfile

    r4082 r5325  
    1 # $Id: Portfile,v 1.2 2003/11/29 14:44:24 mww Exp $
     1# $Id: Portfile,v 1.3 2004/02/08 13:24:55 mww Exp $
    22
    33PortSystem 1.0
     
    3131
    3232post-destroot   {
    33         file mkdir ${destroot}${prefix}/share/doc/
     33        xinstall -d -m 755 ${destroot}${prefix}/share/doc/
    3434        file copy ${worksrcpath}/doc/pychart \
    3535                ${destroot}${prefix}/share/doc/${name}
    36         file copy ${worksrcpath}/COPYING ${worksrcpath}/README \
     36        xinstall -m 644 -W ${worksrcpath} COPYING README \
    3737                ${destroot}${prefix}/share/doc/${name}
    3838}
  • trunk/dports/python/py-checker/Portfile

    r5088 r5325  
    1 # $Id: Portfile,v 1.5 2004/01/29 22:25:06 mww Exp $
     1# $Id: Portfile,v 1.6 2004/02/08 13:24:57 mww Exp $
    22
    33PortSystem 1.0
     
    3737
    3838pre-destroot    {
    39         file mkdir ${destroot}${prefix}/share/doc/${name}
    40         file copy ${worksrcpath}/CHANGELOG ${worksrcpath}/COPYRIGHT \
    41                 ${worksrcpath}/KNOWN_BUGS ${worksrcpath}/MAINTAINERS \
    42                 ${worksrcpath}/README ${worksrcpath}/TODO \
    43                 ${worksrcpath}/VERSION ${destroot}${prefix}/share/doc/${name}
     39        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     40        xinstall -m 644 -W ${worksrcpath} CHANGELOG COPYRIGHT KNOWN_BUGS \
     41                MAINTAINERS README TODO VERSION \
     42                ${destroot}${prefix}/share/doc/${name}
    4443}
    4544
  • trunk/dports/python/py-cheetah/Portfile

    r4263 r5325  
    1 # $Id: Portfile,v 1.1 2003/12/21 20:27:05 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:24:56 mww Exp $
    22
    33PortSystem 1.0
     
    3232
    3333post-destroot   {
    34         file mkdir ${destroot}${prefix}/share/doc/${name}
    35         file copy ${worksrcpath}/CHANGES ${worksrcpath}/LICENSE \
    36                 ${worksrcpath}/PKG-INFO ${worksrcpath}/README \
    37                 ${worksrcpath}/TODO ${destroot}${prefix}/share/doc/${name}
     34        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     35        xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README TODO \
     36                ${destroot}${prefix}/share/doc/${name}
    3837}
  • trunk/dports/python/py-constraint/Portfile

    r4730 r5325  
    1 # $Id: Portfile,v 1.2 2004/01/16 00:02:59 mww Exp $
     1# $Id: Portfile,v 1.3 2004/02/08 13:24:55 mww Exp $
    22
    33PortSystem 1.0
     
    2929
    3030post-destroot   {
    31         file mkdir ${destroot}${prefix}/share/doc
    32         file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
    33         file copy ${worksrcpath}/COPYING ${worksrcpath}/ChangeLog \
    34                 ${worksrcpath}/README ${worksrcpath}/examples \
    35                 ${destroot}${prefix}/share/doc/${name}
     31        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
     32        xinstall -m 644 -W ${worksrcpath} doc/CONTRIBUTORS README \
     33                doc/documentation.html doc/documentation.xml COPYING \
     34                ChangeLog ${destroot}${prefix}/share/doc/${name}
     35        xinstall -m 644 -W ${worksrcpath}/examples conferences.py menza.py \
     36                menza2.py menza_brute_force.py money.py money2.py queens.perf \
     37                queens.png queens.py \
     38                ${destroot}${prefix}/share/doc/${name}/examples
    3639}
  • trunk/dports/python/py-crypto/Portfile

    r4071 r5325  
    1 # $Id: Portfile,v 1.1 2003/11/27 20:25:46 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:24:54 mww Exp $
    22
    33PortSystem 1.0
     
    3434
    3535post-destroot   {
    36         file mkdir ${destroot}${prefix}/share/doc/
    37         file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}
    38         file copy ${worksrcpath}/ACKS ${worksrcpath}/ChangeLog \
    39                 ${worksrcpath}/LICENSE ${worksrcpath}/MANIFEST \
    40                 ${worksrcpath}/PKG-INFO ${worksrcpath}/README \
    41                 ${worksrcpath}/TODO ${destroot}${prefix}/share/doc/${name}
     36        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     37        xinstall -m 644 -W ${worksrcpath} ACKS ChangeLog LICENSE README TODO \
     38                ${destroot}${prefix}/share/doc/${name}
    4239}
  • trunk/dports/python/py-empy/Portfile

    r4085 r5325  
    1 # $Id: Portfile,v 1.2 2003/11/29 15:24:31 mww Exp $
     1# $Id: Portfile,v 1.3 2004/02/08 13:24:54 mww Exp $
    22
    33PortSystem 1.0
     
    3232
    3333post-destroot   {
    34         file mkdir ${destroot}${prefix}/share/doc/
     34        xinstall -d -m 755 ${destroot}${prefix}/share/doc/
    3535        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
    3636}
  • trunk/dports/python/py-epydoc/Portfile

    r4620 r5325  
    1 # $Id: Portfile,v 1.1 2004/01/13 21:08:05 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:24:54 mww Exp $
    22
    33PortSystem 1.0
     
    3333
    3434post-destroot   {
    35         file mkdir ${destroot}${prefix}/share/doc/
     35        xinstall -d -m 755 ${destroot}${prefix}/share/doc/
    3636        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
    37         file copy ${worksrcpath}/LICENSE.TXT ${worksrcpath}/README.TXT \
     37        xinstall -m 644 -W ${worksrcpath} LICENSE.TXT README.TXT \
    3838                ${destroot}${prefix}/share/doc/${name}
    3939}
  • trunk/dports/python/py-fpconst/Portfile

    r4274 r5325  
    1 # $Id: Portfile,v 1.1 2003/12/22 19:50:29 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:24:55 mww Exp $
    22
    33PortSystem 1.0
     
    3131
    3232post-destroot   {
    33         file mkdir ${destroot}${prefix}/share/doc/${name}
    34         file copy ${worksrcpath}/PKG-INFO ${worksrcpath}/pep-0754.txt \
    35                 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
     33        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     34        xinstall -m 644 -W ${worksrcpath} pep-0754.txt README \
     35                ${destroot}${prefix}/share/doc/${name}
    3636}
  • trunk/dports/python/py-sql/Portfile

    r5009 r5325  
    1 # $Id: Portfile,v 1.1 2004/01/25 23:30:00 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:24:57 mww Exp $
    22
    33PortSystem 1.0
     
    3131
    3232post-destroot   {
    33         file mkdir ${destroot}${prefix}/share/doc/${name}
    34         file copy ${worksrcpath}/INSTALL ${worksrcpath}/NEWS \
    35                 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
     33        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     34        xinstall -m 644 -W ${worksrcpath} INSTALL NEWS README \
     35                ${destroot}${prefix}/share/doc/${name}
    3636}
  • trunk/dports/python/py-sqlobject/Portfile

    r4736 r5325  
    1 # $Id: Portfile,v 1.1 2004/01/16 02:06:38 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:24:56 mww Exp $
    22
    33PortSystem 1.0
     
    4141
    4242post-destroot   {
    43         file mkdir ${destroot}${prefix}/share/doc
    44         file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
    45         file copy ${worksrcpath}/README.txt ${worksrcpath}/examples \
     43        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
     44        xinstall -m 644 -W ${worksrcpath}/docs Authors.html Authors.txt \
     45                FAQ.html FAQ.txt News.html News.txt SQLBuilder.html \
     46                SQLBuilder.txt SQLObject.html SQLObject.txt default.css \
    4647                ${destroot}${prefix}/share/doc/${name}
     48        xinstall -m 644 ${worksrcpath}/README.txt \
     49                ${destroot}${prefix}/share/doc/${name}
     50        xinstall -m 644 -W ${worksrcpath}/examples class_dbi.py codebits.py \
     51                config.py examplestripper.py leftjoin.py people.py \
     52                personaddress.py prueba.py setup.py simpleperson.py styles.py \
     53                userrole.py ${destroot}${prefix}/share/doc/${name}/examples
    4754}
  • trunk/dports/python/py-ssh/Portfile

    r4737 r5325  
    1 # $Id: Portfile,v 1.2 2004/01/16 02:08:43 mww Exp $
     1# $Id: Portfile,v 1.3 2004/02/08 13:24:56 mww Exp $
    22
    33PortSystem 1.0
     
    3333
    3434post-destroot   {
    35         file mkdir ${destroot}${prefix}/share/doc/${name}
    36         file copy ${worksrcpath}/README.txt ${worksrcpath}/license.txt \
     35        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     36        xinstall -m 644 -W ${worksrcpath} README.txt license.txt \
    3737                ${destroot}${prefix}/share/doc/${name}
    3838}
  • trunk/dports/python/py-yenc/Portfile

    r4759 r5325  
    1 # $Id: Portfile,v 1.1 2004/01/16 17:34:04 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:24:56 mww Exp $
    22
    33PortSystem 1.0
     
    2828
    2929post-destroot   {
    30         file mkdir ${destroot}${prefix}/share/doc/${name}
    31         file copy ${worksrcpath}/CHANGES ${worksrcpath}/COPYING \
    32                 ${worksrcpath}/README ${worksrcpath}/TODO \
    33                 ${worksrcpath}/doc/yenc-draft.1.3.txt ${worksrcpath}/examples \
     30        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
     31        xinstall -m 644 -W ${worksrcpath} CHANGES COPYING README TODO \
    3432                ${destroot}${prefix}/share/doc/${name}
     33        xinstall -m 644 -W ${worksrcpath}/examples logo.gif logo.yenc \
     34                ydecode.py yencode.py \
     35                ${destroot}${prefix}/share/doc/${name}/examples
    3536}
Note: See TracChangeset for help on using the changeset viewer.