diff options
-rw-r--r-- | sysutils/apcupsd/Makefile | 7 |
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 |