2009-09-15 13:37:21 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2009/09/15 17:37:22 jasper 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
|
|
|
|
2008-01-30 15:06:48 -05:00
|
|
|
DISTNAME= webalizer-2.01-10-RB21-src
|
2009-09-15 13:37:21 -04:00
|
|
|
PKGNAME= webalizer-2.01.10p8
|
2005-10-12 01:41:07 -04:00
|
|
|
CATEGORIES= www
|
2008-01-30 15:06:48 -05:00
|
|
|
MASTER_SITES= http://www.patrickfrei.ch/webalizer/rb21/
|
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
|
|
|
|
2008-04-24 04:51:54 -04:00
|
|
|
LIB_DEPENDS= gd.>=18::graphics/gd \
|
|
|
|
GeoIP.>=5::net/GeoIP
|
2000-05-25 21:34:27 -04:00
|
|
|
|
2003-10-18 15:44:41 -04:00
|
|
|
# GPL
|
2000-05-25 21:34:27 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-10-24 01:07:04 -04:00
|
|
|
WANTLIB= c jpeg m png z
|
2000-05-25 21:34:27 -04:00
|
|
|
|
2005-10-12 01:41:07 -04:00
|
|
|
MODULES= converters/libiconv
|
|
|
|
|
2008-01-30 15:06:48 -05:00
|
|
|
WRKDIST= ${WRKDIR}/webalizer-2.01-10-RB21
|
2000-05-25 21:34:27 -04:00
|
|
|
|
2000-08-30 13:36:24 -04:00
|
|
|
CONFIGURE_STYLE= gnu dest
|
2008-04-24 04:51:54 -04:00
|
|
|
CONFIGURE_ARGS= --enable-dns --enable-geoip
|
2005-10-12 01:41:07 -04:00
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
|
2005-10-24 01:07:04 -04:00
|
|
|
LIBS="-ljpeg"
|
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:
|
2000-08-29 12:54:46 -04:00
|
|
|
cd ${PREFIX}/bin && ln -s webalizer webazolver
|
2000-05-25 21:34:27 -04:00
|
|
|
${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>
|