Ticket #2574: Portfile.diff

File Portfile.diff, 1.9 KB (added by simon@…, 19 years ago)

the Portfile patch

  • Portfile

    Portfile.diff‹¾
    Žœ¾
    ŽžmBIN‚Y#Index: Portfile
    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/graphics/jhead/Portfile,v
    retrieving revision 1.8
    diff -u -r1.8 Portfile
     
    22
    33PortSystem 1.0
    44name                    jhead
    5 version                 2.2
     5version                 2.3
    66categories              graphics
    77platforms               darwin
    88maintainers             simon@cotsworth.com
     
    2020                                be used to launch other programs, similar in style to \
    2121                                the UNIX find command, but much simpler.
    2222
    23 homepage        http://www.sentex.net/~mwandel/${name}/
     23homepage                http://www.sentex.net/~mwandel/${name}/
    2424master_sites    ${homepage}
    25 checksums       md5 ba88cad2deaa40d7c1caadc518bcb7e7
     25checksums               md5 b27c37f1edd25e5f416914ed46ba11fb \
     26                                sha1 37e09315499b66777e5b2b8918e78ff4ca51258d
    2627
    2728use_configure   no
    2829
     30build.args              CFLAGS=-O3
    2931build.target    jhead
    3032
    3133destroot        {
    32         set _d  ${destroot}${prefix}
    33         set _w  ${worksrcpath}
    34         set _dd ${_d}/share/doc/${name}
    35 
    36         xinstall -m 0755 ${_w}/${name} ${_d}/bin
    37 
    38         system "gunzip ${_w}/${name}.1.gz"
    39         xinstall -m 0644 ${_w}/${name}.1 ${_d}/share/man/man1
    40 
    41         xinstall -d -m 0755 ${_dd}
    42         foreach doc [glob ${_w}/*.\[h-z\]\[a-z\]*] {
    43                 xinstall -m 0644 $doc ${_dd}
     34        xinstall -m 0755 ${worksrcpath}/${name} \
     35          ${destroot}${prefix}/bin
     36
     37        system "gunzip ${worksrcpath}/${name}.1.gz"
     38        xinstall -m 0644 ${worksrcpath}/${name}.1 \
     39          ${destroot}${prefix}/share/man/man1
     40
     41        xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
     42        foreach doc [glob ${worksrcpath}/*.\[h-z\]\[a-z\]*] {
     43                xinstall -m 0644 $doc \
     44                  ${destroot}${prefix}/share/doc/${name}
    4445        }
    4546}