Ticket #4783: Portfile.diff

File Portfile.diff, 1.4 KB (added by yves@…, 19 years ago)

Portfile.diff

  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name            dillo
    5 version         0.8.4
    6 revision        1
     5version         0.8.5
    76categories      www
    87maintainers     gwright@opendarwin.org
    98platforms       darwin
     
    3231use_bzip2       yes
    3332
    3433homepage        http://www.dillo.org/
    35 master_sites    ${homepage}/download/
     34master_sites    ${homepage}/download/:source \
     35                ${homepage}/Icons/:icon
    3636
    37 checksums       md5 ebf17d6cca1fccc8bc80acdf05e736a3
     37distfiles  ${distname}${extract.suffix}:source \
     38           ProgramIcon48.png:icon
     39checksums       ${distname}${extract.suffix} \
     40                md5 d0ab7fa1d40b310deb891388604188f8 \
     41            ProgramIcon48.png \
     42                md5 2ca5fb738b70051cac592acef3cb56e1
     43extract.only ${distname}${extract.suffix}             
    3844
    3945depends_lib     lib:libjpeg:jpeg lib:libpng:libpng lib:libgtk.1:gtk1
     46depends_run bin:wget:wget
    4047
    4148patchfiles      patch-configure patch-http.c
     49post-patch {
     50    reinplace "s|panel_size=medium|panel_size=small|" \
     51        ${worksrcpath}/dillorc
     52}
    4253
    4354configure.env   CPPFLAGS="-no-cpp-precomp -I${prefix}/include" \
    4455                LDFLAGS="-L${prefix}/lib"
     
    4758                --with-jpeg-lib=${prefix}/lib
    4859
    4960pre-destroot    { system "strip ${worksrcpath}/src/dillo" }
     61post-destroot {
     62    xinstall -d ${destroot}${prefix}/share/pixmaps
     63    xinstall -m 644 ${distpath}/ProgramIcon48.png \
     64        ${destroot}${prefix}/share/pixmaps/dillo.png
     65}
    5066