diff options
author | jlam <jlam> | 2003-01-28 22:03:00 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-01-28 22:03:00 +0000 |
commit | 0888156f21e01be033066b564dc798018954d33c (patch) | |
tree | d3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /news/nntpclnt/Makefile | |
parent | 3782ed07f81d21f716d6f09001f4d66a5c4f8784 (diff) | |
download | pkgsrc-0888156f21e01be033066b564dc798018954d33c.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/Makefile')
-rw-r--r-- | news/nntpclnt/Makefile | 5 |
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" - |