Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2012 19:20:46 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308782 - head/dns/ddclient
Message-ID:  <201212121920.qBCJKkGb027834@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed Dec 12 19:20:45 2012
New Revision: 308782
URL: http://svnweb.freebsd.org/changeset/ports/308782

Log:
  - Trim header
  - Convert to new options framework

Modified:
  head/dns/ddclient/Makefile

Modified: head/dns/ddclient/Makefile
==============================================================================
--- head/dns/ddclient/Makefile	Wed Dec 12 19:17:37 2012	(r308781)
+++ head/dns/ddclient/Makefile	Wed Dec 12 19:20:45 2012	(r308782)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	ddclient
-# Date created:		Sun Aug 26 14:45:12 CEST 2001
-# Whom:			Dirk Froemberg <dirk@FreeBSD.org>
-#
+# Created by: Dirk Froemberg <dirk@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	ddclient
 PORTVERSION=	3.8.1
@@ -21,11 +17,12 @@ USE_PERL5_RUN=	yes
 NO_BUILD=	yes
 USE_RC_SUBR=	${PORTNAME}
 
-OPTIONS=	SSL "Enable SSL support" ON
+OPTIONS_DEFINE=	SSL
+OPTIONS_DEFAULT=SSL
 
 .include <bsd.port.options.mk>
 
-.ifndef WITHOUT_SSL
+.if ${PORT_OPTIONS:MSSL}
 RUN_DEPENDS+=	p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL
 .endif
 
@@ -50,7 +47,7 @@ post-patch:
 do-install:
 	@${INSTALL_DATA} ${WRKSRC}/sample-etc_ddclient.conf ${PREFIX}/etc/ddclient.conf.sample
 	@${INSTALL_SCRIPT} ${WRKSRC}/ddclient ${PREFIX}/sbin/
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${INSTALL} -d ${DOCSDIR}
 	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
 .endif



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