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

prefer xinstall over file copy/mkdir

File:
1 edited

Legend:

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