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