pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/ruby-textpow Add pkg_alternatives support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/078d8b274527
branches:  trunk
changeset: 648285:078d8b274527
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Mar 13 16:24:59 2015 +0000

description:
Add pkg_alternatives support.

diffstat:

 textproc/ruby-textpow/ALTERNATIVES |  2 ++
 textproc/ruby-textpow/Makefile     |  4 +++-
 textproc/ruby-textpow/PLIST        |  6 +++---
 3 files changed, 8 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r db799cad401b -r 078d8b274527 textproc/ruby-textpow/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-textpow/ALTERNATIVES        Fri Mar 13 16:24:59 2015 +0000
@@ -0,0 +1,2 @@
+bin/plist2syntax @PREFIX@/bin/plist2syntax${RUBY_SUFFIX}
+bin/plist2yaml @PREFIX@/bin/plist2yaml${RUBY_SUFFIX}
diff -r db799cad401b -r 078d8b274527 textproc/ruby-textpow/Makefile
--- a/textproc/ruby-textpow/Makefile    Fri Mar 13 16:22:58 2015 +0000
+++ b/textproc/ruby-textpow/Makefile    Fri Mar 13 16:24:59 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2015/03/13 16:22:58 taca Exp $
+# $NetBSD: Makefile,v 1.6 2015/03/13 16:24:59 taca Exp $
 
 DISTNAME=      textpow-1.4.0
 CATEGORIES=    textproc
@@ -10,5 +10,7 @@
 
 DEPENDS+=      ${RUBY_PKGPREFIX}-plist>=3.0.1:../../textproc/ruby-plist
 
+RUBYGEM_OPTIONS+=      --format-executable
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r db799cad401b -r 078d8b274527 textproc/ruby-textpow/PLIST
--- a/textproc/ruby-textpow/PLIST       Fri Mar 13 16:22:58 2015 +0000
+++ b/textproc/ruby-textpow/PLIST       Fri Mar 13 16:24:59 2015 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.5 2015/03/13 16:22:58 taca Exp $
-bin/plist2syntax
-bin/plist2yaml
+@comment $NetBSD: PLIST,v 1.6 2015/03/13 16:24:59 taca Exp $
+bin/plist2syntax${RUBY_SUFFIX}
+bin/plist2yaml${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/MIT-LICENSE.txt
 ${GEM_LIBDIR}/README.rdoc



Home | Main Index | Thread Index | Old Index