diff options
author | jlam <jlam@pkgsrc.org> | 2001-11-21 15:53:08 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-11-21 15:53:08 +0000 |
commit | 73ac34587484a92eb3696bf3f32f59afa9945221 (patch) | |
tree | 2b3060aff501eff658187c54a45b94d7a66814ed /sysutils/ups-nut-cgi/Makefile | |
parent | 9f920e162bc3d253b5cd32f1cbd273b4b7c67b9c (diff) | |
download | pkgsrc-73ac34587484a92eb3696bf3f32f59afa9945221.tar.gz |
Strongly buildlinkify.
Diffstat (limited to 'sysutils/ups-nut-cgi/Makefile')
-rw-r--r-- | sysutils/ups-nut-cgi/Makefile | 19 |
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" |