Changeset 15853


Ignore:
Timestamp:
Jan 14, 2006, 12:03:54 AM (12 years ago)
Author:
toby
Message:

doc fixes
Bug: 6466, 6467

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/archivers/p7zip/Portfile

    r15581 r15853  
    1 # $Id: Portfile,v 1.9 2005/12/22 00:35:50 toby Exp $
     1# $Id: Portfile,v 1.10 2006/01/14 00:03:54 toby Exp $
    22
    33PortSystem 1.0
     
    2121worksrcdir       ${name}_${version}
    2222
     23patch {
     24        reinplace "s|/usr|${prefix}|" \
     25                ${worksrcpath}/man1/7z.1 \
     26                ${worksrcpath}/man1/7za.1
     27}
     28
    2329configure {
    2430        if {${os.platform} == "darwin"} {
     
    3238
    3339post-destroot {
    34         file mkdir ${destroot}${prefix}/share/doc
    35         file copy ${worksrcpath}/DOCS ${destroot}${prefix}/share/doc/${name}
     40        set docDir ${destroot}${prefix}/share/doc/${name}
     41        file mkdir ${docDir}
     42        file copy ${worksrcpath}/DOCS ${docDir}
     43        file attributes ${docDir}/DOCS -permissions 0755
     44        file attributes ${docDir}/DOCS/7zC.txt -permissions 0644
     45        file attributes ${docDir}/DOCS/copying.txt -permissions 0644
    3646}
Note: See TracChangeset for help on using the changeset viewer.