diff options
author | ghen <ghen@pkgsrc.org> | 2006-08-16 13:15:54 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2006-08-16 13:15:54 +0000 |
commit | acb1338528605f33d2f84156a8bd71e017738a59 (patch) | |
tree | a70f003bd0828cebb8d4f6417b33775cd4035a21 /sysutils/ups-nut-cgi | |
parent | 9bb8e52e3f2cdc150016c84ca6318249ce02d82f (diff) | |
download | pkgsrc-acb1338528605f33d2f84156a8bd71e017738a59.tar.gz |
Merge the common bits of net/ups-nut/Makefile and net/ups-nut-cgi/Makefile
into net/ups-nut/Makefile.common. No functional changes.
Diffstat (limited to 'sysutils/ups-nut-cgi')
-rw-r--r-- | sysutils/ups-nut-cgi/Makefile | 29 |
1 files changed, 5 insertions, 24 deletions
diff --git a/sysutils/ups-nut-cgi/Makefile b/sysutils/ups-nut-cgi/Makefile index 9779f7eaf9a..e866a324ea2 100644 --- a/sysutils/ups-nut-cgi/Makefile +++ b/sysutils/ups-nut-cgi/Makefile @@ -1,36 +1,17 @@ -# $NetBSD: Makefile,v 1.44 2006/08/16 12:27:35 ghen Exp $ +# $NetBSD: Makefile,v 1.45 2006/08/16 13:15:54 ghen Exp $ -DISTNAME= nut-2.0.4 -PKGNAME= ${DISTNAME:S/nut/ups-nut-cgi/} -CATEGORIES= sysutils -MASTER_SITES= http://random.networkupstools.org/source/2.0/ +.include "../../sysutils/ups-nut/Makefile.common" -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://www.networkupstools.org/ +PKGNAME= ${DISTNAME:S/nut/ups-nut-cgi/} COMMENT= Network UPS Tools CGI scripts -DISTINFO_FILE= ${.CURDIR}/../../sysutils/ups-nut/distinfo -PATCHDIR= ${.CURDIR}/../../sysutils/ups-nut/patches - DEPENDS+= ups-nut-2.*:../../sysutils/ups-nut BUILD_TARGET= cgi INSTALL_TARGET= install-cgi -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --sysconfdir=${NUT_CONFDIR:Q} \ - --datadir=${NUT_DATADIR:Q} \ - --localstatedir=${NUT_STATEDIR:Q} \ - --with-statepath=${NUT_STATEDIR:Q} \ - --with-cgi \ - --with-cgipath=${NUT_CGIDIR:Q} - -PKG_SYSCONFSUBDIR?= nut -NUT_CONFDIR= ${PKG_SYSCONFDIR} -NUT_DATADIR= ${PREFIX}/share/nut -NUT_EGDIR= ${PREFIX}/share/examples/nut -NUT_STATEDIR?= ${VARBASE}/db/nut -NUT_CGIDIR= ${PREFIX}/libexec/cgi-bin +CONFIGURE_ARGS+= --with-cgi +CONFIGURE_ARGS+= --with-cgipath=${NUT_CGIDIR:Q} BUILD_DEFS+= NUT_STATEDIR |