openbsd-ports/www/webalizer/Makefile
danh fd5c9f0dc9 - Remove trailing new-line when reading preserved data from previous
runs.  This was broken after the strlcpy/snprintf conversions.
- Bump package patch level.

Found by Dave Grier <dgrier@wzrd.com>
2003-01-21 05:16:43 +00:00

42 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.16 2003/01/21 05:16:43 danh Exp $
COMMENT= "web server log file analysis program"
DISTNAME= webalizer-2.01-10-src
PKGNAME= webalizer-2.01.10p1
CATEGORIES= www
MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/
EXTRACT_SUFX= .tgz
HOMEPAGE= http://www.mrunix.net/webalizer/
LIB_DEPENDS= gd.18::graphics/gd
MAINTAINER= Dan Harnett <danh@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WRKDIST= ${WRKDIR}/webalizer-2.01-10
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS= --enable-dns
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-ljpeg -lttf"
NO_REGRESS= Yes
post-install:
cd ${PREFIX}/bin && ln -s webalizer webazolver
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/webalizer
${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/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/webalizer
${INSTALL_DATA} ${WRKSRC}/sample.conf \
${PREFIX}/share/examples/webalizer/
.include <bsd.port.mk>