2012-10-28 07:30:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2012/10/28 06:31:10 asau Exp $
|
1999-05-14 23:59:46 +02:00
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
DISTNAME= wwwcount2.5
|
|
|
|
PKGNAME= wwwcount-2.5
|
2008-09-25 16:02:08 +02:00
|
|
|
PKGREVISION= 2
|
2007-02-22 20:26:05 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
1999-05-14 23:59:46 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-06-25 04:03:03 +02:00
|
|
|
HOMEPAGE= http://www.muquit.com/muquit/software/Count/Count.html
|
2001-02-17 18:21:28 +01:00
|
|
|
COMMENT= Graphical access counter, clock and date indicator for WWW pages
|
1999-05-14 23:59:46 +02:00
|
|
|
|
2006-07-19 21:48:21 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 \
|
|
|
|
share/doc/wwwcount/Count2.5/images \
|
|
|
|
share/doc/wwwcount/Count2.5/eximages \
|
|
|
|
share/examples
|
1999-05-14 23:59:46 +02:00
|
|
|
|
2006-07-19 21:48:21 +02:00
|
|
|
CONF_FILES_PERMS= /dev/null ${VARBASE}/log/wwwcount nobody nogroup 0644
|
|
|
|
CONF_FILES= ${PREFIX}/share/examples/wwwcount.conf \
|
|
|
|
${PKG_SYSCONFDIR}/wwwcount.conf
|
2006-03-14 02:14:26 +01:00
|
|
|
|
2009-01-12 17:09:22 +01:00
|
|
|
MAKE_JOBS_SAFE= NO
|
|
|
|
|
2010-06-27 21:16:03 +02:00
|
|
|
SUBST_CLASSES+= destdir
|
|
|
|
SUBST_STAGE.destdir= pre-install
|
|
|
|
SUBST_FILES.destdir= Config.tmpl
|
|
|
|
SUBST_SED.destdir= -e s,=\"${PREFIX},=\"${DESTDIR}${PREFIX},
|
|
|
|
|
1999-05-14 23:59:46 +02:00
|
|
|
pre-configure:
|
2011-11-01 14:45:06 +01:00
|
|
|
cd ${WRKSRC}; PREFIX=${PREFIX} PKG_SYSCONFDIR=${PKG_SYSCONFDIR} VARBASE=${VARBASE} ./Count-config < /dev/null
|
1999-05-14 23:59:46 +02:00
|
|
|
|
|
|
|
do-install:
|
2011-11-01 14:45:06 +01:00
|
|
|
cd ${WRKSRC}; ./Count-install < /dev/null
|
2009-12-17 20:32:28 +01:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/wwwcount.conf ${DESTDIR}${PREFIX}/share/examples
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/utils/extdgts/extdgts ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/utils/mkstrip/mkstrip ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/utils/mkstrip/mkstrip.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/blues.gif ${DESTDIR}${PREFIX}/share/doc/wwwcount
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count.html ${DESTDIR}${PREFIX}/share/doc/wwwcount
|
|
|
|
( cd ${DESTDIR}${PREFIX}/share/doc/wwwcount && ${LN} -s Count.html index.html )
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count2_5-ex.html ${DESTDIR}${PREFIX}/share/doc/wwwcount
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count_Changelog.html ${DESTDIR}${PREFIX}/share/doc/wwwcount
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count_FAQ.html ${DESTDIR}${PREFIX}/share/doc/wwwcount
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count_download.html ${DESTDIR}${PREFIX}/share/doc/wwwcount
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count_mirrors.html ${DESTDIR}${PREFIX}/share/doc/wwwcount
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/c-c.txt ${DESTDIR}${PREFIX}/share/doc/wwwcount/Count2.5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/gen-c.txt ${DESTDIR}${PREFIX}/share/doc/wwwcount/Count2.5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/styleA.gif ${DESTDIR}${PREFIX}/share/doc/wwwcount/Count2.5/images
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/styleB.gif ${DESTDIR}${PREFIX}/share/doc/wwwcount/Count2.5/images
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/styleC.gif ${DESTDIR}${PREFIX}/share/doc/wwwcount/Count2.5/images
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/styleD.gif ${DESTDIR}${PREFIX}/share/doc/wwwcount/Count2.5/images
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/styleE.gif ${DESTDIR}${PREFIX}/share/doc/wwwcount/Count2.5/images
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/stylecd.gif ${DESTDIR}${PREFIX}/share/doc/wwwcount/Count2.5/images
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/stylecdd.gif ${DESTDIR}${PREFIX}/share/doc/wwwcount/Count2.5/images
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/stylecdr.gif ${DESTDIR}${PREFIX}/share/doc/wwwcount/Count2.5/images
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/eximages/* ${DESTDIR}${PREFIX}/share/doc/wwwcount/Count2.5/eximages
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/utils/mkstrip/mkstrip.sh ${DESTDIR}${PREFIX}/libdata/wwwcount/digits
|
1999-05-15 00:05:23 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|