summaryrefslogtreecommitdiffstats
path: root/devel/ruby-intl
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-08-09 12:29:24 +0000
committerknu <knu@FreeBSD.org>2000-08-09 12:29:24 +0000
commit091745344627604f31bd18c5f7cd9c384edd8a4d (patch)
tree9626af18770470e25e88b417af9444487a785e05 /devel/ruby-intl
parente64aa0d3324c5eb6ffb26cebb00b77b3a9ab3298 (diff)
downloadFreeBSD-ports-091745344627604f31bd18c5f7cd9c384edd8a4d.zip
FreeBSD-ports-091745344627604f31bd18c5f7cd9c384edd8a4d.tar.gz
Add ruby-intl, a simple wrapper of GNU gettext for Ruby.
Diffstat (limited to 'devel/ruby-intl')
-rw-r--r--devel/ruby-intl/Makefile45
-rw-r--r--devel/ruby-intl/distinfo1
-rw-r--r--devel/ruby-intl/pkg-comment1
-rw-r--r--devel/ruby-intl/pkg-descr3
-rw-r--r--devel/ruby-intl/pkg-plist9
5 files changed, 59 insertions, 0 deletions
diff --git a/devel/ruby-intl/Makefile b/devel/ruby-intl/Makefile
new file mode 100644
index 0000000..b686bb1
--- /dev/null
+++ b/devel/ruby-intl/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: Ruby-intl
+# Date created: 9 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= intl
+PORTVERSION= 0.11
+CATEGORIES= devel # ruby
+MASTER_SITES= http://www.page.sannet.ne.jp/hirata-naoto/
+PKGNAMEPREFIX= ruby-
+DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
+RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+
+INSTALL_TARGET= site-install
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
+
+RUBY= ${LOCALBASE}/bin/ruby
+RUBY_VER= 1.4
+RUBY_ARCH= ${ARCH}-freebsd${OSREL}
+
+do-configure:
+ @cd ${WRKSRC}; \
+ ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/examples/ruby/intl/po/
+ ${INSTALL_DATA} ${WRKSRC}/hello.rb ${PREFIX}/share/examples/ruby/intl/
+ ${INSTALL_DATA} ${WRKSRC}/ja.po ${PREFIX}/share/examples/ruby/intl/po/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/ruby/intl/ja
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ruby/intl/
+ ${INSTALL_DATA} ${WRKSRC}/README.jp ${PREFIX}/share/doc/ruby/intl/ja/
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-intl/distinfo b/devel/ruby-intl/distinfo
new file mode 100644
index 0000000..cf665b2
--- /dev/null
+++ b/devel/ruby-intl/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-intl-0.11.tar.gz) = f9283668a7956cc4071347416f5ea046
diff --git a/devel/ruby-intl/pkg-comment b/devel/ruby-intl/pkg-comment
new file mode 100644
index 0000000..1705429
--- /dev/null
+++ b/devel/ruby-intl/pkg-comment
@@ -0,0 +1 @@
+A simple wrapper of GNU gettext for Ruby
diff --git a/devel/ruby-intl/pkg-descr b/devel/ruby-intl/pkg-descr
new file mode 100644
index 0000000..c453a34
--- /dev/null
+++ b/devel/ruby-intl/pkg-descr
@@ -0,0 +1,3 @@
+Ruby-intl -- A simple wrapper of GNU gettext for ruby
+
+WWW: http://www.page.sannet.ne.jp/hirata-naoto/ruby-e.html
diff --git a/devel/ruby-intl/pkg-plist b/devel/ruby-intl/pkg-plist
new file mode 100644
index 0000000..f082543
--- /dev/null
+++ b/devel/ruby-intl/pkg-plist
@@ -0,0 +1,9 @@
+lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/intl.so
+share/examples/ruby/intl/hello.rb
+share/examples/ruby/intl/po/ja.po
+@dirrm share/examples/ruby/intl/po
+@dirrm share/examples/ruby/intl
+share/doc/ruby/intl/README
+share/doc/ruby/intl/ja/README.jp
+@dirrm share/doc/ruby/intl/ja
+@dirrm share/doc/ruby/intl
OpenPOWER on IntegriCloud