diff options
author | knu <knu@FreeBSD.org> | 2012-01-06 13:54:12 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2012-01-06 13:54:12 +0800 |
commit | 366840cb43ac2a14945b7fc162b2be83e5cda616 (patch) | |
tree | d49b3a367c233740b200e402e9289b65eb809130 /textproc/ruby-rdtool | |
parent | 1fa086c322ca0db759d518e4e4497fa981e9bab5 (diff) | |
download | freebsd-ports-gnome-366840cb43ac2a14945b7fc162b2be83e5cda616.tar.gz freebsd-ports-gnome-366840cb43ac2a14945b7fc162b2be83e5cda616.tar.zst freebsd-ports-gnome-366840cb43ac2a14945b7fc162b2be83e5cda616.zip |
Update to 0.6.31 (new upstream) and unbreak with Ruby 1.9.
PR: ports/163846 (with slight fixes)
Submitted by: Shin-ya Murakami <murashin@gfd-dennou.org>
Diffstat (limited to 'textproc/ruby-rdtool')
-rw-r--r-- | textproc/ruby-rdtool/Makefile | 21 | ||||
-rw-r--r-- | textproc/ruby-rdtool/distinfo | 4 | ||||
-rw-r--r-- | textproc/ruby-rdtool/pkg-descr | 2 | ||||
-rw-r--r-- | textproc/ruby-rdtool/pkg-plist | 8 |
4 files changed, 18 insertions, 17 deletions
diff --git a/textproc/ruby-rdtool/Makefile b/textproc/ruby-rdtool/Makefile index b1f7cc3faa6d..125c6eae0f38 100644 --- a/textproc/ruby-rdtool/Makefile +++ b/textproc/ruby-rdtool/Makefile @@ -6,33 +6,38 @@ # PORTNAME= rdtool -PORTVERSION= 0.6.22 +PORTVERSION= 0.6.31 CATEGORIES= textproc ruby -MASTER_SITES= http://www.moonwolf.com/ruby/archive/ +MASTER_SITES= https://github.com/uwabami/${PORTNAME}/tarball/v${PORTVERSION}/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= uwabami-${PORTNAME}-v${PORTVERSION}-0-g${GITVERSION} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org COMMENT= RD to HTML/man/etc. converter (RD is to Ruby as POD is to Perl) -BUILD_DEPENDS= ${DEPEND_RUBY_AMSTD} \ - racc:${PORTSDIR}/devel/ruby-racc +BUILD_DEPENDS= racc:${PORTSDIR}/devel/ruby-racc + +GITVERSION= 0df3288 +FETCH_ARGS= -pRr +WRKSRC= ${WRKDIR}/uwabami-${PORTNAME}-${GITVERSION} USE_RUBY= yes -USE_RUBY_FEATURES= optparse strscan USE_RUBY_SETUP= yes RUBY_MODNAME= rd -DOCS_EN= README.rd README.html doc/rd-draft.html doc/rd-draft.rd -DOCS_JA= README.rd.ja README.ja.html doc/rd-draft.ja.html doc/rd-draft.rd.ja +DOCS_EN= README.rd doc/rd-draft.rd +DOCS_JA= README.rd.ja doc/rd-draft.rd.ja post-install: ${MKDIR} ${RUBY_SITELIBDIR}/rd ${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc ${RUBY_SITELIBDIR}/rd/ -.if !defined(NOPORTDOCS) +.if !defined(NOPORTEXAMPLES) ${MKDIR} ${RUBY_MODEXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc ${RUBY_MODEXAMPLESDIR}/ +.endif +.if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODDOCDIR}/ja .for f in ${DOCS_EN} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ diff --git a/textproc/ruby-rdtool/distinfo b/textproc/ruby-rdtool/distinfo index 18a3dc5a0e2a..c19f5e975a8e 100644 --- a/textproc/ruby-rdtool/distinfo +++ b/textproc/ruby-rdtool/distinfo @@ -1,2 +1,2 @@ -SHA256 (ruby/rdtool-0.6.22.tar.gz) = 11c528e739ed5c08728b9eaf17ff56e9a5b8e46b31c968874a1dcc5a5c350068 -SIZE (ruby/rdtool-0.6.22.tar.gz) = 89524 +SHA256 (ruby/uwabami-rdtool-v0.6.31-0-g0df3288.tar.gz) = a9e5dacdf0d7485b044b734e5897f34d9c9669bfe0e025396fcc680cfe7bfc50 +SIZE (ruby/uwabami-rdtool-v0.6.31-0-g0df3288.tar.gz) = 93470 diff --git a/textproc/ruby-rdtool/pkg-descr b/textproc/ruby-rdtool/pkg-descr index 62edce750b0e..10adba6cb63a 100644 --- a/textproc/ruby-rdtool/pkg-descr +++ b/textproc/ruby-rdtool/pkg-descr @@ -4,4 +4,4 @@ RD is a multipurpose documentation format created for documentating Ruby and output of Ruby world. Briefly, RD is to Ruby as POD is to Perl. -Author: Tosh (Toshiro Kuwabara) <toshirok@yb3.so-net.ne.jp> +WWW: https://github.com/uwabami/rdtool diff --git a/textproc/ruby-rdtool/pkg-plist b/textproc/ruby-rdtool/pkg-plist index f4e288d8f97c..496536728912 100644 --- a/textproc/ruby-rdtool/pkg-plist +++ b/textproc/ruby-rdtool/pkg-plist @@ -35,15 +35,11 @@ bin/rdswap %%RUBY_SITELIBDIR%%/rd/version.rb %%RUBY_SITELIBDIR%%/rd/visitor.rb @dirrm %%RUBY_SITELIBDIR%%/rd -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/dot.rd2rc -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.html +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/dot.rd2rc +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.rd -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja.html %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.rd.ja -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/rd-draft.ja.html %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/rd-draft.rd.ja -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/rd-draft.html %%PORTDOCS%%%%RUBY_MODDOCDIR%%/rd-draft.rd %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |