aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2012-12-13 03:20:45 +0800
committerbdrewery <bdrewery@FreeBSD.org>2012-12-13 03:20:45 +0800
commit32dc88e1fc5ed7ea30cb80b5f19cf1620c056737 (patch)
tree797a5f819c66b319b064cd81af3a7e546ee959bb /dns
parent2d0fbda5ab85a4af3bade01624e3d46361f567a6 (diff)
downloadfreebsd-ports-gnome-32dc88e1fc5ed7ea30cb80b5f19cf1620c056737.tar.gz
freebsd-ports-gnome-32dc88e1fc5ed7ea30cb80b5f19cf1620c056737.tar.zst
freebsd-ports-gnome-32dc88e1fc5ed7ea30cb80b5f19cf1620c056737.zip
- Trim header
- Convert to new options framework
Diffstat (limited to 'dns')
-rw-r--r--dns/ddclient/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/dns/ddclient/Makefile b/dns/ddclient/Makefile
index d6f2858f034c..41c47eef82b9 100644
--- a/dns/ddclient/Makefile
+++ b/dns/ddclient/Makefile
@@ -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