summaryrefslogtreecommitdiff
path: root/news/nntpclnt
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-01-28 22:03:00 +0000
committerjlam <jlam@pkgsrc.org>2003-01-28 22:03:00 +0000
commitd7f69e47ce32be7271733bcdf48d28468f400ab9 (patch)
treed3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /news/nntpclnt
parent63fd8d49cc206089921ed7d972b87faff07efbe6 (diff)
downloadpkgsrc-d7f69e47ce32be7271733bcdf48d28468f400ab9.tar.gz
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 <jmmv at menta.net>.
Diffstat (limited to 'news/nntpclnt')
-rw-r--r--news/nntpclnt/Makefile5
1 files changed, 2 insertions, 3 deletions
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"
-