aboutsummaryrefslogtreecommitdiffstats
path: root/dns/opendd
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-02-21 04:22:13 +0800
committerbapt <bapt@FreeBSD.org>2013-02-21 04:22:13 +0800
commit7aa02ef108a09c73e5c4f289af91f7e333f99277 (patch)
tree3adf4b2e2f66d81691c002484c95b8190766e54b /dns/opendd
parent2fab32bd7e2d71ca4b31475cd67b41dc6eca20e3 (diff)
downloadfreebsd-ports-gnome-7aa02ef108a09c73e5c4f289af91f7e333f99277.tar.gz
freebsd-ports-gnome-7aa02ef108a09c73e5c4f289af91f7e333f99277.tar.zst
freebsd-ports-gnome-7aa02ef108a09c73e5c4f289af91f7e333f99277.zip
Use DOCS instead of NOPORTDOCS
Diffstat (limited to 'dns/opendd')
-rw-r--r--dns/opendd/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/dns/opendd/Makefile b/dns/opendd/Makefile
index e765491f6b3f..9f15778a538b 100644
--- a/dns/opendd/Makefile
+++ b/dns/opendd/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: opendd
-# Date created: 11 November 2006
-# Whom: Alexander Logvinov <ports@logvinov.com>
-#
+# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$
PORTNAME= opendd
@@ -14,7 +11,7 @@ DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A small DynDNS client
-OPTIONS_DEFINE= OPENSSL RCNG
+OPTIONS_DEFINE= OPENSSL RCNG DOCS
OPTIONS_DEFAULT= OPENSSL RCNG
RCNG_DESC= Install RC_NG script
@@ -27,7 +24,7 @@ PLIST_FILES= sbin/${PORTNAME} \
"%%ETCDIR%%/${PORTNAME}.pem" \
"@dirrmtry %%ETCDIR%%"
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRCNG}
USE_RC_SUBR= ${PORTNAME}
@@ -70,11 +67,11 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${ETCDIR}
.endif
@${CHMOD} 600 ${ETCDIR}/*.conf
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} -p ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>