summaryrefslogtreecommitdiff
path: root/net/bpalogin
diff options
context:
space:
mode:
authorjlam <jlam>2003-01-28 22:03:00 +0000
committerjlam <jlam>2003-01-28 22:03:00 +0000
commitd9bf9ebd1c4d0cf9334ca40c2f585d4d17f70bdf (patch)
treed3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /net/bpalogin
parentebed1329682fd1c81284e9ee1632af9b987050f0 (diff)
downloadpkgsrc-d9bf9ebd1c4d0cf9334ca40c2f585d4d17f70bdf.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 'net/bpalogin')
-rw-r--r--net/bpalogin/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bpalogin/Makefile b/net/bpalogin/Makefile
index 7f12e3f188a..70da9482d72 100644
--- a/net/bpalogin/Makefile
+++ b/net/bpalogin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/11/21 10:02:56 grant Exp $
+# $NetBSD: Makefile,v 1.3 2003/01/28 22:03:49 jlam Exp $
#
DISTNAME= bpalogin-2.0.1-src
@@ -15,6 +15,7 @@ WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
ALL_TARGET= bpalogin
+USE_PKGINSTALL= yes
CONF_FILES+= ${PREFIX}/share/examples/bpalogin/bpalogin.conf \
${PKG_SYSCONFDIR}/bpalogin.conf
RCD_SCRIPTS= bpalogin
@@ -25,5 +26,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/bpalogin.conf \
${PREFIX}/share/examples/bpalogin
-.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"