aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-06-27 01:24:38 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-06-27 01:24:38 +0800
commitcca76fb41644a43c34b9038dda4b89232df0d141 (patch)
treef26930834e739b0389859353d20f640cbf52ca11 /net-im
parent1d1698c2c808bf587cd487b0b670a679d90e331a (diff)
downloadfreebsd-ports-gnome-cca76fb41644a43c34b9038dda4b89232df0d141.tar.gz
freebsd-ports-gnome-cca76fb41644a43c34b9038dda4b89232df0d141.tar.zst
freebsd-ports-gnome-cca76fb41644a43c34b9038dda4b89232df0d141.zip
- Convert to new options dependency helper
- Add NO_ARCH Approved by: portmgr (blanket)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/ttytter/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/net-im/ttytter/Makefile b/net-im/ttytter/Makefile
index a75480889f61..3b579eff6322 100644
--- a/net-im/ttytter/Makefile
+++ b/net-im/ttytter/Makefile
@@ -21,6 +21,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
RUN_DEPENDS= curl:ftp/curl \
p5-TimeDate>=0:devel/p5-TimeDate
+NO_ARCH= yes
NO_BUILD= yes
USES= perl5 shebangfix
USE_PERL5= run
@@ -33,15 +34,8 @@ RLTTYTTER_DESC= Use T::R::TTYtter readline driver (beta!)
PLIST_FILES= bin/${PORTNAME}
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MREADLINE}
-RUN_DEPENDS+= p5-Term-ReadLine-Perl>=0:devel/p5-Term-ReadLine-Perl
-.endif
-
-.if ${PORT_OPTIONS:MRLTTYTTER}
-RUN_DEPENDS+= p5-Term-ReadLine-TTYtter>=1.4:devel/p5-Term-ReadLine-TTYtter
-.endif
+READLINE_RUN_DEPENDS= p5-Term-ReadLine-Perl>=0:devel/p5-Term-ReadLine-Perl
+RLTTYTTER_RUN_DEPENDS= p5-Term-ReadLine-TTYtter>=1.4:devel/p5-Term-ReadLine-TTYtter
do-extract:
@${MKDIR} ${WRKSRC}