blob: 38259b16c1b146d80572d71f2a21939455e2a448 (
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
36
|
# $NetBSD: Makefile,v 1.15 2002/03/13 17:37:44 fredb Exp $
DISTNAME= nut-0.45.3
PKGNAME= ups-nut-cgi-0.45.3
PKGREVISION= 1
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"
|