aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/spegla
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-03-26 17:58:33 +0800
committerbapt <bapt@FreeBSD.org>2013-03-26 17:58:33 +0800
commit512b099b0e8162a661f66142e440e6deda9c754f (patch)
tree0703b05c980a1a962f207fe4415499f2f3f22ae8 /ftp/spegla
parent399e8c4c349f1b9f4bacd9c9976acd8b96fe1bce (diff)
downloadfreebsd-ports-gnome-512b099b0e8162a661f66142e440e6deda9c754f.tar.gz
freebsd-ports-gnome-512b099b0e8162a661f66142e440e6deda9c754f.tar.zst
freebsd-ports-gnome-512b099b0e8162a661f66142e440e6deda9c754f.zip
Convert left unconverted ports in ftp to new options framework
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>