From 0888156f21e01be033066b564dc798018954d33c Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 28 Jan 2003 22:03:00 +0000 Subject: Instead of including bsd.pkg.install.mk directly in a package Makefile, have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal . --- www/horde/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/horde') diff --git a/www/horde/Makefile b/www/horde/Makefile index 2acb965e357..4ccf1bc4482 100644 --- a/www/horde/Makefile +++ b/www/horde/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2002/03/06 18:51:17 jdarrow Exp $ +# $NetBSD: Makefile,v 1.21 2003/01/28 22:04:29 jlam Exp $ DISTNAME= horde-2.0 CATEGORIES= www @@ -24,6 +24,7 @@ MESSAGE_SUBST+= HORDEDIR=${HORDEDIR} PKG_SYSCONFSUBDIR?= httpd +USE_PKGINSTALL= yes CONF_FILES= ${EGDIR}/horde.conf ${PKG_SYSCONFDIR}/horde.conf CONF_FILES+= ${HORDEDIR}/config/horde.php.dist ${HORDEDIR}/config/horde.php SUPPORT_FILES+= ${HORDEDIR}/config/html.php.dist ${HORDEDIR}/config/html.php @@ -62,5 +63,4 @@ do-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${HORDEDIR} ${CHMOD} -R a-w ${HORDEDIR} -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3