aboutsummaryrefslogtreecommitdiff
path: root/dns/opendd
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-02-20 20:22:13 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-02-20 20:22:13 +0000
commit9bd79dd8016e1c9ccb595892aa1fbb5ab6ed0e72 (patch)
tree3adf4b2e2f66d81691c002484c95b8190766e54b /dns/opendd
parent912175354a0dc587368786d95c1a71756c32d098 (diff)
downloadports-9bd79dd8016e1c9ccb595892aa1fbb5ab6ed0e72.tar.gz
ports-9bd79dd8016e1c9ccb595892aa1fbb5ab6ed0e72.zip
Notes
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>