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

prefer xinstall over file copy/mkdir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.