aboutsummaryrefslogtreecommitdiff
path: root/www/wwwcount/Makefile
blob: 04e1c44fbced83db79bb693e6785ad564972b9b7 (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
37
38
39
# New ports collection makefile for:    wwwcount
# Date created:         16 May 1996
# Whom:                 ache
#
# $FreeBSD$
#

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

MAINTAINER=	ports@freebsd.org

PORTCOMMENT=	Access counter, clock and date for WWW pages

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>