aboutsummaryrefslogtreecommitdiff
path: root/devel/rubygem-gettext
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2004-10-26 04:22:47 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2004-10-26 04:22:47 +0000
commit79c5ed3adbe57077f7beb0b916f8e4f9196f10ff (patch)
tree7001cf9936b410c4e8f75c354f9d499443ce0e8f /devel/rubygem-gettext
parentde948f13272fe58c2ddde08b215d485f52753b91 (diff)
downloadports-79c5ed3adbe57077f7beb0b916f8e4f9196f10ff.tar.gz
ports-79c5ed3adbe57077f7beb0b916f8e4f9196f10ff.zip
Notes
Diffstat (limited to 'devel/rubygem-gettext')
-rw-r--r--devel/rubygem-gettext/Makefile18
-rw-r--r--devel/rubygem-gettext/distinfo4
-rw-r--r--devel/rubygem-gettext/pkg-plist14
3 files changed, 19 insertions, 17 deletions
diff --git a/devel/rubygem-gettext/Makefile b/devel/rubygem-gettext/Makefile
index fbdb1b483a65..a6e23568c363 100644
--- a/devel/rubygem-gettext/Makefile
+++ b/devel/rubygem-gettext/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gettext
-PORTVERSION= 0.6.1
+PORTVERSION= 0.7.0
CATEGORIES= devel ruby
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -23,21 +23,25 @@ USE_RUBY= yes
USE_RUBY_FEATURES= racc-runtime
USE_RUBY_SETUP= yes
-RUBY_RD_FILES= # defined
RUBY_SHEBANG_FILES= ${WRKSRC}/samples/*.rb
+DOCS_EN= ChangeLog README
+DOCS_JA= README.ja
+
post-install: doc-install
.include <bsd.port.mk>
doc-install:
.if !defined(NOPORTDOCS)
-.if !defined(RUBY_NO_RD_HTML)
- cd ${WRKSRC}/docs; ${RUBY} makehtml.rb
-.endif
cd ${WRKSRC}/samples; ${RUBY} makemo.rb
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${CP} -R ${WRKSRC}/samples/* ${RUBY_MODEXAMPLESDIR}/
- ${MKDIR} ${RUBY_MODDOCDIR}
- ${CP} -R ${WRKSRC}/docs/* ${RUBY_MODDOCDIR}/
+ ${MKDIR} ${RUBY_MODDOCDIR}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
+.endfor
.endif
diff --git a/devel/rubygem-gettext/distinfo b/devel/rubygem-gettext/distinfo
index 1bbddaa11178..15b08b4ba1b3 100644
--- a/devel/rubygem-gettext/distinfo
+++ b/devel/rubygem-gettext/distinfo
@@ -1,2 +1,2 @@
-MD5 (ruby/ruby-gettext-package-0.6.1.tar.gz) = 4798de3a197a1f34633e424731879ce3
-SIZE (ruby/ruby-gettext-package-0.6.1.tar.gz) = 33773
+MD5 (ruby/ruby-gettext-package-0.7.0.tar.gz) = 6132217bb79719d6e3c6a7ea58ffbe11
+SIZE (ruby/ruby-gettext-package-0.7.0.tar.gz) = 36471
diff --git a/devel/rubygem-gettext/pkg-plist b/devel/rubygem-gettext/pkg-plist
index e63a81388a55..5c35281538c2 100644
--- a/devel/rubygem-gettext/pkg-plist
+++ b/devel/rubygem-gettext/pkg-plist
@@ -3,6 +3,7 @@ bin/rmsgfmt
%%RUBY_SITEARCHLIBDIR%%/gettext/_locale.so
@dirrm %%RUBY_SITEARCHLIBDIR%%/gettext
%%RUBY_SITELIBDIR%%/gettext.rb
+%%RUBY_SITELIBDIR%%/gettext/iconv.rb
%%RUBY_SITELIBDIR%%/gettext/locale.rb
%%RUBY_SITELIBDIR%%/gettext/locale_default.rb
%%RUBY_SITELIBDIR%%/gettext/locale_table_win32.rb
@@ -10,6 +11,7 @@ bin/rmsgfmt
%%RUBY_SITELIBDIR%%/gettext/mo.rb
%%RUBY_SITELIBDIR%%/gettext/parser/glade.rb
%%RUBY_SITELIBDIR%%/gettext/parser/ruby.rb
+%%RUBY_SITELIBDIR%%/gettext/textdomain.rb
@dirrm %%RUBY_SITELIBDIR%%/gettext/parser
@dirrm %%RUBY_SITELIBDIR%%/gettext
share/locale/ja/LC_MESSAGES/rgettext.mo
@@ -52,12 +54,8 @@ share/locale/ja/LC_MESSAGES/rmsgfmt.mo
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/locale/ja
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/locale
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
-%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/html/en/ruby-gettext.html
-%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/html/ja/ruby-gettext.html
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/rd/ja
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/rd/en
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/rd
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/html/ja
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/html/en
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%