Changeset 5326


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

prefer xinstall over file mkdir/copy

Location:
trunk/dports/python
Files:
9 edited

Legend:

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

    r4084 r5326  
    1 # $Id: Portfile,v 1.2 2003/11/29 15:21:56 uid50019 Exp $
     1# $Id: Portfile,v 1.3 2004/02/08 13:55:49 mww Exp $
    22
    33PortSystem 1.0
     
    3636
    3737post-destroot   {
    38         file mkdir ${destroot}${prefix}/share/doc
     38        xinstall -d -m 755 ${destroot}${prefix}/share/doc
    3939        file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}
    40         file copy ${worksrcpath}/CONTRIB ${worksrcpath}/LICENSE \
    41                 ${worksrcpath}/NEWS ${worksrcpath}/PKG-INFO \
    42                 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
     40        xinstall -m 644 -W ${worksrcpath} CONTRIB LICENSE NEW README \
     41                ${destroot}${prefix}/share/doc/${name}
    4342}
  • trunk/dports/python/py-contract/Portfile

    r4585 r5326  
    1 # $Id: Portfile,v 1.2 2004/01/11 22:39:10 mww Exp $
     1# $Id: Portfile,v 1.3 2004/02/08 13:55:49 mww Exp $
    22
    33PortSystem 1.0
     
    3939
    4040post-destroot   {
    41         file mkdir ${destroot}${prefix}/share/doc/${name}
    42         file copy ${worksrcpath}/CHANGELOG ${worksrcpath}/pep-0316.txt \
    43                 ${worksrcpath}/README ${worksrcpath}/examples \
     41        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
     42        xinstall -m 644 -W ${worksrcpath} CHANGELOG pep-0316.txt README \
    4443                ${destroot}${prefix}/share/doc/${name}
     44        xinstall -m 644 -W ${worksrcpath}/examples circbuf.py sort.py \
     45                ${destroot}${prefix}/share/doc/${name}/examples
    4546}
  • trunk/dports/python/py-ctypes/Portfile

    r4619 r5326  
    1 # $Id: Portfile,v 1.1 2004/01/13 21:06:30 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:55:50 mww Exp $
    22
    33PortSystem 1.0
     
    3838
    3939post-destroot   {
    40         file mkdir ${destroot}${prefix}/share/doc/
    41         file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
    42         file copy ${worksrcpath}/samples ${destroot}${prefix}/share/doc/${name}
     40        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     41        xinstall -m 644 -W ${worksrcpath}/docs changes.html changes.stx \
     42                com.stx ctypes.html default.css faq.html faq.stx index.stx \
     43                internals.html internals.stx reference.html reference.stx \
     44                sum_sample.stx tutorial.html tutorial.stx \
     45                ${destroot}${prefix}/share/doc/${name}
    4346}
  • trunk/dports/python/py-dbo/Portfile

    r5113 r5326  
    1 # $Id: Portfile,v 1.1 2004/01/31 14:50:06 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:55:50 mww Exp $
    22
    33PortSystem 1.0
     
    2929
    3030post-destroot   {
    31         file mkdir ${destroot}${prefix}/share/doc/${name}/examples
    32         file copy ${worksrcpath}/CREDITS ${worksrcpath}/README \
    33                 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${name}
    34         file copy ${worksrcpath}/example.py \
     31        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
     32        xinstall -m 644 -W ${worksrcpath} CREDITS README LICENSE \
     33                ${destroot}${prefix}/share/doc/${name}
     34        xinstall -m 644 ${worksrcpath}/example.py \
    3535                ${destroot}${prefix}/share/doc/${name}/examples
    3636}
  • trunk/dports/python/py-ftputil/Portfile

    r5038 r5326  
    1 # $Id: Portfile,v 1.2 2004/01/26 18:35:14 mww Exp $
     1# $Id: Portfile,v 1.3 2004/02/08 13:55:49 mww Exp $
    22
    33PortSystem 1.0
     
    3838
    3939post-destroot   {
    40         file mkdir ${destroot}${prefix}/share/doc/${name}
    41         file copy ${worksrcpath}/ftputil.txt \
     40        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     41        xinstall -m 644 ${worksrcpath}/ftputil.txt \
    4242                ${destroot}${prefix}/share/doc/${name}
    4343}
  • trunk/dports/python/py-gadfly/Portfile

    r5111 r5326  
    1 # $Id: Portfile,v 1.1 2004/01/31 13:44:39 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:55:49 mww Exp $
    22
    33PortSystem 1.0
     
    3333                ${destroot}${prefix}/bin/gfplus \
    3434                ${destroot}${prefix}/bin/gfserver
    35         file delete -force ${worksrcpath}/doc/build_html.py \
    36                 ${worksrcpath}/doc/demo
    37         file mkdir ${destroot}${prefix}/share/doc/
    38         file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
    39         file copy ${worksrcpath}/CHANGES.txt ${worksrcpath}/COPYRIGHT.txt \
    40                 ${worksrcpath}/README.txt ${worksrcpath}/TODO.txt \
     35        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     36        xinstall -m 644 -W ${worksrcpath}/doc announcement.txt faq.txt \
     37                gadfly.txt gfplus.txt index.txt installation.txt kjbuckets.txt \
     38                kwParsing.txt network.txt recover.txt sql.txt structure.txt \
    4139                ${destroot}${prefix}/share/doc/${name}
     40        xinstall -m 644 -W ${worksrcpath} CHANGES.txt COPYRIGHT.txt README.txt \
     41                TODO.txt ${destroot}${prefix}/share/doc/${name}
    4242}
  • trunk/dports/python/py-irclib/Portfile

    r4565 r5326  
    1 # $Id: Portfile,v 1.1 2004/01/10 15:02:11 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:55:49 mww Exp $
    22
    33PortSystem 1.0
     
    3131
    3232post-destroot   {
    33         file mkdir ${destroot}${prefix}/share/doc/${name}/examples
    34         file copy ${worksrcpath}/COPYING ${worksrcpath}/ChangeLog \
    35                 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
    36         file copy ${worksrcpath}/dccreceive ${worksrcpath}/dccsend \
    37                 ${worksrcpath}/irccat ${worksrcpath}/irccat2 \
    38                 ${worksrcpath}/servermap ${worksrcpath}/testbot.py \
     33        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
     34        xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog README \
     35                ${destroot}${prefix}/share/doc/${name}
     36        xinstall -m 644 -W ${worksrcpath} dccreceive dccsend irccat irccat2 \
     37                servermap testbot.py \
    3938                ${destroot}${prefix}/share/doc/${name}/examples
    4039}
  • trunk/dports/python/py-ldap/Portfile

    r4258 r5326  
    1 # $Id: Portfile,v 1.1 2003/12/21 00:23:17 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:55:50 mww Exp $
    22
    33PortSystem 1.0
     
    4141
    4242post-destroot   {
    43         file mkdir ${destroot}${prefix}/share/doc/${name}
    44         file copy ${worksrcpath}/CHANGES ${worksrcpath}/INSTALL \
    45                 ${worksrcpath}/LICENCE ${worksrcpath}/MANIFEST.in \
    46                 ${worksrcpath}/PKG-INFO ${worksrcpath}/README \
    47                 ${worksrcpath}/TODO ${destroot}${prefix}/share/doc/${name}
     43        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     44        xinstall -m 644 -W ${worksrcpath} CHANGES INSTALL LICENCE README TODO \
     45                ${destroot}${prefix}/share/doc/${name}
    4846}
  • trunk/dports/python/py-levenshtein/Portfile

    r4567 r5326  
    1 # $Id: Portfile,v 1.1 2004/01/10 19:06:40 mww Exp $
     1# $Id: Portfile,v 1.2 2004/02/08 13:55:48 mww Exp $
    22
    33PortSystem 1.0
     
    3333
    3434post-destroot   {
    35         file mkdir ${destroot}${prefix}/share/doc/${name}/examples
    36         file copy ${worksrcpath}/COPYING ${worksrcpath}/NEWS \
    37                 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
    38         file copy ${worksrcpath}/StringMatcher.py \
     35        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
     36        xinstall -m 644 -W ${worksrcpath} COPYING NEWS README \
     37                ${destroot}${prefix}/share/doc/${name}
     38        xinstall -m 644 ${worksrcpath}/StringMatcher.py \
    3939                ${destroot}${prefix}/share/doc/${name}/examples
    4040}
Note: See TracChangeset for help on using the changeset viewer.