summaryrefslogtreecommitdiffstats
path: root/devel/rubygem-gettext
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-02-03 19:33:36 +0000
committerknu <knu@FreeBSD.org>2002-02-03 19:33:36 +0000
commit013142c20e509b814d3084ad18a0eebd0e5f8b9e (patch)
tree4502ddd4ff416995d0558a451a28bed94bc1a299 /devel/rubygem-gettext
parent8d0db8b49e2ed3b22c30c30fef2f3c09b5598106 (diff)
downloadFreeBSD-ports-013142c20e509b814d3084ad18a0eebd0e5f8b9e.zip
FreeBSD-ports-013142c20e509b814d3084ad18a0eebd0e5f8b9e.tar.gz
Add ruby-gettext, a Ruby implementation of the gettext library.
Diffstat (limited to 'devel/rubygem-gettext')
-rw-r--r--devel/rubygem-gettext/Makefile35
-rw-r--r--devel/rubygem-gettext/distinfo1
-rw-r--r--devel/rubygem-gettext/pkg-comment1
-rw-r--r--devel/rubygem-gettext/pkg-descr6
-rw-r--r--devel/rubygem-gettext/pkg-plist39
5 files changed, 82 insertions, 0 deletions
diff --git a/devel/rubygem-gettext/Makefile b/devel/rubygem-gettext/Makefile
new file mode 100644
index 0000000..c11369f
--- /dev/null
+++ b/devel/rubygem-gettext/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: Ruby GetText Package
+# Date created: 4 February 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gettext
+PORTVERSION= 0.1.1
+CATEGORIES= devel ruby
+MASTER_SITES= http://home2.highway.ne.jp/mutoh/tools/ruby/
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-package-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
+
+post-extract:
+ ${FIND} ${WRKSRC} -type d -name CVS -exec ${RM} -rf {} ';' -prune
+ ${FIND} ${WRKSRC} -type f -name '*~' -delete
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${CP} -R ${WRKSRC}/samples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+ ${CP} -R ${WRKSRC}/docs/* ${RUBY_DOCDIR}/${PORTNAME}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-gettext/distinfo b/devel/rubygem-gettext/distinfo
new file mode 100644
index 0000000..8451a00
--- /dev/null
+++ b/devel/rubygem-gettext/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-gettext-package-0.1.1.tar.gz) = 7434e7080a88979cf0b22e9726c1ef5b
diff --git a/devel/rubygem-gettext/pkg-comment b/devel/rubygem-gettext/pkg-comment
new file mode 100644
index 0000000..31c1c4e
--- /dev/null
+++ b/devel/rubygem-gettext/pkg-comment
@@ -0,0 +1 @@
+A Ruby implementation of the gettext library
diff --git a/devel/rubygem-gettext/pkg-descr b/devel/rubygem-gettext/pkg-descr
new file mode 100644
index 0000000..da13dd4
--- /dev/null
+++ b/devel/rubygem-gettext/pkg-descr
@@ -0,0 +1,6 @@
+Ruby GetText Package is Native Language Support Library and Tools
+which modeled after GNU GetText package, but the API is simpler than
+that of GNU GetText.
+
+Author: Masao Mutoh <mutoh@highway.ne.jp>
+WWW: http://home2.highway.ne.jp/mutoh/tools/ruby/en/ruby-gettext.html
diff --git a/devel/rubygem-gettext/pkg-plist b/devel/rubygem-gettext/pkg-plist
new file mode 100644
index 0000000..5f4d9a7
--- /dev/null
+++ b/devel/rubygem-gettext/pkg-plist
@@ -0,0 +1,39 @@
+bin/rgettext
+%%RUBY_SITELIBDIR%%/gettext.rb
+%%RUBY_SITELIBDIR%%/mo.rb
+share/locale/ja/LC_MESSAGES/rgettext.mo
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gettext/hello.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gettext/hello2.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gettext/hellogtk.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gettext/locale/ja/LC_MESSAGES/hello.mo
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gettext/locale/ja/LC_MESSAGES/hello2.mo
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gettext/locale/ja/LC_MESSAGES/hellogtk.mo
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gettext/po/hello.pot
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gettext/po/hello2.pot
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gettext/po/hellogtk.pot
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gettext/po/ja/hello.po
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gettext/po/ja/hello2.po
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gettext/po/ja/hellogtk.po
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gettext/po/makemo.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gettext/po/ja
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gettext/po
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gettext/locale/ja/LC_MESSAGES
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gettext/locale/ja
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gettext/locale
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gettext/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gettext/config.rb
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gettext/html/en/ruby-gettext.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gettext/html/ja/ruby-gettext.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gettext/html/style.css
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gettext/rd/en/LANGUAGE
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gettext/rd/en/ruby-gettext.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gettext/rd/ja/LANGUAGE
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gettext/rd/ja/ruby-gettext.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gettext/yard2html.rb
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gettext/rd/ja
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gettext/rd/en
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gettext/rd
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gettext/html/ja
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gettext/html/en
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gettext/html
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gettext
OpenPOWER on IntegriCloud