aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-07-10 01:55:19 +0800
committerknu <knu@FreeBSD.org>2001-07-10 01:55:19 +0800
commit66aa4ce488abd79c85e5e25767c929c775814ac3 (patch)
tree3fe1fadf049fc52aae65884bdf0589bc06c8eaa9
parent759de8913dce3f5aa4020245867c32451b5818d3 (diff)
downloadfreebsd-ports-gnome-66aa4ce488abd79c85e5e25767c929c775814ac3.tar.gz
freebsd-ports-gnome-66aa4ce488abd79c85e5e25767c929c775814ac3.tar.zst
freebsd-ports-gnome-66aa4ce488abd79c85e5e25767c929c775814ac3.zip
Update to 0.2.
-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