From d7f69e47ce32be7271733bcdf48d28468f400ab9 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 . --- mail/mailman/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/mailman') diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile index ebb961bb5f1..a0cadff48f6 100644 --- a/mail/mailman/Makefile +++ b/mail/mailman/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2002/09/21 23:46:53 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2003/01/28 22:03:34 jlam Exp $ DISTNAME= mailman-2.0.12 CATEGORIES= mail www @@ -11,6 +11,7 @@ COMMENT= the GNU Mailing List Manager .include "../../mk/bsd.prefs.mk" +USE_PKGINSTALL= yes PKG_SYSCONFSUBDIR?= httpd MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} MESSAGE_SUBST+= DOCDIR=${DOCDIR} @@ -146,5 +147,4 @@ do-install: ${CHMOD} -R g-w ${EXECDIR} .include "../../lang/python/application.mk" -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3