summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut
diff options
context:
space:
mode:
authorjlam <jlam>2003-01-28 22:03:00 +0000
committerjlam <jlam>2003-01-28 22:03:00 +0000
commit0888156f21e01be033066b564dc798018954d33c (patch)
treed3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /sysutils/ups-nut
parent3782ed07f81d21f716d6f09001f4d66a5c4f8784 (diff)
downloadpkgsrc-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 'sysutils/ups-nut')
-rw-r--r--sysutils/ups-nut/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/ups-nut/Makefile b/sysutils/ups-nut/Makefile
index 5f7cb4822bb..f9e524d83b2 100644
--- a/sysutils/ups-nut/Makefile
+++ b/sysutils/ups-nut/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2002/12/31 22:47:05 lukem Exp $
+# $NetBSD: Makefile,v 1.27 2003/01/28 22:04:19 jlam Exp $
#
DISTNAME= nut-1.2.1
@@ -12,6 +12,7 @@ HOMEPAGE= http://www.exploits.org/nut/
COMMENT= Network UPS Tools
USE_BUILDLINK2= yes
+USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${NUT_CONFDIR} \
--with-user=${NUT_USER} \
@@ -71,5 +72,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/docs/cables/*.txt ${NUT_DOCDIR}/cables
${INSTALL_DATA} ${WRKSRC}/docs/drivers/*.txt ${NUT_DOCDIR}/drivers
-.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"