summaryrefslogtreecommitdiff
path: root/dns/posadis/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-05 00:18:17 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-05 00:18:17 +0000
commit0921d535b33a33bbb698f65353c4afc0c2550fd2 (patch)
treeda0b11d1f6647d7844520efde1a8b3b41d1944f7 /dns/posadis/Makefile
parentMissed a NOPORTDOCS. (diff)
Remove NOPORTDOCS and NOPORTEXAMPLES from unstaged ports. Stage a couple while
we're here. Remove any other references to NOPORT*. Approved by: portmgr (blanket for modernization)
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 5b6d36d72526..3622c6c59f03 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}