summaryrefslogtreecommitdiff
path: root/textproc/ruby-diff-lcs
diff options
context:
space:
mode:
authortaca <taca>2015-05-17 09:47:05 +0000
committertaca <taca>2015-05-17 09:47:05 +0000
commit52de380bad9bc54d182dc2a7d22d30808fc73721 (patch)
tree29be792dd9d1ed7e84a6f54caf2207899583aca8 /textproc/ruby-diff-lcs
parent4fead769c8b18e8de1adf30ecf79a5867793f7b7 (diff)
downloadpkgsrc-52de380bad9bc54d182dc2a7d22d30808fc73721.tar.gz
* Add pkg_alternatives support.
* Allow ruby22. Bump PKGREVISION.
Diffstat (limited to 'textproc/ruby-diff-lcs')
-rw-r--r--textproc/ruby-diff-lcs/ALTERNATIVES2
-rw-r--r--textproc/ruby-diff-lcs/Makefile5
-rw-r--r--textproc/ruby-diff-lcs/PLIST6
3 files changed, 8 insertions, 5 deletions
diff --git a/textproc/ruby-diff-lcs/ALTERNATIVES b/textproc/ruby-diff-lcs/ALTERNATIVES
new file mode 100644
index 00000000000..9d8e16cf0ef
--- /dev/null
+++ b/textproc/ruby-diff-lcs/ALTERNATIVES
@@ -0,0 +1,2 @@
+bin/htmldiff @PREFIX@/bin/htmldiff${RUBY_SUFFIX}
+bin/ldiff @PREFIX@/bin/ldiff${RUBY_SUFFIX}
diff --git a/textproc/ruby-diff-lcs/Makefile b/textproc/ruby-diff-lcs/Makefile
index 10157d1d2d9..5027026e3a4 100644
--- a/textproc/ruby-diff-lcs/Makefile
+++ b/textproc/ruby-diff-lcs/Makefile
@@ -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"
diff --git a/textproc/ruby-diff-lcs/PLIST b/textproc/ruby-diff-lcs/PLIST
index 2fc9509eb72..e870e46fdd9 100644
--- a/textproc/ruby-diff-lcs/PLIST
+++ b/textproc/ruby-diff-lcs/PLIST
@@ -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