Ticket #2276: Portfile.diff

File Portfile.diff, 1.1 KB (added by simon@…, 20 years ago)

Portfile patch

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/graphics/jhead/Portfile,v
    retrieving revision 1.7
    diff -u -r1.7 Portfile
     
    22
    33PortSystem 1.0
    44name                    jhead
    5 version                 2.1
     5version                 2.2
    66categories              graphics
    77platforms               darwin
    88maintainers             simon@cotsworth.com
     
    2222
    2323homepage        http://www.sentex.net/~mwandel/${name}/
    2424master_sites    ${homepage}
    25 checksums       md5 882081eb1f41cb3d3791f8dc87a27e0f
     25checksums       md5 ba88cad2deaa40d7c1caadc518bcb7e7
    2626
    2727configure       {}
    2828
     
    3333        set _w  ${worksrcpath}
    3434        set _dd ${_d}/share/doc/${name}
    3535
    36         system "gunzip ${_w}/${name}.1.gz"
    37 
    3836        xinstall -m 0755 ${_w}/${name} ${_d}/bin
     37
     38        system "gunzip ${_w}/${name}.1.gz"
    3939        xinstall -m 0644 ${_w}/${name}.1 ${_d}/share/man/man1
    40         xinstall -d -m 0755 ${_dd}
    4140
    42         foreach doc [glob ${_w}/*.html ${_w}/*.txt] {
     41        xinstall -d -m 0755 ${_dd}
     42        foreach doc [glob ${_w}/*.\[h-z\]\[a-z\]*] {
    4343                xinstall -m 0644 $doc ${_dd}
    4444        }
    4545}