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

prefer xinstall over file mkdir/copy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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}
Note: See TracChangeset for help on using the changeset viewer.