aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2012-08-23 20:56:26 +0800
committerolgeni <olgeni@FreeBSD.org>2012-08-23 20:56:26 +0800
commit0bfff09d30a0afeb0d1169be8d31c3bb7f44b7da (patch)
tree58f2d934daac10916ea837f17aa80c99b8b2c005 /net-im
parentab8213e803a26e1cc072f0428b6f2027bb3ffb77 (diff)
downloadfreebsd-ports-gnome-0bfff09d30a0afeb0d1169be8d31c3bb7f44b7da.tar.gz
freebsd-ports-gnome-0bfff09d30a0afeb0d1169be8d31c3bb7f44b7da.tar.zst
freebsd-ports-gnome-0bfff09d30a0afeb0d1169be8d31c3bb7f44b7da.zip
Upgrade to version 2.0.03 and switch to OptionsNG.
PR: ports/170750 Submitted by: olgeni Approved by: maintainer
Diffstat (limited to 'net-im')
-rw-r--r--net-im/ttytter/Makefile12
-rw-r--r--net-im/ttytter/distinfo4
2 files changed, 9 insertions, 7 deletions
diff --git a/net-im/ttytter/Makefile b/net-im/ttytter/Makefile
index 227b7f748e89..2f8f093b7eaa 100644
--- a/net-im/ttytter/Makefile
+++ b/net-im/ttytter/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= ttytter
-PORTVERSION= 2.0.02
+PORTVERSION= 2.0.03
CATEGORIES= net-im perl5
MASTER_SITES= http://www.floodgap.com/software/ttytter/dist2/
DISTNAME= ${PORTVERSION}
@@ -20,18 +20,20 @@ RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \
NO_BUILD= yes
USE_PERL5_RUN= 5.8.6+
-OPTIONS= READLINE "Include rich readline support" on \
- RLTTYTTER "Use T::R::TTYtter readline driver (beta!)" off \
+OPTIONS_DEFINE= READLINE RLTTYTTER
+OPTIONS_DEFAULT=READLINE
+READLINE_DESC= Include rich readline support
+RLTTYTTER_DESC= Use T::R::TTYtter readline driver (beta!)
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_READLINE)
+.if ${PORT_OPTIONS:MREADLINE}
RUN_DEPENDS+= p5-ReadLine-Perl>=0:${PORTSDIR}/devel/p5-ReadLine-Perl
.endif
-.if defined(WITH_RLTTYTTER)
+.if ${PORT_OPTIONS:MRLTTYTTER}
RUN_DEPENDS+= p5-ReadLine-TTYtter>=1.3:${PORTSDIR}/devel/p5-ReadLine-TTYtter
.endif
diff --git a/net-im/ttytter/distinfo b/net-im/ttytter/distinfo
index 0d8cad524330..6a4dfb36e88e 100644
--- a/net-im/ttytter/distinfo
+++ b/net-im/ttytter/distinfo
@@ -1,2 +1,2 @@
-SHA256 (2.0.02.txt) = 5020ac4834297c7ca35b2f14db1760ee1097e55552248d4cf00e7ee67246fb34
-SIZE (2.0.02.txt) = 218842
+SHA256 (2.0.03.txt) = 507213785591640b0e6056fc25604adb905c09a545ec376620813c476d10e194
+SIZE (2.0.03.txt) = 220092