summaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-10-24 13:11:36 +0000
committerknu <knu@FreeBSD.org>2002-10-24 13:11:36 +0000
commit1ebd67fb2d267b7799ed47d2e0aa402329c3dd25 (patch)
treec63e9f552ae2e4d99b0fe657d500e1fa6ed7de0e /converters
parentc3394740443322f05b858cc59feda9ee3ef9e4b1 (diff)
downloadFreeBSD-ports-1ebd67fb2d267b7799ed47d2e0aa402329c3dd25.zip
FreeBSD-ports-1ebd67fb2d267b7799ed47d2e0aa402329c3dd25.tar.gz
Add ruby-lv, a Ruby library to use LV's encoding conversion engine.
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile1
-rw-r--r--converters/ruby-lv/Makefile54
-rw-r--r--converters/ruby-lv/distinfo2
-rw-r--r--converters/ruby-lv/pkg-comment1
-rw-r--r--converters/ruby-lv/pkg-descr4
-rw-r--r--converters/ruby-lv/pkg-plist21
6 files changed, 83 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index 98fe5c2..8a4dd93 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -46,6 +46,7 @@
SUBDIR += recode
SUBDIR += ruby-dump.rb
SUBDIR += ruby-iconv
+ SUBDIR += ruby-lv
SUBDIR += siconv
SUBDIR += tnef
SUBDIR += trans
diff --git a/converters/ruby-lv/Makefile b/converters/ruby-lv/Makefile
new file mode 100644
index 0000000..10435a5
--- /dev/null
+++ b/converters/ruby-lv/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: Ruby-lv
+# Date created: 24 October 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lv
+PORTVERSION= 0.12
+CATEGORIES= converters ruby
+MASTER_SITES= http://www.ruby-lang.org/~iga/files/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${LV_PORT}:configure
+
+LV_PORT= misc/lv
+LV_WRKSRC_CMD= cd ${PORTSDIR}/${LV_PORT} && ${MAKE} -V WRKSRC
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+INSTALL_TARGET= site-install
+
+DOCS_EN= ChangeLog README doc/api-en/*
+DOCS_JA= README.ja doc/api-ja/*
+
+post-extract:
+ ${CP} -Rp `${LV_WRKSRC_CMD}` ${WRKSRC}/lv
+ ${LN} -sf . ${WRKSRC}/lv/src
+ ${LN} -sf . ${WRKSRC}/lv/build
+
+post-patch:
+ cd ${WRKSRC}/lv; ${PATCH} Makefile < ${WRKSRC}/lv4491.patch
+
+pre-configure:
+ cd ${WRKSRC}/lv; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} liblv.a
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${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
+
+.include <bsd.port.mk>
diff --git a/converters/ruby-lv/distinfo b/converters/ruby-lv/distinfo
new file mode 100644
index 0000000..b1ad1cc2
--- /dev/null
+++ b/converters/ruby-lv/distinfo
@@ -0,0 +1,2 @@
+MD5 (ruby/ruby-lv-0.12.tar.gz) = 178d70e84e29a9870246f6290c89adf6
+MD5 (ruby/lv4494.tar.gz) = 8b221fcca182f3914a5e79e771ebfb0b
diff --git a/converters/ruby-lv/pkg-comment b/converters/ruby-lv/pkg-comment
new file mode 100644
index 0000000..a8a7921
--- /dev/null
+++ b/converters/ruby-lv/pkg-comment
@@ -0,0 +1 @@
+A Ruby library to use LV's encoding conversion engine
diff --git a/converters/ruby-lv/pkg-descr b/converters/ruby-lv/pkg-descr
new file mode 100644
index 0000000..9bb60c0
--- /dev/null
+++ b/converters/ruby-lv/pkg-descr
@@ -0,0 +1,4 @@
+This is a Ruby library to use LV's encoding conversion engine.
+
+Author: Hiroshi IGARASHI <iga@ruby-lang.org>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=lv
diff --git a/converters/ruby-lv/pkg-plist b/converters/ruby-lv/pkg-plist
new file mode 100644
index 0000000..599ba46
--- /dev/null
+++ b/converters/ruby-lv/pkg-plist
@@ -0,0 +1,21 @@
+%%RUBY_SITEARCHLIBDIR%%/lv.so
+%%RUBY_SITELIBDIR%%/lv.rb
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/IChar.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/IString.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/LV.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/all-classes.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/lv-index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/rubyapi.css
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/IChar.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/IString.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/LV.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/all-classes.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/lv-index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/rubyapi.css
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
OpenPOWER on IntegriCloud