diff options
author | taca <taca@pkgsrc.org> | 2015-03-13 16:24:59 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2015-03-13 16:24:59 +0000 |
commit | 7ac5c5488f6b7932d454f0e2cef755c335379ffe (patch) | |
tree | 0b3116d3482a09d661d6fd9874b880530e9ed472 /textproc/ruby-textpow | |
parent | a46cb90d28a18c5ab1a244e1e9137ab1a836b7e9 (diff) | |
download | pkgsrc-7ac5c5488f6b7932d454f0e2cef755c335379ffe.tar.gz |
Add pkg_alternatives support.
Diffstat (limited to 'textproc/ruby-textpow')
-rw-r--r-- | textproc/ruby-textpow/ALTERNATIVES | 2 | ||||
-rw-r--r-- | textproc/ruby-textpow/Makefile | 4 | ||||
-rw-r--r-- | textproc/ruby-textpow/PLIST | 6 |
3 files changed, 8 insertions, 4 deletions
diff --git a/textproc/ruby-textpow/ALTERNATIVES b/textproc/ruby-textpow/ALTERNATIVES new file mode 100644 index 00000000000..cd41672a2ae --- /dev/null +++ b/textproc/ruby-textpow/ALTERNATIVES @@ -0,0 +1,2 @@ +bin/plist2syntax @PREFIX@/bin/plist2syntax${RUBY_SUFFIX} +bin/plist2yaml @PREFIX@/bin/plist2yaml${RUBY_SUFFIX} diff --git a/textproc/ruby-textpow/Makefile b/textproc/ruby-textpow/Makefile index fd2527fd74b..9b130ed441e 100644 --- a/textproc/ruby-textpow/Makefile +++ b/textproc/ruby-textpow/Makefile @@ -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 @@ LICENSE= mit 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 --git a/textproc/ruby-textpow/PLIST b/textproc/ruby-textpow/PLIST index c8d513c14f6..3e01574cf2f 100644 --- a/textproc/ruby-textpow/PLIST +++ b/textproc/ruby-textpow/PLIST @@ -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 |