summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut-cgi/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2001-11-21 15:53:08 +0000
committerjlam <jlam>2001-11-21 15:53:08 +0000
commitb2fab0608f41f2662e24e18d18b2097d4a655adf (patch)
tree2b3060aff501eff658187c54a45b94d7a66814ed /sysutils/ups-nut-cgi/Makefile
parent40e47dd4214ca381e054a716bd1b3efa4428d71f (diff)
downloadpkgsrc-b2fab0608f41f2662e24e18d18b2097d4a655adf.tar.gz
Strongly buildlinkify.
Diffstat (limited to 'sysutils/ups-nut-cgi/Makefile')
-rw-r--r--sysutils/ups-nut-cgi/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/sysutils/ups-nut-cgi/Makefile b/sysutils/ups-nut-cgi/Makefile
index cf9c5db2fff..873926a32f9 100644
--- a/sysutils/ups-nut-cgi/Makefile
+++ b/sysutils/ups-nut-cgi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/11/18 00:57:50 lukem Exp $
+# $NetBSD: Makefile,v 1.11 2001/11/21 15:53:08 jlam Exp $
DISTNAME= nut-0.45.2
PKGNAME= ups-nut-cgi-0.45.2
@@ -9,21 +9,26 @@ MAINTAINER= lukem@netbsd.org
HOMEPAGE= http://www.exploits.org/nut/
COMMENT= Network UPS Tools CGI scripts
-DEPENDS+= gd-[0-9]*:../../graphics/gd
-DEPENDS+= ups-nut-0*:../ups-nut
BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf
+DEPENDS+= ups-nut-0.*:../sysutils/ups-nut
ALL_TARGET= cgi
INSTALL_TARGET= install-cgi
+NUT_CONFDIR= ${CONFDIR}/nut
+NUT_STATEDIR= /var/db/nut
+NUT_CGIDIR= ${PREFIX}/share/nut/cgi
+
+USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --sysconfdir=${LOCALBASE}/etc/nut \
- --with-statepath=/var/db/nut \
- --with-cgipath=${LOCALBASE}/share/nut/cgi \
+CONFIGURE_ARGS+= --sysconfdir=${NUT_CONFDIR} \
+ --with-statepath=${NUT_STATEDIR} \
+ --with-cgipath=${NUT_CGIDIR} \
--with-graphics=${LOCALBASE}
pre-configure:
cd ${WRKSRC}; ${LOCALBASE}/bin/autoreconf --force
-.include "../../mk/bsd.prefs.mk"
+.include "../../graphics/gd/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"