Ticket #25411: webalizer.2.21-02.patch
File webalizer.2.21-02.patch, 4.2 KB (added by mike.mclean@…, 14 years ago) |
---|
-
Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 4 6 name webalizer 5 version 2. 01-107 version 2.21-02 6 8 revision 1 7 9 categories www 8 10 maintainers pobox.com:mike.mclean 9 11 description The Webalizer is a fast, free web server log file analysis program 10 12 11 13 long_description The Webalizer is a fast, free web server log file analysis program. \ 12 13 for viewing with a standard web browser. 14 It produces highly detailed, easily configurable usage reports in HTML format, \ 15 for viewing with a standard web browser. 14 16 15 17 platforms darwin 16 homepage http://www.mrunix.net/webalizer/ 17 extract.suffix .tgz 18 19 homepage http://www.webalizer.org/ 20 21 use_bzip2 yes 22 18 23 distfiles ${name}-${version}-src${extract.suffix} 19 master_sites ftp://ftp.mrunix.net/pub/webalizer \20 ftp://ftp.mrunix.net/pub/webalizer/old21 checksums md5 9217595005aec46a505e1fb349052a8e22 24 23 fetch.user anonymous 24 fetch.password anonymous@example.com 25 master_sites ftp://ftp.mrunix.net/pub/webalizer 25 26 26 depends_lib lib:libgd.2:gd2\27 lib:libz:zlib\28 lib:libpng:libpng 27 checksums md5 29af2558a5564493df654b6310b152e7 \ 28 sha1 b637ebf1eb459e03c052c24d7da3e5f0794e2230 \ 29 rmd160 c7d48acf6e2c1fedfd04eac30214a76db7c84aee 29 30 30 configure.args --mandir=${prefix}/share/man \ 31 --with-etcdir=${prefix}/etc \ 32 --with-gdlib=${prefix}/lib \ 33 --with-gd=${prefix}/include \ 34 --with-z-inc=${prefix}/include \ 35 --with-zlib=${prefix}/lib \ 36 --with-png-inc=${prefix}/include \ 37 --with-png=${prefix}/lib 38 31 fetch.user anonymous 32 fetch.password anonymous@example.com 33 34 depends_lib port:gd2 \ 35 port:zlib \ 36 port:libpng \ 37 port:db47 38 39 configure.args --mandir=${prefix}/share/man \ 40 --with-etcdir=${prefix}/etc \ 41 --with-gdlib=${prefix}/lib \ 42 --with-gd=${prefix}/include \ 43 --with-z-inc=${prefix}/include \ 44 --with-zlib=${prefix}/lib \ 45 --with-png-inc=${prefix}/include \ 46 --with-png=${prefix}/lib 47 39 48 destroot.destdir prefix=${destroot}${prefix} \ 40 41 49 ETCDIR=${destroot}${prefix}/etc \ 50 MANDIR=${destroot}${prefix}/share/man/man1 42 51 43 post-destroot { xinstall -d ${destroot}${prefix}/share/doc/${name} 44 xinstall -m 644 -v -W ${worksrcpath} \ 45 CHANGES COPYING Copyright country-codes.txt \ 46 DNS.README README README.FIRST \ 47 ${destroot}${prefix}/share/doc/${name} 48 } 52 post-destroot { 53 xinstall -d ${destroot}${prefix}/share/doc/${name} 54 xinstall -m 644 -v -W ${worksrcpath} \ 55 CHANGES COPYING Copyright country-codes.txt \ 56 DNS.README README README.FIRST \ 57 ${destroot}${prefix}/share/doc/${name} 58 } 49 59 50 variant static { configure.args-append --enable-static } 51 variant debug { configure.args-append --enable-debug } 60 variant static description {Build as static executable [default=no]} { 61 configure.args-append --enable-static 62 } 52 63 64 variant debug description {Compile with debugging code [default=no]} { 65 configure.args-append --enable-debug 66 } 67 68 variant no_largefile description {omit support for large files [default=no]} { 69 configure.args-append --disable-largefile 70 } 71 72 variant no_dns description {Disable DNS/GeoDB lookup code [default=no => DNS/GeoDB enabled, bdb libs required]} { 73 configure.args-append --disable-dns 74 depends_lib-delete port:db47 75 } 76 77 variant with_bz2 description {Enable BZip2 decompression code [default=no]} { 78 configure.args-append --enable-bz2 79 depends_lib-append port:bzip2 80 } 81 82 variant with_geoip conflicts no_dns description {Enable GeoIP geolocation code [default=no]} { 83 configure.args-append --enable-geoip 84 depends_lib-append port:libgeoip 85 }