pkgsrc/sysutils/ups-nut-cgi/Makefile

33 lines
929 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.52 2011/01/13 13:39:26 wiz Exp $
2010-02-17 16:39:02 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../sysutils/ups-nut/Makefile.common"
PKGNAME= ${DISTNAME:S/nut/ups-nut-cgi/}
PKGREVISION= 4
COMMENT= Network UPS Tools CGI scripts
DEPENDS+= ups-nut-2.*:../../sysutils/ups-nut
BUILD_TARGET= cgi
INSTALL_TARGET= install-cgi
2010-02-17 16:39:02 +01:00
INSTALLATION_DIRS+= ${NUT_EGDIR}
2001-11-21 16:53:08 +01:00
CONFIGURE_ARGS+= --with-cgi
CONFIGURE_ARGS+= --with-cgipath=${NUT_CGIDIR:Q}
BUILD_DEFS+= NUT_STATEDIR
CONF_FILES= ${NUT_EGDIR}/hosts.conf.sample ${NUT_CONFDIR}/hosts.conf
CONF_FILES+= ${NUT_EGDIR}/upsset.conf.sample \
${NUT_CONFDIR}/upsset.conf
CONF_FILES+= ${NUT_EGDIR}/upsstats-single.html.sample \
${NUT_CONFDIR}/upsstats-single.html
CONF_FILES+= ${NUT_EGDIR}/upsstats.html.sample \
${NUT_CONFDIR}/upsstats.html
2004-04-11 03:54:20 +02:00
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"