Add japanese/ruby-kakasi, KAKASI module for Ruby.
This commit is contained in:
parent
1a7fa933db
commit
88faf3588a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31673
@ -227,6 +227,7 @@
|
||||
SUBDIR += qkc
|
||||
SUBDIR += recjis
|
||||
SUBDIR += rogue_s
|
||||
SUBDIR += ruby-kakasi
|
||||
SUBDIR += ruby-uconv
|
||||
SUBDIR += rubytk
|
||||
SUBDIR += rxvt
|
||||
|
55
japanese/ruby-kakasi/Makefile
Normal file
55
japanese/ruby-kakasi/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
# New ports collection makefile for: Ruby-kakasi
|
||||
# Date created: 16 Aug 2000
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= kakasi
|
||||
PORTVERSION= 000124
|
||||
CATEGORIES= japanese # ruby
|
||||
MASTER_SITES= http://www.notwork.org/~gotoken/ruby/p/kakasi/
|
||||
PKGNAMEPREFIX= ruby-
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
|
||||
LIB_DEPENDS= kakasi.2:${PORTSDIR}/japanese/kakasi
|
||||
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}
|
||||
|
||||
DOCS_EN= ChangeLog README wdcnt.html
|
||||
DOCS_JA= README.jp
|
||||
|
||||
post-patch:
|
||||
${PERL} -i -pe 's,/usr/local,${PREFIX},g' ${WRKSRC}/extconf.rb
|
||||
${PERL} -i -pe 's,\./(kakasi),$$1,g' ${WRKSRC}/test.rb
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC}; \
|
||||
${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/wdcnt ${PREFIX}/bin/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/examples/ruby/kakasi/ja/
|
||||
${INSTALL_DATA} ${WRKSRC}/test.rb ${PREFIX}/share/examples/ruby/kakasi/ja/
|
||||
${MKDIR} ${PREFIX}/share/doc/ruby/kakasi/ja
|
||||
.for f in ${DOCS_EN}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/kakasi/
|
||||
.endfor
|
||||
.for f in ${DOCS_JA}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/kakasi/ja/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
japanese/ruby-kakasi/distinfo
Normal file
1
japanese/ruby-kakasi/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/kakasi-000124.tar.gz) = d79e025f4144c2849c681911c0b65bdb
|
1
japanese/ruby-kakasi/pkg-comment
Normal file
1
japanese/ruby-kakasi/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
KAKASI module for Ruby
|
5
japanese/ruby-kakasi/pkg-descr
Normal file
5
japanese/ruby-kakasi/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Ruby/KAKASI -- KAKASI module for Ruby.
|
||||
|
||||
|
||||
Author: GOTO Kentaro <gotoken@notwork.org>
|
||||
WWW: http://www.notwork.org/~gotoken/ruby/p/kakasi/
|
11
japanese/ruby-kakasi/pkg-plist
Normal file
11
japanese/ruby-kakasi/pkg-plist
Normal file
@ -0,0 +1,11 @@
|
||||
bin/wdcnt
|
||||
lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/kakasi.so
|
||||
share/examples/ruby/kakasi/ja/test.rb
|
||||
@dirrm share/examples/ruby/kakasi/ja
|
||||
@dirrm share/examples/ruby/kakasi
|
||||
share/doc/ruby/kakasi/ChangeLog
|
||||
share/doc/ruby/kakasi/README
|
||||
share/doc/ruby/kakasi/wdcnt.html
|
||||
share/doc/ruby/kakasi/ja/README.jp
|
||||
@dirrm share/doc/ruby/kakasi/ja
|
||||
@dirrm share/doc/ruby/kakasi
|
Loading…
Reference in New Issue
Block a user