source: trunk/dports/www/webalizer/Portfile @ 6854

Last change on this file since 6854 was 6854, checked in by matt, 16 years ago

Bug:
Submitted by: stephan@… (Stephan Hochhaus)
Reviewed by: matt@
Approved by:
Obtained from:

Fix the manpages installation path.
Cleaned up the portfile.
Install more docs.

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1# $Id: Portfile,v 1.3 2004/04/30 22:17:36 matt Exp $
2
3PortSystem 1.0
4name                    webalizer
5version                 2.01-10
6revision                1
7categories              www
8maintainers             mike.mclean@pobox.com
9description             The Webalizer is a fast, free web server log file analysis program
10
11long_description        The Webalizer is a fast, free web server log file analysis program. \
12                        It produces highly detailed, easily configurable usage reports in HTML format, \
13                        for viewing with a standard web browser.
14
15platforms               darwin
16homepage                http://www.mrunix.net/webalizer/
17extract.suffix          .tgz
18distfiles               ${name}-${version}-src${extract.suffix}
19master_sites            ftp://ftp.mrunix.net/pub/webalizer
20checksums               md5 9217595005aec46a505e1fb349052a8e
21
22depends_lib             lib:libgd.2:gd2 \
23                        lib:libz:zlib \
24                        lib:libpng:libpng
25
26configure.args          --mandir=${prefix}/share/man \
27                        --with-etcdir=${prefix}/etc \
28                        --with-gdlib=${prefix}/lib \
29                        --with-gd=${prefix}/include \
30                        --with-z-inc=${prefix}/include \
31                        --with-zlib=${prefix}/lib \
32                        --with-png-inc=${prefix}/include \
33                        --with-png=${prefix}/lib
34                       
35destroot.destdir        prefix=${destroot}${prefix} \
36                        ETCDIR=${destroot}${prefix}/etc \
37                        MANDIR=${destroot}${prefix}/share/man/man1
38
39post-destroot {         xinstall -d ${destroot}${prefix}/share/doc/${name}
40                        xinstall -m 644 -v -W ${worksrcpath} \
41                                CHANGES COPYING Copyright country-codes.txt \
42                                DNS.README README README.FIRST \
43                                ${destroot}${prefix}/share/doc/${name}
44                        }
45
46variant static          { configure.args-append --enable-static }
47variant debug           { configure.args-append --enable-debug }
48
Note: See TracBrowser for help on using the repository browser.