Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2016 17:24:38 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417594 - head/net-im/ttytter
Message-ID:  <201606261724.u5QHOcuA081763@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606261724.u5QHOcuA081763>