aboutsummaryrefslogtreecommitdiffstats
path: root/www/wwwcount/Makefile
blob: 0a5c5bbcb9a34f5300f2885590a58cb9439e9022 (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
# New ports collection makefile for:    wwwcount
# Date created:         16 May 1996
# Whom:                 ache
#
# $FreeBSD$
#

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

MAINTAINER= mranner@inode.at
COMMENT=    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>