55ffb37406
automatically, so no need to do it ourselves.
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2001/12/02 06:56:47 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= webalizer-2.01-06-src
|
|
PKGNAME= webalizer-2.01.06
|
|
CATEGORIES= www
|
|
MASTER_SITES= ftp://ftp.mrunix.net/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_BUILDLINK_ONLY= YES
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --enable-dns
|
|
CONFIGURE_ENV+= ac_cv_GDLIB=${BUILDLINK_DIR}/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/buildlink.mk"
|
|
.include "../../mk/x11.buildlink.mk"
|
|
.include "../../mk/bsd.pkg.install.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|