summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut-cgi/Makefile
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 /sysutils/ups-nut-cgi/Makefile
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 'sysutils/ups-nut-cgi/Makefile')
-rw-r--r--sysutils/ups-nut-cgi/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/ups-nut-cgi/Makefile b/sysutils/ups-nut-cgi/Makefile
index c652566c1b6..61e6b1d956e 100644
--- a/sysutils/ups-nut-cgi/Makefile
+++ b/sysutils/ups-nut-cgi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2002/12/17 12:03:01 lukem Exp $
+# $NetBSD: Makefile,v 1.23 2003/01/28 22:04:19 jlam Exp $
DISTNAME= nut-1.2.1
PKGREVISION= 1
@@ -16,6 +16,7 @@ ALL_TARGET= cgi
INSTALL_TARGET= install-cgi
USE_BUILDLINK2= yes
+USE_PKGINSTALL= yes
USE_X11= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${NUT_CONFDIR} \
@@ -38,5 +39,4 @@ CONF_FILES+= ${NUT_EGDIR}/upsstats.html.sample \
${NUT_CONFDIR}/upsstats.html
.include "../../graphics/gd/buildlink2.mk"
-.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"