blob: 3f287a47335890ffbd39a531878a2fac358aedd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.50 2010/02/17 15:39:02 joerg Exp $
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../sysutils/ups-nut/Makefile.common"
PKGNAME= ${DISTNAME:S/nut/ups-nut-cgi/}
PKGREVISION= 2
COMMENT= Network UPS Tools CGI scripts
DEPENDS+= ups-nut-2.*:../../sysutils/ups-nut
BUILD_TARGET= cgi
INSTALL_TARGET= install-cgi
INSTALLATION_DIRS+= ${NUT_EGDIR}
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
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|