aboutsummaryrefslogtreecommitdiffstats
path: root/www/wwwcount/Makefile
blob: 00b9f007acc235f8c2e008777a706045563e22a6 (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
# Version required:     2.3
# Date created:         16 May 1996
# Whom:                 ache
#
# $Id: Makefile,v 1.3 1996/05/27 03:42:47 asami Exp $
#

# WWW site: http://www.semcor.com/~muquit/Count.html
# For digit images look at:
# http://cervantes.learningco.com/kevin/digits/index.html

DISTNAME=       wwwcount2.3
PKGNAME=        wwwcount-2.3
CATEGORIES+=    www
MASTER_SITES=   ftp://warm.semcor.com/pub/muquit/wwwcount2.3/

MAINTAINER=     ache@FreeBSD.ORG

NO_PACKAGE= yes # hostname compiled in
GNU_CONFIGURE=  yes
IS_INTERACTIVE= yes

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

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

do-install:
    cd ${WRKSRC}; yes "" | ./Count-install
    cd ${WRKSRC}/utils; \
        ${INSTALL} -s -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} mkstrip ${PREFIX}/bin; \
        ${INSTALL} -c -m ${MANMODE} -o ${MANOWN} -g ${MANGRP} mkstrip.1 ${PREFIX}/man/man1; \
        ${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} mkstrip.sh ${PREFIX}/etc/Counter/digits

.include <bsd.port.mk>