2012-01-19 10:31:02 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.36 2012/01/19 15:31:02 giovanni Exp $
|
2001-03-28 14:35:25 -05:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= web server log file analysis program
|
2000-05-25 21:34:27 -04:00
|
|
|
|
2011-05-24 12:32:08 -04:00
|
|
|
V= 29
|
|
|
|
DISTNAME= webalizer-2.23-05-RB${V}-src
|
|
|
|
PKGNAME= webalizer-2.23.05.${V}
|
2012-01-19 10:31:02 -05:00
|
|
|
REVISION= 2
|
2005-10-12 01:41:07 -04:00
|
|
|
CATEGORIES= www
|
2011-01-05 03:19:18 -05:00
|
|
|
MASTER_SITES= http://www.patrickfrei.ch/webalizer/rb${V}/
|
2000-08-29 12:54:46 -04:00
|
|
|
|
2008-01-30 15:06:48 -05:00
|
|
|
HOMEPAGE= http://www.patrickfrei.ch/webalizer/
|
2000-05-25 21:34:27 -04:00
|
|
|
|
2011-01-05 03:19:18 -05:00
|
|
|
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
|
|
|
|
|
|
|
|
LIB_DEPENDS= databases/db/v4 \
|
|
|
|
graphics/gd \
|
2010-11-22 03:36:47 -05:00
|
|
|
net/GeoIP
|
2000-05-25 21:34:27 -04:00
|
|
|
|
2011-01-05 03:19:18 -05:00
|
|
|
# GPLv2
|
2012-01-19 10:31:02 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2000-05-25 21:34:27 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2012-01-19 10:31:02 -05:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
WANTLIB= GeoIP>=5 c db gd>=18 m png z
|
2005-10-12 01:41:07 -04:00
|
|
|
|
2011-05-24 12:32:08 -04:00
|
|
|
WRKDIST= ${WRKDIR}/webalizer-2.23-05-RB${V}
|
2000-05-25 21:34:27 -04:00
|
|
|
|
2012-01-19 10:31:02 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --enable-dns \
|
|
|
|
--enable-geoip \
|
2011-01-05 03:19:18 -05:00
|
|
|
--with-db=${LOCALBASE}/include/db4 \
|
|
|
|
--with-dblib=${LOCALBASE}/lib/db4 \
|
2012-01-19 10:31:02 -05:00
|
|
|
--with-gd=${LOCALBASE}/include
|
2005-10-12 01:41:07 -04:00
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
|
2002-03-25 09:56:54 -05:00
|
|
|
|
2001-11-13 15:14:39 -05:00
|
|
|
NO_REGRESS= Yes
|
2000-05-25 21:34:27 -04:00
|
|
|
|
2008-01-30 15:06:48 -05:00
|
|
|
pre-patch:
|
|
|
|
tr -d \\r <${WRKSRC}/sample.conf >${WRKSRC}/sample.conf.new && \
|
|
|
|
mv ${WRKSRC}/sample.conf.new ${WRKSRC}/sample.conf
|
|
|
|
|
2000-05-25 21:34:27 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/webalizer
|
2002-09-12 10:15:07 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/DNS.README ${PREFIX}/share/doc/webalizer/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/webalizer/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.FIRST ${PREFIX}/share/doc/webalizer/
|
2000-11-19 19:46:31 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/webalizer
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample.conf \
|
2002-09-12 10:15:07 -04:00
|
|
|
${PREFIX}/share/examples/webalizer/
|
2000-05-25 21:34:27 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|