* Add support for pkg_alternatives.
* Drop ruby18 part and clean up. Bump PKGREVISION.
This commit is contained in:
parent
92ed45b539
commit
f6c8fb3e4b
3 changed files with 11 additions and 10 deletions
2
www/termtter/ALTERNATIVES
Normal file
2
www/termtter/ALTERNATIVES
Normal file
|
@ -0,0 +1,2 @@
|
|||
bin/termtter @PREFIX@/bin/termtter${RUBY_SUFFIX}
|
||||
bin/termtter_frame @PREFIX@/bin/termtter_frame${RUBY_SUFFIX}
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue