svn commit: r308782 - head/dns/ddclient
Bryan Drewery
bdrewery at FreeBSD.org
Wed Dec 12 19:20:46 UTC 2012
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 at FreeBSD.org>
-#
+# Created by: Dirk Froemberg <dirk at 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
More information about the svn-ports-all
mailing list