Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2013 20:22:13 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r312665 - head/dns/opendd
Message-ID:  <201302202022.r1KKMD5Y016079@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Feb 20 20:22:13 2013
New Revision: 312665
URL: http://svnweb.freebsd.org/changeset/ports/312665

Log:
  Use DOCS instead of NOPORTDOCS

Modified:
  head/dns/opendd/Makefile

Modified: head/dns/opendd/Makefile
==============================================================================
--- head/dns/opendd/Makefile	Wed Feb 20 20:20:23 2013	(r312664)
+++ head/dns/opendd/Makefile	Wed Feb 20 20:22:13 2013	(r312665)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302202022.r1KKMD5Y016079>