# -*- 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 # $Id$ PortSystem 1.0 name webalizer version 2.21-02 revision 4 categories www maintainers pobox.com:mike.mclean description The Webalizer is a fast, free web server log file \ analysis program long_description The Webalizer is a fast, free web server log file \ analysis program. It produces highly detailed, easily configurable \ usage reports in HTML format, for viewing with a standard web \ browser. platforms darwin homepage http://www.webalizer.org/ use_bzip2 yes distfiles ${name}-${version}-src${extract.suffix} master_sites ftp://ftp.mrunix.net/pub/webalizer checksums md5 29af2558a5564493df654b6310b152e7 \ sha1 b637ebf1eb459e03c052c24d7da3e5f0794e2230 \ rmd160 c7d48acf6e2c1fedfd04eac30214a76db7c84aee depends_lib port:gd2 \ port:zlib \ port:libpng \ port:db47 configure.args --mandir=${prefix}/share/man \ --with-etcdir=${prefix}/etc \ --with-gdlib=${prefix}/lib \ --with-gd=${prefix}/include \ --with-z-inc=${prefix}/include \ --with-zlib=${prefix}/lib \ --with-png-inc=${prefix}/include \ --with-png=${prefix}/lib \ --with-db=${prefix}/include/db47 \ --with-dblib=${prefix}/lib/db47 destroot.destdir prefix=${destroot}${prefix} \ ETCDIR=${destroot}${prefix}/etc \ MANDIR=${destroot}${prefix}/share/man/man1 post-destroot { xinstall -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -v -W ${worksrcpath} \ CHANGES COPYING Copyright country-codes.txt \ DNS.README README README.FIRST \ ${destroot}${prefix}/share/doc/${name} } variant static description {Build as static executable [default=no]} { configure.args-append --enable-static } variant debug description {Compile with debugging code [default=no]} { configure.args-append --enable-debug } variant no_largefile description {omit support for large files [default=no]} { configure.args-append --disable-largefile } variant no_dns description {Disable DNS/GeoDB lookup code [default=no => DNS/GeoDB enabled, bdb libs required]} { configure.args-append --disable-dns configure.args-delete --with-db=${prefix}/include/db47 \ --with-dblib=${prefix}/lib/db47 depends_lib-delete port:db47 } variant with_bz2 description {Enable BZip2 decompression code [default=no]} { configure.args-append --enable-bz2 depends_lib-append port:bzip2 } variant with_geoip conflicts no_dns description {Enable GeoIP geolocation code [default=no]} { configure.args-append --enable-geoip depends_lib-append port:libgeoip }