aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorlkoeller <lkoeller@FreeBSD.org>2004-02-10 03:23:34 +0800
committerlkoeller <lkoeller@FreeBSD.org>2004-02-10 03:23:34 +0800
commit4fa4ce739fcaaaa9e7a319b57c0eb95419d52c65 (patch)
treed381a90e73324aa75362ac302b4af1eee08a7be7 /sysutils
parent6c637248023046d408de9067b24451d0ca457cb6 (diff)
downloadfreebsd-ports-gnome-4fa4ce739fcaaaa9e7a319b57c0eb95419d52c65.tar.gz
freebsd-ports-gnome-4fa4ce739fcaaaa9e7a319b57c0eb95419d52c65.tar.zst
freebsd-ports-gnome-4fa4ce739fcaaaa9e7a319b57c0eb95419d52c65.zip
o) Include new OPTIONS directive into Makefile.
Diffstat (limited to 'sysutils')
-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