openbsd-ports/www/wwwcount/Makefile

59 lines
1.8 KiB
Makefile
Raw Normal View History

2010-10-19 04:02:53 -04:00
# $OpenBSD: Makefile,v 1.29 2010/10/19 08:02:58 espie Exp $
2001-03-29 04:52:20 -05:00
COMMENT= access counter, clock and date for WWW pages
1997-11-17 22:07:09 -05:00
V= 2.5
DISTNAME= wwwcount$V
PKGNAME= wwwcount-$V
REVISION= 0
1998-08-10 23:16:49 -04:00
CATEGORIES= www
MASTER_SITES= http://muquit.com/muquit/software/Count/src/wwwcount$V/ \
http://wwwcount.yeehaw.net/src/wwwcount$V/ \
http://www.asamnet.de/mirror/Count/src/wwwcount$V/ \
http://wwwcount.webcc.net/src/wwwcount$V/
1997-11-17 22:07:09 -05:00
# For digit images look at:
# http://www.digitmania.holowww.com/
HOMEPAGE= http://www.muquit.com/muquit/software/Count/Count.html
2003-10-18 15:44:41 -04:00
# BSD-like
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-11 08:29:20 -05:00
WANTLIB= c
2000-02-12 01:29:49 -05:00
CONFIGURE_STYLE=gnu
2010-10-19 04:02:53 -04:00
USE_GROFF = Yes
1997-11-17 22:07:09 -05:00
2000-01-27 16:14:02 -05:00
WWWDIR= /var/www
1998-08-10 23:16:49 -04:00
1997-11-17 22:07:09 -05:00
pre-configure:
2000-01-27 16:14:02 -05:00
@sed -e "s,@PREFIX@,${PREFIX},g" -e "s,@WWWDIR@,${WWWDIR},g" \
${FILESDIR}/config.h.in > ${WRKSRC}/src/config.h
1997-11-17 22:07:09 -05:00
2002-10-28 20:30:41 -05:00
NO_REGRESS= Yes
1997-11-17 22:07:09 -05:00
do-install:
2000-01-27 16:14:02 -05:00
.for d in A B C D E bang cd cdd cdr
${INSTALL_DATA_DIR} ${PREFIX}/lib/wwwcount/digits/${d}
${INSTALL_DATA} ${WRKSRC}/data/digits/${d}/*.gif \
${PREFIX}/lib/wwwcount/digits/${d}
.endfor
${INSTALL_DATA} -s ${WRKSRC}/src/Count.cgi ${PREFIX}/lib/wwwcount
${INSTALL_DATA} ${FILESDIR}/count.cfg.sample ${PREFIX}/lib/wwwcount
${INSTALL_DATA} ${WRKSRC}/data/rgb.txt ${PREFIX}/lib/wwwcount
${INSTALL_PROGRAM} ${WRKSRC}/utils/mkstrip/mkstrip ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/utils/mkstrip/mkstrip.1 ${PREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/utils/extdgts/extdgts ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wwwcount
@cd ${WRKSRC}/docs; cp -RP * ${PREFIX}/share/doc/wwwcount
@/usr/sbin/chown -R ${SHAREOWN}:${SHAREGRP} \
${PREFIX}/share/doc/wwwcount
@find ${PREFIX}/share/doc/wwwcount -type f -print | \
xargs chmod ${SHAREMODE}
@find ${PREFIX}/share/doc/wwwcount -type d -print | \
xargs chmod ${BINMODE}
1997-11-17 22:07:09 -05:00
.include <bsd.port.mk>