aboutsummaryrefslogtreecommitdiff
path: root/sysutils/nut-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/nut-devel/Makefile')
-rw-r--r--sysutils/nut-devel/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysutils/nut-devel/Makefile b/sysutils/nut-devel/Makefile
index b67f23a4dfd3..bbced16cca75 100644
--- a/sysutils/nut-devel/Makefile
+++ b/sysutils/nut-devel/Makefile
@@ -36,8 +36,8 @@ CGIDIR_REL?= ${CGIDIR:S,^${PREFIX}/,,}
PLIST_SUB+= CGIDIR="${CGIDIR_REL}"
PLIST_SUB+= CGIETCDIR="etc/nut/"
-OPTIONS_DEFAULT=SERIAL USB SNMP NEON SSL_OFF
-OPTIONS_DEFINE= SERIAL USB SNMP NEON PDU CGI BASH AVAHI IPMIPSU FREEIPMI DOCS
+OPTIONS_DEFAULT=SERIAL USB SNMP NEON SSL_OFF MANPAGES
+OPTIONS_DEFINE= SERIAL USB SNMP NEON PDU CGI BASH AVAHI IPMIPSU FREEIPMI DOCS MANPAGES
OPTIONS_SINGLE= SSL
OPTIONS_SINGLE_SSL= SSL_OFF OPENSSL NSS
OPTIONS_SUB= yes
@@ -81,6 +81,9 @@ LIB_DEPENDS+= libltdl.so:devel/libltdl
# XXX asciidoc.
BUILD_DEPENDS= asciidoc:textproc/asciidoc
+MANPAGES_CONFIGURE_ON= --with-doc=man=auto
+MANPAGES_CONFIGURE_OFF= --with-doc=no
+
CGI_LIB_DEPENDS= libgd.so:graphics/gd
CGI_CONFIGURE_WITH= cgi
CGI_CONFIGURE_ON= --with-cgipath=${CGIDIR} \