blob: 94687e85b9c84c64fb37e37c39de1d5dac484c87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.21 2002/08/25 21:52:25 jlam Exp $
#
DISTNAME= webalizer-2.01-09-src
PKGNAME= webalizer-2.1.9
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/ \
ftp://webalizer.dexa.org/pub/webalizer/ \
http://gd.tuwien.ac.at/infosys/logeval/webalizer/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.mrunix.net/webalizer/
COMMENT= Web server log file analysis program
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
USE_BUILDLINK2= YES
USE_X11= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --enable-dns
CONFIGURE_ENV+= ac_cv_GDLIB=${BUILDLINK_PREFIX.gd}/include
EGDIR= ${PREFIX}/share/examples
CONF_FILES= ${EGDIR}/webalizer.conf.sample ${PKG_SYSCONFDIR}/webalizer.conf
post-build:
cd ${WRKSRC}; for file in sample.conf webalizer.1; do \
${SED} -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" \
$${file} > $${file}.fixed; \
${MV} -f ${WRKSRC}/$${file}.fixed ${WRKSRC}/$${file}; \
done
.include "../../graphics/gd/buildlink2.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
|