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 . --- sysutils/apcupsd/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'sysutils/apcupsd') diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile index 37065017a74..916d442bd75 100644 --- a/sysutils/apcupsd/Makefile +++ b/sysutils/apcupsd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2002/12/23 16:31:29 cjep Exp $ +# $NetBSD: Makefile,v 1.20 2003/01/28 22:04:15 jlam Exp $ DISTNAME= apcupsd-3.8.5 CATEGORIES= sysutils @@ -10,10 +10,11 @@ COMMENT= UPS power management for APCC Products BUILD_USES_MSGFMT= yes -USE_BUILDLINK2= # defined -USE_GMAKE= # defined +USE_BUILDLINK2= yes +USE_PKGINSTALL= yes +USE_GMAKE= yes -GNU_CONFIGURE= # defined +GNU_CONFIGURE= yes PKG_SYSCONFSUBDIR= apcupsd @@ -106,6 +107,4 @@ post-install: .endfor .include "../../devel/gettext-lib/buildlink2.mk" - -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3