Add ruby-lv, a Ruby library to use LV's encoding conversion engine.

This commit is contained in:
Akinori MUSHA 2002-10-24 13:11:36 +00:00
parent b00c985bd4
commit 5a60b4bc02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68729
6 changed files with 83 additions and 0 deletions

View file

@ -46,6 +46,7 @@
SUBDIR += recode
SUBDIR += ruby-dump.rb
SUBDIR += ruby-iconv
SUBDIR += ruby-lv
SUBDIR += siconv
SUBDIR += tnef
SUBDIR += trans

View file

@ -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>

View file

@ -0,0 +1,2 @@
MD5 (ruby/ruby-lv-0.12.tar.gz) = 178d70e84e29a9870246f6290c89adf6
MD5 (ruby/lv4494.tar.gz) = 8b221fcca182f3914a5e79e771ebfb0b

View file

@ -0,0 +1 @@
A Ruby library to use LV's encoding conversion engine

View file

@ -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

View file

@ -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%%