Ticket #12383: bakefile_add_docs.patch

File bakefile_add_docs.patch, 562 bytes (added by boeyms@…, 17 years ago)
  • dports/devel/bakefile/Portfile

    diff --git a/dports/devel/bakefile/Portfile b/dports/devel/bakefile/Portfile
    index 2c55f1f..fecc939 100644
    a b master_sites ${homepage} \ 
    1919                sourceforge
    2020
    2121checksums       md5 42d5591cecbf628ecc5ee4e5e2ee809c
     22post-destroot {
     23        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
     24        file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name}
     25        fs-traverse docfile ${destroot}${prefix}/share/doc/${name} {
     26                file attributes ${docfile} -permissions go-w
     27        }
     28}