summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-07-09 17:55:19 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-07-09 17:55:19 +0000
commit1b73ea0c3ba6fddf9acf15a9e75481a149bdebba (patch)
tree5928e0443e91434b05ded5cfd5a419b626b7afde /japanese
parentAdd a missing dependency on japanese/ruby-uconv. (diff)
Update to 0.2.
Notes
Notes: svn path=/head/; revision=44973
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ruby-romkan/Makefile21
-rw-r--r--japanese/ruby-romkan/distinfo2
-rw-r--r--japanese/ruby-romkan/pkg-plist7
3 files changed, 21 insertions, 9 deletions
diff --git a/japanese/ruby-romkan/Makefile b/japanese/ruby-romkan/Makefile
index 9447ec5d2341..4b3f9e8108b0 100644
--- a/japanese/ruby-romkan/Makefile
+++ b/japanese/ruby-romkan/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= romkan
-PORTVERSION= 0.1
+PORTVERSION= 0.2
CATEGORIES= japanese converters ruby
MASTER_SITES= http://namazu.org/~satoru/ruby-romkan/
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
@@ -15,17 +15,26 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
+.if !defined(NOPORTDOCS)
+USE_RUBY_RD= yes
+.endif
-NO_BUILD= yes
-
-EXAMPLES_JA= test.rb
-DOCS_EN= ChangeLog romkan-en.html
-DOCS_JA= romkan-ja.html
+EXAMPLES_JA= test.rb test.sh
+DOCS_EN= ChangeLog romkan.en.html romkan.en.rd
+DOCS_JA= romkan.ja.html romkan.ja.rd
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
+do-build:
+.if !defined(NOPORTDOCS)
+.for f in romkan.en.rd romkan.ja.rd
+ @cd ${WRKSRC}; \
+ ${RUBY_RD} ${f} > ${f:R}.html
+.endfor
+.endif
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/romkan.rb ${RUBY_SITELIBDIR}/
.if !defined(NOPORTDOCS)
diff --git a/japanese/ruby-romkan/distinfo b/japanese/ruby-romkan/distinfo
index def2811ed8a2..e5e67f7531fd 100644
--- a/japanese/ruby-romkan/distinfo
+++ b/japanese/ruby-romkan/distinfo
@@ -1 +1 @@
-MD5 (ruby/ruby-romkan-0.1.tar.gz) = 9633fc30a6f575723dc76b4fc3526fd9
+MD5 (ruby/ruby-romkan-0.2.tar.gz) = 60ad68512ab575b72be391ee3ea62917
diff --git a/japanese/ruby-romkan/pkg-plist b/japanese/ruby-romkan/pkg-plist
index 37ef84726084..aa96b5f36c5c 100644
--- a/japanese/ruby-romkan/pkg-plist
+++ b/japanese/ruby-romkan/pkg-plist
@@ -1,9 +1,12 @@
%%RUBY_SITELIBDIR%%/romkan.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/romkan/ja/test.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/romkan/ja/test.sh
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/romkan/ja
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/romkan
%%PORTDOCS%%%%RUBY_DOCDIR%%/romkan/ChangeLog
-%%PORTDOCS%%%%RUBY_DOCDIR%%/romkan/romkan-en.html
-%%PORTDOCS%%%%RUBY_DOCDIR%%/romkan/ja/romkan-ja.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/romkan/romkan.en.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/romkan/romkan.en.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/romkan/ja/romkan.ja.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/romkan/ja/romkan.ja.rd
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/romkan/ja
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/romkan