aboutsummaryrefslogtreecommitdiff
path: root/ftp/spegla
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-03-26 09:58:33 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-03-26 09:58:33 +0000
commit1933bfac5966c4c873f2170214fc9390476dcc39 (patch)
tree0703b05c980a1a962f207fe4415499f2f3f22ae8 /ftp/spegla
parent5c7bf71301cf74b9fc42fef0bef4145a737511d3 (diff)
downloadports-1933bfac5966c4c873f2170214fc9390476dcc39.tar.gz
ports-1933bfac5966c4c873f2170214fc9390476dcc39.zip
Convert left unconverted ports in ftp to new options framework
Notes
Notes: svn path=/head/; revision=315271
Diffstat (limited to 'ftp/spegla')
-rw-r--r--ftp/spegla/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/ftp/spegla/Makefile b/ftp/spegla/Makefile
index c2c0fb10a21d..d239395bb5d5 100644
--- a/ftp/spegla/Makefile
+++ b/ftp/spegla/Makefile
@@ -1,10 +1,5 @@
-# ex:ts=8
-# New ports collection makefile for: spegla
-# Date created: Sun Apr 19 16:17:25 PDT 1998
-# Whom: Jordan Hubbard <jkh@FreeBSD.org>
-#
+# Created by: Jordan Hubbard <jkh@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= spegla
PORTVERSION= 1.1p4
@@ -26,9 +21,11 @@ PORTEXAMPLES= freebsd.org spegla.conf spegla.sh
MANCOMPRESSED= yes
MAN1= spegla.1
-OPTIONS= IPV6 "IPv6 support" on
+OPTIONS_DEFINE= IPV6 NLS
-.if !defined(NOPORTEXAMPLES)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
post-install:
${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && \
@@ -36,10 +33,8 @@ post-install:
${INSTALL_SCRIPT} spegla.sh ${EXAMPLESDIR}
.endif
-.include <bsd.port.pre.mk>
-
-.if !defined(WITHOUT_IPV6)
+.if ${PORT_OPTIONS:MIPV6}
MAKE_ARGS+= -DINET6
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>