diff options
author | taca <taca@pkgsrc.org> | 2015-03-13 17:43:43 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2015-03-13 17:43:43 +0000 |
commit | 6e4d0d09530c71d22eb2f9d447b6e6e91920a216 (patch) | |
tree | cec1338a42147b87fe3fb7aed19b4b1162565a32 /www/termtter | |
parent | 14350c60e514a70a4f5356690ae7c5c81229be81 (diff) | |
download | pkgsrc-6e4d0d09530c71d22eb2f9d447b6e6e91920a216.tar.gz |
* Add support for pkg_alternatives.
* Drop ruby18 part and clean up.
Bump PKGREVISION.
Diffstat (limited to 'www/termtter')
-rw-r--r-- | www/termtter/ALTERNATIVES | 2 | ||||
-rw-r--r-- | www/termtter/Makefile | 13 | ||||
-rw-r--r-- | www/termtter/PLIST | 6 |
3 files changed, 11 insertions, 10 deletions
diff --git a/www/termtter/ALTERNATIVES b/www/termtter/ALTERNATIVES new file mode 100644 index 00000000000..ecc7db8d309 --- /dev/null +++ b/www/termtter/ALTERNATIVES @@ -0,0 +1,2 @@ +bin/termtter @PREFIX@/bin/termtter${RUBY_SUFFIX} +bin/termtter_frame @PREFIX@/bin/termtter_frame${RUBY_SUFFIX} diff --git a/www/termtter/Makefile b/www/termtter/Makefile index 1b9ff553405..bea4817625b 100644 --- a/www/termtter/Makefile +++ b/www/termtter/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.12 2014/09/17 10:41:22 obache Exp $ +# $NetBSD: Makefile,v 1.13 2015/03/13 17:43:43 taca Exp $ DISTNAME= termtter-2.2.1 +PKGREVISION= 1 CATEGORIES= www MAINTAINER= pkgsrc-users@NetBSD.org @@ -8,6 +9,7 @@ HOMEPAGE= http://termtter.github.com/ COMMENT= Terminal based Twitter client LICENSE= mit +DEPENDS+= ${RUBY_PKGPREFIX}-fiddle-[0-9]*:../../devel/ruby-fiddle DEPENDS+= ${RUBY_PKGPREFIX}-highline>=1.5.0:../../devel/ruby-highline DEPENDS+= ${RUBY_PKGPREFIX}-readline-[0-9]*:../../devel/ruby-readline DEPENDS+= ${RUBY_PKGPREFIX}-termcolor>=1.0.0:../../devel/ruby-termcolor @@ -17,13 +19,10 @@ DEPENDS+= ${RUBY_PKGPREFIX}-notify>=0.5.1:../../sysutils/ruby-notify OVERRIDE_GEMSPEC+= highline>=1.5.0 OVERRIDE_GEMSPEC+= termcolor>=1.0.0 -CONFLICTS+= ruby[1-9][0-9]-termtter-[0-9]* termtter-[0-9]* -RUBY_JSON_REQD= 1.1.3 -RUBY_JSON_TYPE= pure +RUBYGEM_OPTIONS+= --format-executable +RUBY_JSON_REQD= 1.1.3 +RUBY_JSON_TYPE= pure .include "../../lang/ruby/json.mk" .include "../../lang/ruby/gem.mk" -.if ${RUBY_VER} != "18" -DEPENDS+= ${RUBY_PKGPREFIX}-fiddle-[0-9]*:../../devel/ruby-fiddle -.endif .include "../../mk/bsd.pkg.mk" diff --git a/www/termtter/PLIST b/www/termtter/PLIST index 473d73cd655..04cc97fa521 100644 --- a/www/termtter/PLIST +++ b/www/termtter/PLIST @@ -1,6 +1,6 @@ -@comment $NetBSD: PLIST,v 1.6 2014/09/17 10:41:22 obache Exp $ -bin/termtter -bin/termtter_frame +@comment $NetBSD: PLIST,v 1.7 2015/03/13 17:43:43 taca Exp $ +bin/termtter${RUBY_SUFFIX} +bin/termtter_frame${RUBY_SUFFIX} ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/ChangeLog ${GEM_LIBDIR}/Gemfile |