diff options
author | jlam <jlam> | 2008-04-04 15:22:20 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-04 15:22:20 +0000 |
commit | 2e3a91ee5d41b24db1c43aa47de15b57faadf410 (patch) | |
tree | 694d43375d9929d5c28e13fe026184cd81da02f3 /textproc/ruby-rttool/Makefile | |
parent | c74629743a9e83105b03e3955ff795067e7e6dcc (diff) | |
download | pkgsrc-2e3a91ee5d41b24db1c43aa47de15b57faadf410.tar.gz |
Update ruby-rttool to version 1.0.2.0. Changes from version 1.0.2
are only that this now installs as a gem, but the gem has a slightly
different version number.
Diffstat (limited to 'textproc/ruby-rttool/Makefile')
-rw-r--r-- | textproc/ruby-rttool/Makefile | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/textproc/ruby-rttool/Makefile b/textproc/ruby-rttool/Makefile index 4172cce8904..24cb50b7738 100644 --- a/textproc/ruby-rttool/Makefile +++ b/textproc/ruby-rttool/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.17 2007/02/22 19:01:26 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2008/04/04 15:22:20 jlam Exp $ -DISTNAME= rttool-${VERSION} +DISTNAME= rttool-1.0.2.0 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} -CATEGORIES= textproc ruby -MASTER_SITES= http://www.rubyist.net/~rubikitch/archive/ +CATEGORIES= textproc MAINTAINER= taca@NetBSD.org HOMEPAGE= http://www.rubyist.net/~rubikitch/computer/rttool/ @@ -11,27 +10,16 @@ COMMENT= RT to HTML (and hopefully LaTeX in future) table converter CONFLICTS+= ruby[1-9][0-9]-rttool-* -.include "../../lang/ruby/rubyversion.mk" -# install a library file to rdtool's directory, too -BUILDLINK_DEPMETHOD.${RUBY_PKGPREFIX}-rdtool= full +DEPENDS+= ${RUBY_PKGPREFIX}-rdtool>=0.6.18:../../textproc/ruby-rdtool -VERSION= 1.0.2 -USE_RUBY_SETUP= yes -REPLACE_RUBY_DIRS= ${WRKSRC}/bin/rt ${WRKSRC}/lib/rt -HTMLDOCS= rttool.en.html rttool.ja.html -DOCS= rttool.en.rd rttool.ja.rd -SRCS= rt2html-lib.rb rt2txt-lib.rb rtparser.rb \ - rtvisitor.rb w3m.rb +GEM_BUILD= gemspec -post-install: - ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/rt -.for f in ${DOCS} ${HTMLDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/rt - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/rt -.endfor - ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/rt - ${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/rt +# Move the rt scripts into the main "bin" directory so they're +# automatically found and wrapped by the gem script during installation. +# +pre-build: + cd ${WRKSRC}/bin && mv rt/* . + rmdir ${WRKSRC}/bin/rt -.include "../../lang/ruby/modules.mk" -.include "../../textproc/ruby-rdtool/buildlink3.mk" +.include "../../misc/rubygems/rubygem.mk" .include "../../mk/bsd.pkg.mk" |