diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-10-24 13:11:36 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-10-24 13:11:36 +0000 |
commit | 5a60b4bc025fdffa59081e5c02da544d05c229f3 (patch) | |
tree | 71d0d16f895ebc4c62040a3acdfda9c31312ae5a /converters | |
parent | Make it PREFIX clean. (diff) |
Add ruby-lv, a Ruby library to use LV's encoding conversion engine.
Notes
Notes:
svn path=/head/; revision=68729
Diffstat (limited to 'converters')
-rw-r--r-- | converters/Makefile | 1 | ||||
-rw-r--r-- | converters/ruby-lv/Makefile | 54 | ||||
-rw-r--r-- | converters/ruby-lv/distinfo | 2 | ||||
-rw-r--r-- | converters/ruby-lv/pkg-comment | 1 | ||||
-rw-r--r-- | converters/ruby-lv/pkg-descr | 4 | ||||
-rw-r--r-- | converters/ruby-lv/pkg-plist | 21 |
6 files changed, 83 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile index 98fe5c2f60a0..8a4dd9352d2d 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 000000000000..10435a5d5cf0 --- /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 000000000000..b1ad1cc2fe67 --- /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 000000000000..a8a7921e3646 --- /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 000000000000..9bb60c0bd16d --- /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 000000000000..599ba46953d4 --- /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%% |