summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorminskim <minskim>2004-04-09 00:39:20 +0000
committerminskim <minskim>2004-04-09 00:39:20 +0000
commitf43197337a5683af98fd0b38129aa835da59871d (patch)
tree1fa110078e6439aaff78ab3aa093a2aa088f83ab /www
parent6661dc664280185cd84bafd01cc904ff2b2623e9 (diff)
downloadpkgsrc-f43197337a5683af98fd0b38129aa835da59871d.tar.gz
bl3ify and enable pkgviews installation.
Diffstat (limited to 'www')
-rw-r--r--www/webalizer/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index 8169c33c0e6..180fa3a5d1c 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2004/01/20 12:28:00 agc Exp $
+# $NetBSD: Makefile,v 1.30 2004/04/09 00:39:20 minskim Exp $
#
DISTNAME= webalizer-2.01-10-src
@@ -14,8 +14,10 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.mrunix.net/webalizer/
COMMENT= Web server log file analysis program
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
USE_X11= YES
GNU_CONFIGURE= YES
@@ -26,6 +28,8 @@ CONFIGURE_ENV+= ac_cv_GDLIB=${BUILDLINK_PREFIX.gd}/include
EGDIR= ${PREFIX}/share/examples
CONF_FILES= ${EGDIR}/webalizer.conf.sample ${PKG_SYSCONFDIR}/webalizer.conf
+INSTALLATION_DIRS= bin man/man1 share/examples
+
post-build:
cd ${WRKSRC}; for file in sample.conf webalizer.1; do \
${SED} -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" \
@@ -33,6 +37,6 @@ post-build:
${MV} -f ${WRKSRC}/$${file}.fixed ${WRKSRC}/$${file}; \
done
-.include "../../graphics/freetype2/buildlink2.mk"
-.include "../../graphics/gd/buildlink2.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/gd/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"