aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/argus3-clients
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2013-05-12 05:37:57 +0800
committerrakuco <rakuco@FreeBSD.org>2013-05-12 05:37:57 +0800
commit323d79b4bf5731a06c13d312260d3f07c21c55a7 (patch)
treeb73a4717be5f033660f04da11ee81affa433f233 /net-mgmt/argus3-clients
parentd11a219db536f979752713ec8c0ed644626c71c7 (diff)
downloadfreebsd-ports-gnome-323d79b4bf5731a06c13d312260d3f07c21c55a7.tar.gz
freebsd-ports-gnome-323d79b4bf5731a06c13d312260d3f07c21c55a7.tar.zst
freebsd-ports-gnome-323d79b4bf5731a06c13d312260d3f07c21c55a7.zip
Fix building with MANPAGES=no.
Turning off the MANPAGES option generates lots of errors on install and fatal errors when attempting to create a package. PR: ports/177675 Submitted by: Craig Leres <leres@ee.lbl.gov> Approved by: Paul Schmehl <pauls@utdallas.edu> (maintainer)
Diffstat (limited to 'net-mgmt/argus3-clients')
-rw-r--r--net-mgmt/argus3-clients/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-mgmt/argus3-clients/Makefile b/net-mgmt/argus3-clients/Makefile
index f5dd8bc70ee2..f319d48c3c25 100644
--- a/net-mgmt/argus3-clients/Makefile
+++ b/net-mgmt/argus3-clients/Makefile
@@ -33,7 +33,9 @@ CONFIGURE_ARGS+= --with-sasl=${LOCALBASE}
.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
PLIST_SUB+= MYSQL=""
+.if ${PORT_OPTIONS:MMANPAGES}
MAN1+= rasql.1 rasqlinsert.1 rasqltimeindex.1
+.endif
.else
PLIST_SUB+= MYSQL="@comment "
.endif
@@ -43,11 +45,13 @@ LIB_DEPENDS+= GeoIP:${PORTSDIR}/net/GeoIP
CONFIGURE_ARGS+= --with-GeoIP=${LOCALBASE}
.endif
+.if ${PORT_OPTIONS:MMANPAGES}
MAN1+= ra.1 rabins.1 racluster.1 raconvert.1 racount.1 radump.1 raevent.1 \
rafilteraddr.1 ragraph.1 ragrep.1 rahisto.1 ralabel.1 ranonymize.1 \
rapath.1 rapolicy.1 rasort.1 rasplit.1 rastream.1 rastrip.1
MAN5= racluster.5 radium.conf.5 ralabel.conf.5 ranonymize.5 rarc.5
MAN8= radium.8
+.endif
do-install:
.for i in ra rabins racluster raconvert racount radium radump raevent \