--- Makefile.orig 2013-04-06 14:36:43.000000000 -0700 +++ Makefile 2013-04-06 14:37:27.000000000 -0700 @@ -3,6 +3,7 @@ PORTNAME= argus PORTVERSION= 3.0.6.1 +PORTREVISION= 1 CATEGORIES= net-mgmt security MASTER_SITES= http://qosient.com/argus/src/ \ ftp://qosient.com/pub/argus/src/ @@ -31,8 +32,10 @@ CONFIGURE_ARGS+= --with-sasl=${LOCALBASE} .endif +.if ${PORT_OPTIONS:MMANPAGES} MAN5= argus.conf.5 MAN8= argus.8 +.endif post-patch: @${REINPLACE_CMD} -e 's#/usr/lib/sasl2#${LOCALBASE}/lib/sasl2#' ${WRKSRC}/argus/ArgusOutput.c