summaryrefslogtreecommitdiffstats
path: root/dns/posadis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/posadis/Makefile')
-rw-r--r--dns/posadis/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/dns/posadis/Makefile b/dns/posadis/Makefile
index 5b6d36d..3622c6c 100644
--- a/dns/posadis/Makefile
+++ b/dns/posadis/Makefile
@@ -18,6 +18,9 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
.if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so)
CONFIGURE_ARGS= --enable-fam
BUILD_DEPENDS= ${LOCALBASE}/include/fam.h:${PORTSDIR}/devel/fam
@@ -34,7 +37,7 @@ MAN1= getzone.1 posadis.1 posadis-getroots.1 posask.1 poshost.1
MAN5= posadisrc.5
DOCS= AUTHORS ChangeLog README TODO
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
OpenPOWER on IntegriCloud