summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--converters/ruby-iconv/Makefile36
-rw-r--r--converters/ruby-iconv/distinfo4
-rw-r--r--converters/ruby-iconv/pkg/DESCR7
-rw-r--r--converters/ruby-iconv/pkg/PLIST5
4 files changed, 52 insertions, 0 deletions
diff --git a/converters/ruby-iconv/Makefile b/converters/ruby-iconv/Makefile
new file mode 100644
index 00000000000..077eebb5391
--- /dev/null
+++ b/converters/ruby-iconv/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 11:21:12 taca Exp $
+# FreeBSD: ports/converters/ruby-iconv/Makefile,v 1.12 2000/11/29 11:46:39 sobomax Exp
+
+DISTNAME= iconv-0.4.4
+PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+CATEGORIES= converters
+MASTER_SITES= http://member.nifty.ne.jp/nokada/archive/
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://member.nifty.ne.jp/nokada/ruby.html
+COMMENT= Iconv wrapper class for Ruby
+
+USE_BUILDLINK_ONLY= #defined
+
+.include "../../converters/libiconv/buildlink.mk"
+
+DIST_SUBDIR= ruby
+USE_RUBY_EXTCONF= yes
+USE_RUBY_RD= yes
+
+INSTALL_TARGET= site-install
+
+DOCS= iconv.html rd.css
+
+post-build:
+ @cd ${WRKSRC}; ${RUBY_RD} iconv.c > iconv.html
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/iconv
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/iconv
+.endfor
+
+.include "../../textproc/ruby-rdtool/Makefile.common"
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/ruby-iconv/distinfo b/converters/ruby-iconv/distinfo
new file mode 100644
index 00000000000..d5b92bc1f89
--- /dev/null
+++ b/converters/ruby-iconv/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/01 11:21:12 taca Exp $
+
+SHA1 (ruby/iconv-0.4.4.tar.gz) = 93a771d968dff580798186da4ef54b1f2dc65c52
+Size (ruby/iconv-0.4.4.tar.gz) = 8936 bytes
diff --git a/converters/ruby-iconv/pkg/DESCR b/converters/ruby-iconv/pkg/DESCR
new file mode 100644
index 00000000000..d5e3bec981b
--- /dev/null
+++ b/converters/ruby-iconv/pkg/DESCR
@@ -0,0 +1,7 @@
+This is an iconv wrapper class for Ruby.
+
+Note that this version is still experimental. Report any problems to
+the author.
+
+Author: Nobuyoshi.Nakada <nobu.nokada@softhome.net>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=iconv
diff --git a/converters/ruby-iconv/pkg/PLIST b/converters/ruby-iconv/pkg/PLIST
new file mode 100644
index 00000000000..1062059c9ae
--- /dev/null
+++ b/converters/ruby-iconv/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/01 11:21:12 taca Exp $
+${RUBY_SITEARCHLIBDIR}/iconv.so
+${RUBY_DOCDIR}/iconv/iconv.html
+${RUBY_DOCDIR}/iconv/rd.css
+@dirrm ${RUBY_DOCDIR}/iconv