# New ports collection makefile for:    wwwcount
# Version required:     2.5
# Date created:         16 May 1996
# Whom:                 ache
#
# $FreeBSD: ports/www/wwwcount/Makefile,v 1.15 1999/10/05 04:52:20 flathill Exp $
#

DISTNAME=       wwwcount2.5
PKGNAME=        wwwcount-2.5
CATEGORIES=     www
MASTER_SITES=   http://www.fccc.edu/users/muquit/src/wwwcount2.5/

MAINTAINER=     dervish@ikhala.tcimet.net

GNU_CONFIGURE=  yes
IS_INTERACTIVE= yes
USE_GMAKE=      yes
MAN1=		mkstrip.1

pre-configure:
	cd ${WRKSRC}; PREFIX=${PREFIX} ./Count-config

post-build:
	cd ${WRKSRC}; ./Gen-conf

do-install:
	cd ${WRKSRC}; yes "" | ./Count-install
	cd ${WRKSRC}/utils/extdgts; \
		${INSTALL_PROGRAM} extdgts ${PREFIX}/bin;
	cd ${WRKSRC}/utils/mkstrip; \
		${INSTALL_PROGRAM} mkstrip ${PREFIX}/bin; \
		${INSTALL_MAN} mkstrip.1 ${PREFIX}/man/man1; \
		${INSTALL_SCRIPT} mkstrip.sh ${PREFIX}/lib/Counter/digits

.include <bsd.port.mk>
