openbsd-ports/www/wwwcount/Makefile

44 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.7 1999/04/09 04:12:00 brad Exp $
1997-11-17 22:07:09 -05:00
# WWW site: http://www.fccc.edu/users/muquit/Count.html
# For digit images look at:
# http://www.digitmania.holowww.com/
1998-08-10 23:16:49 -04:00
DISTNAME= wwwcount2.4
PKGNAME= wwwcount-2.4
CATEGORIES= www
MASTER_SITES= http://www.fccc.edu/users/muquit/src/wwwcount2.4/
1997-11-17 22:07:09 -05:00
MAINTAINER= ports@openbsd.org
1997-11-17 22:07:09 -05:00
1998-08-10 23:16:49 -04:00
GNU_CONFIGURE= yes
IS_INTERACTIVE= yes
1997-11-17 22:07:09 -05:00
1998-08-10 23:16:49 -04:00
.if defined(USE_RELOAD)
MAKE_FLAGS+= COUNT_RELOAD=-DCOUNT_RELOAD=1
1998-08-10 23:16:49 -04:00
.endif
1997-11-17 22:07:09 -05:00
pre-configure:
cd ${WRKSRC}; yes "" | PREFIX=${PREFIX} ./Count-config
1998-08-10 23:16:49 -04:00
pre-build:
.if !defined(USE_RELOAD)
@echo "***"
@echo "*** Do \"make USE_RELOAD=yes\" if you want to disable"
@echo "*** \"reload ignore\" feature."
@echo "***"
.endif
1997-11-17 22:07:09 -05:00
post-build:
cd ${WRKSRC}; ./Gen-conf
do-install:
cd ${WRKSRC}; yes "" | ./Count-install
1998-08-11 08:15:25 -04:00
cd ${WRKSRC}/utils/mkstrip; \
1997-11-17 22:07:09 -05:00
${INSTALL_PROGRAM} mkstrip ${PREFIX}/bin; \
${INSTALL_MAN} mkstrip.1 ${PREFIX}/man/man1; \
${INSTALL_SCRIPT} mkstrip.sh ${PREFIX}/lib/Counter/digits
${INSTALL_DATA} ${WRKSRC}/count.cfg ${PREFIX}/lib/Counter/count.cfg.sample
1997-11-17 22:07:09 -05:00
.include <bsd.port.mk>