summaryrefslogtreecommitdiff
path: root/www/wwwcount/Makefile
blob: c2f0ceb45c430b9a578558352dc784fb636f3e86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    wwwcount
# Date created:         16 May 1996
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=	wwwcount
PORTVERSION=	2.5
CATEGORIES=	www
MASTER_SITES=	http://www.muquit.com/muquit/software/Count/src/wwwcount2.5/
DISTNAME=	${PORTNAME}${PORTVERSION}

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>