the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: webalizer
Version: 2.01-10
Revision: 6
BuildDepends: gd2 (>= 2.0.35-11), libpng15
Depends: gd2-shlibs (>= 2.0.35-11), libpng15-shlibs
Source: ftp://ftp.mrunix.net/pub/%n/%n-%v-src.tgz
ConfigureParams: --with-mandir=%i/share/man --with-etcdir=%p/etc --enable-dns
SourceDirectory: %n-%v
PatchScript: <<
# autoconf sets prefix in $prefix not $PREFIX; using wrong var
# breaks hand-coded detection tests (cf. using standard AC_*
# that DTRT)
perl -pi -e 's/\{PREFIX\}/\{prefix\}/g' configure
<<
InstallScript: <<
mkdir -p %i/share/man/man1
mkdir -p %i/etc
mkdir -p %i/bin
make install prefix=%i MANDIR=%i/share/man/man1 ETCDIR=%i/etc
cp %i/etc/%n.conf.sample %i/etc/%n.conf
ln -sf %p/bin/%n %i/bin/webazolver
<<
ConfFiles: %p/etc/%n.conf
DocFiles: sample.conf:%n.conf.sample CHANGES COPYING Copyright INSTALL README*
Description: Web/ftp/common log processing utility
License: GPL
HomePage: http://www.mrunix.net/webalizer/
Maintainer: Rudy Richter
Source-MD5: 9217595005aec46a505e1fb349052a8e