aboutsummaryrefslogtreecommitdiff
path: root/www/wwwcount/Makefile
blob: a4973c9d6406b11b45753e55bf7ff9d90e60a92e (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
# 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

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>