* Add pkg_alternatives support.

* Allow ruby22.

Bump PKGREVISION.
This commit is contained in:
taca 2015-05-17 09:47:05 +00:00
parent 2d613b876f
commit f4b5049458
3 changed files with 8 additions and 5 deletions

View file

@ -0,0 +1,2 @@
bin/htmldiff @PREFIX@/bin/htmldiff${RUBY_SUFFIX}
bin/ldiff @PREFIX@/bin/ldiff${RUBY_SUFFIX}

View file

@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.8 2015/03/08 14:10:22 taca Exp $
# $NetBSD: Makefile,v 1.9 2015/05/17 09:47:05 taca Exp $
DISTNAME= diff-lcs-1.2.5
PKGREVISION= 1
CATEGORIES= textproc
MAINTAINER= pkgsrc-users@NetBSD.org
@ -8,7 +9,7 @@ HOMEPAGE= http://rubyforge.org/projects/ruwiki/
COMMENT= Diff library for Ruby
LICENSE= gnu-gpl-v2 OR artistic OR ruby-license
RUBY_VERSION_SUPPORTED= 200 193 18 21
RUBYGEM_OPTIONS+= --format-executable
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,6 +1,6 @@
@comment $NetBSD: PLIST,v 1.5 2013/06/16 17:21:49 taca Exp $
bin/htmldiff
bin/ldiff
@comment $NetBSD: PLIST,v 1.6 2015/05/17 09:47:05 taca Exp $
bin/htmldiff${RUBY_SUFFIX}
bin/ldiff${RUBY_SUFFIX}
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.autotest
${GEM_LIBDIR}/.gemtest