aboutsummaryrefslogtreecommitdiff
path: root/sysutils/apcupsd
diff options
context:
space:
mode:
authorLars Koeller <lkoeller@FreeBSD.org>2004-02-09 19:23:34 +0000
committerLars Koeller <lkoeller@FreeBSD.org>2004-02-09 19:23:34 +0000
commit8e94206e90a558d0f3c51a08d75e89eaff5e5270 (patch)
tree95e38964c24606185c564833f3247382df783643 /sysutils/apcupsd
parentb3488a98cb368c64a7afff6ccaafc514ca28a1a1 (diff)
downloadports-8e94206e90a558d0f3c51a08d75e89eaff5e5270.tar.gz
ports-8e94206e90a558d0f3c51a08d75e89eaff5e5270.zip
o) Include new OPTIONS directive into Makefile.
Notes
Notes: svn path=/head/; revision=100513
Diffstat (limited to 'sysutils/apcupsd')
-rw-r--r--sysutils/apcupsd/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index 10a72fef002e..ddf30da42603 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -28,6 +28,11 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --sbindir=${PREFIX}/sbin \
--sysconfdir=${PREFIX}/etc/apcupsd \
--with-serial-dev=/dev/usv
+OPTIONS= CLIENT_ONLY "Build apcupsd client only (no network server)" off
+OPTIONS+= CGI "Compile with CGI programms to show status" off
+
+.include <bsd.port.pre.mk>
+
# We need this below
CONF_FILES=apcupsd.conf
@@ -50,8 +55,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \
CFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \
LDFLAGS="-L${LOCALBASE}/lib"
-.include <bsd.port.pre.mk>
-
# Cause FreeBSD 3.X misses libmenu, libforms and libpanel (curses)
.if ${OSVERSION} > 400000
CONFIGURE_ARGS+=--enable-powerflute --with-libwrap=yes