pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/ruby-pdf-reader * Allow this package build on Ru...
details: https://anonhg.NetBSD.org/pkgsrc/rev/19797716be10
branches: trunk
changeset: 652844:19797716be10
user: taca <taca%pkgsrc.org@localhost>
date: Mon Jun 08 16:02:54 2015 +0000
description:
* Allow this package build on Ruby 2.2.
* Add support for pkg_alternatives.
Bump PKGREVISION.
diffstat:
print/ruby-pdf-reader/ALTERNATIVES | 4 ++++
print/ruby-pdf-reader/Makefile | 7 ++++---
print/ruby-pdf-reader/PLIST | 10 +++++-----
3 files changed, 13 insertions(+), 8 deletions(-)
diffs (49 lines):
diff -r 2f3a112d17fa -r 19797716be10 print/ruby-pdf-reader/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/ruby-pdf-reader/ALTERNATIVES Mon Jun 08 16:02:54 2015 +0000
@@ -0,0 +1,4 @@
+bin/pdf_callbacks @PREFIX@/@RUBY_SUFFIX@
+bin/pdf_list_callbacks @PREFIX@/bin/pdf_list_callbacks@RUBY_SUFFIX@
+bin/pdf_object @PREFIX@/bin/pdf_object@RUBY_SUFFIX@
+bin/pdf_text @PREFIX@/bin/pdf_text@RUBY_SUFFIX@
diff -r 2f3a112d17fa -r 19797716be10 print/ruby-pdf-reader/Makefile
--- a/print/ruby-pdf-reader/Makefile Mon Jun 08 16:01:41 2015 +0000
+++ b/print/ruby-pdf-reader/Makefile Mon Jun 08 16:02:54 2015 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2014/04/17 20:26:07 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2015/06/08 16:02:54 taca Exp $
DISTNAME= pdf-reader-1.3.3
+PKGREVISION= 1
CATEGORIES= print
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -14,9 +15,9 @@
DEPENDS+= ${RUBY_PKGPREFIX}-afm>=0.2.0<0.3:../../fonts/ruby-afm
DEPENDS+= ${RUBY_PKGPREFIX}-ttfunk>=0:../../fonts/ruby-ttfunk
-CONFLICTS+= ruby[1-9][0-9][0-9]-pdf-reader-[0-9]*
+USE_LANGUAGES= # none
-RUBY_VERSION_SUPPORTED= 200 193 21
+RUBYGEM_OPTIONS+= --format-executable
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 2f3a112d17fa -r 19797716be10 print/ruby-pdf-reader/PLIST
--- a/print/ruby-pdf-reader/PLIST Mon Jun 08 16:01:41 2015 +0000
+++ b/print/ruby-pdf-reader/PLIST Mon Jun 08 16:02:54 2015 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.5 2013/02/11 08:58:51 taca Exp $
-bin/pdf_callbacks
-bin/pdf_list_callbacks
-bin/pdf_object
-bin/pdf_text
+@comment $NetBSD: PLIST,v 1.6 2015/06/08 16:02:54 taca Exp $
+bin/pdf_callbacks${RUBY_SUFFIX}
+bin/pdf_list_callbacks${RUBY_SUFFIX}
+bin/pdf_object${RUBY_SUFFIX}
+bin/pdf_text${RUBY_SUFFIX}
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGELOG
${GEM_LIBDIR}/MIT-LICENSE
Home |
Main Index |
Thread Index |
Old Index