summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut-cgi/Makefile
blob: 1bb49c8e384b9b01c262178a877ba1cf295a195b (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.6 2001/03/27 03:20:18 hubertf Exp $
#

DISTNAME=		nut-0.44.3-pre5
PKGNAME=		ups-nut-cgi-0.44.3pre5
CATEGORIES=		sysutils
MASTER_SITES=		http://www.exploits.org/nut/testing/0.44.3-pre/

MAINTAINER=		collver@linuxfreemail.com
HOMEPAGE=		http://www.exploits.org/nut/
COMMENT=		Network UPS Tools CGI scripts

DEPENDS+=		gd-*:../../graphics/gd
DEPENDS+=		ups-nut-0*:../ups-nut
BUILD_DEPENDS+=		autoconf-2.13:../../devel/autoconf

WRKSRC=			${WRKDIR}/nut-0.44.3

ALL_TARGET=		cgi
INSTALL_TARGET=		install-cgi

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--sysconfdir=${LOCALBASE}/etc/nut \
			--with-state-path=/var/db \
			--with-cgipath=${LOCALBASE}/share/nut/cgi \
			--with-graphics=${LOCALBASE}

pre-configure:
	cd ${WRKSRC}; ${LOCALBASE}/bin/autoreconf --force

.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.pkg.mk"