diff options
author | abs <abs@pkgsrc.org> | 2002-07-11 10:23:13 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2002-07-11 10:23:13 +0000 |
commit | f19a90c8943ceedd5a286d64942c6ab288116830 (patch) | |
tree | d5372014ba57891b596f09f7ad4b7dfcfe3750ee /www/analog/Makefile | |
parent | 9c8564214584ea66bc8637f9de0a525b5a017617 (diff) | |
download | pkgsrc-f19a90c8943ceedd5a286d64942c6ab288116830.tar.gz |
honor PKG_SYSCONFDIR - increment PKGREVISION
Diffstat (limited to 'www/analog/Makefile')
-rw-r--r-- | www/analog/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/www/analog/Makefile b/www/analog/Makefile index 7396649a1d5..2940a63a64e 100644 --- a/www/analog/Makefile +++ b/www/analog/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.33 2002/05/15 06:18:52 tron Exp $ +# $NetBSD: Makefile,v 1.34 2002/07/11 10:23:13 abs Exp $ DISTNAME= analog-5.23 +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= ${HOMEPAGE} \ http://www.web42.com/analog/ \ @@ -12,10 +13,13 @@ HOMEPAGE= http://www.analog.cx/ COMMENT= Extremely fast program for analysing WWW logfiles ALL_TARGET= analog -MAKE_ENV+= PREFIX=${PREFIX} +MAKE_ENV+= PREFIX=${PREFIX} SYSCONFDIR=${PKG_SYSCONFDIR} WRKDISTDIR= ${WRKDIR}/${DISTNAME} WRKSRC= ${WRKDISTDIR}/src +EGDIR= ${PREFIX}/share/examples +CONF_FILES= ${EGDIR}/analog.cfg ${PKG_SYSCONFDIR}/analog.cfg + do-install: ${INSTALL_PROGRAM} ${WRKDISTDIR}/analog ${PREFIX}/bin ${INSTALL_DATA} ${WRKDISTDIR}/analog.man ${PREFIX}/man/man1/analog.1 @@ -26,9 +30,7 @@ do-install: ${INSTALL_DATA} ${WRKDISTDIR}/images/* ${PREFIX}/lib/analog/images ${INSTALL_DATA} ${WRKDISTDIR}/lang/* ${PREFIX}/lib/analog/lang ${INSTALL_DATA} -m 644 ${WRKDISTDIR}/analog.cfg \ - ${PREFIX}/etc/analog.cfg.default - ${TEST} -f ${PREFIX}/etc/analog.cfg || \ - ${INSTALL_DATA} -m 644 ${WRKDISTDIR}/analog.cfg \ - ${PREFIX}/etc/analog.cfg + ${PREFIX}/share/examples/analog.cfg +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" |