svn commit: r417594 - head/net-im/ttytter
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jun 26 17:24:39 UTC 2016
Author: sunpoet
Date: Sun Jun 26 17:24:38 2016
New Revision: 417594
URL: https://svnweb.freebsd.org/changeset/ports/417594
Log:
- Convert to new options dependency helper
- Add NO_ARCH
Approved by: portmgr (blanket)
Modified:
head/net-im/ttytter/Makefile
Modified: head/net-im/ttytter/Makefile
==============================================================================
--- head/net-im/ttytter/Makefile Sun Jun 26 17:24:34 2016 (r417593)
+++ head/net-im/ttytter/Makefile Sun Jun 26 17:24:38 2016 (r417594)
@@ -21,6 +21,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg
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 readli
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}
More information about the svn-ports-all
mailing list