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 . --- news/nntpclnt/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'news/nntpclnt') diff --git a/news/nntpclnt/Makefile b/news/nntpclnt/Makefile index 56947048ea0..52686f09660 100644 --- a/news/nntpclnt/Makefile +++ b/news/nntpclnt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2002/09/18 21:16:24 tron Exp $ +# $NetBSD: Makefile,v 1.18 2003/01/28 22:03:59 jlam Exp $ DISTNAME= nntpclnt-1.6.1 PKGREVISION= 3 @@ -17,6 +17,7 @@ NO_BIN_ON_CDROM=${RESTRICTED} ALL_TARGET= inews PKG_GROUPS= news +USE_PKGINSTALL= yes .include "../../mk/bsd.prefs.mk" @@ -38,6 +39,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/nntpclnt.3 ${PREFIX}/man/man3/ ${INSTALL_DATA_DIR} ${PREFIX}/etc/nntp -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" - -- cgit v1.2.3