diff options
Diffstat (limited to 'www/wwwcount/Makefile')
-rw-r--r-- | www/wwwcount/Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/www/wwwcount/Makefile b/www/wwwcount/Makefile index 93606d96129..a621a8a2cf9 100644 --- a/www/wwwcount/Makefile +++ b/www/wwwcount/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.13 2006/03/14 01:14:34 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2006/07/19 19:48:21 jlam Exp $ DISTNAME= wwwcount2.5 PKGNAME= wwwcount-2.5 +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_BACKUP} @@ -9,22 +10,25 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.muquit.com/muquit/software/Count/Count.html COMMENT= Graphical access counter, clock and date indicator for WWW pages -GNU_CONFIGURE= yes -INSTALLATION_DIRS= bin man/man1 share/doc/wwwcount/Count2.5/images \ - share/doc/wwwcount/Count2.5/eximages share/examples +GNU_CONFIGURE= yes +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 \ + share/doc/wwwcount/Count2.5/images \ + share/doc/wwwcount/Count2.5/eximages \ + share/examples -DEINSTALL_SRC= ${PKGDIR}/DEINSTALL -INSTALL_SRC= # empty +CONF_FILES_PERMS= /dev/null ${VARBASE}/log/wwwcount nobody nogroup 0644 +CONF_FILES= ${PREFIX}/share/examples/wwwcount.conf \ + ${PKG_SYSCONFDIR}/wwwcount.conf pre-configure: - cd ${WRKSRC}; yes "" | PREFIX=${PREFIX} VARBASE=${VARBASE} ./Count-config + cd ${WRKSRC}; yes "" | PREFIX=${PREFIX} PKG_SYSCONFDIR=${PKG_SYSCONFDIR} VARBASE=${VARBASE} ./Count-config do-install: cd ${WRKSRC}; yes "" | ./Count-install ${INSTALL_DATA} ${FILESDIR}/wwwcount.conf ${PREFIX}/share/examples ${INSTALL_PROGRAM} ${WRKSRC}/utils/extdgts/extdgts ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/utils/mkstrip/mkstrip ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/utils/mkstrip/mkstrip.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/utils/mkstrip/mkstrip.1 ${PREFIX}/${PKGMANDIR}/man1 ${INSTALL_MAN} ${WRKSRC}/docs/blues.gif ${PREFIX}/share/doc/wwwcount ${INSTALL_MAN} ${WRKSRC}/docs/Count.html ${PREFIX}/share/doc/wwwcount ( cd ${PREFIX}/share/doc/wwwcount && ${LN} -s Count.html index.html ) |