Ticket #4783: Portfile.diff
File Portfile.diff, 1.4 KB (added by yves@…, 19 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name dillo 5 version 0.8.4 6 revision 1 5 version 0.8.5 7 6 categories www 8 7 maintainers gwright@opendarwin.org 9 8 platforms darwin … … 32 31 use_bzip2 yes 33 32 34 33 homepage http://www.dillo.org/ 35 master_sites ${homepage}/download/ 34 master_sites ${homepage}/download/:source \ 35 ${homepage}/Icons/:icon 36 36 37 checksums md5 ebf17d6cca1fccc8bc80acdf05e736a3 37 distfiles ${distname}${extract.suffix}:source \ 38 ProgramIcon48.png:icon 39 checksums ${distname}${extract.suffix} \ 40 md5 d0ab7fa1d40b310deb891388604188f8 \ 41 ProgramIcon48.png \ 42 md5 2ca5fb738b70051cac592acef3cb56e1 43 extract.only ${distname}${extract.suffix} 38 44 39 45 depends_lib lib:libjpeg:jpeg lib:libpng:libpng lib:libgtk.1:gtk1 46 depends_run bin:wget:wget 40 47 41 48 patchfiles patch-configure patch-http.c 49 post-patch { 50 reinplace "s|panel_size=medium|panel_size=small|" \ 51 ${worksrcpath}/dillorc 52 } 42 53 43 54 configure.env CPPFLAGS="-no-cpp-precomp -I${prefix}/include" \ 44 55 LDFLAGS="-L${prefix}/lib" … … 47 58 --with-jpeg-lib=${prefix}/lib 48 59 49 60 pre-destroot { system "strip ${worksrcpath}/src/dillo" } 61 post-destroot { 62 xinstall -d ${destroot}${prefix}/share/pixmaps 63 xinstall -m 644 ${distpath}/ProgramIcon48.png \ 64 ${destroot}${prefix}/share/pixmaps/dillo.png 65 } 50 66