blob: 978c28de3e978e592ab82d79d4b51c7dd22d2ea1 (
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
33
34
35
|
# $NetBSD: Makefile,v 1.14 2002/01/03 14:48:59 lukem Exp $
DISTNAME= nut-0.45.3
PKGNAME= ups-nut-cgi-0.45.3
CATEGORIES= sysutils
MASTER_SITES= http://www.exploits.org/nut/release/
MAINTAINER= lukem@netbsd.org
HOMEPAGE= http://www.exploits.org/nut/
COMMENT= Network UPS Tools CGI scripts
BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf
DEPENDS+= ups-nut-0.*:../../sysutils/ups-nut
ALL_TARGET= cgi
INSTALL_TARGET= install-cgi
PKG_SYSCONFSUBDIR?= nut
NUT_CONFDIR= ${PKG_SYSCONFDIR}
NUT_STATEDIR= /var/db/nut
NUT_CGIDIR= ${PREFIX}/share/nut/cgi
USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
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 "../../graphics/gd/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|