diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-10 18:47:25 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-10 18:47:25 +0000 |
commit | 2d8fae5264b16792c130d1aca37b23db745d7049 (patch) | |
tree | 02fb0eef3c5bfe2f0498e94d2424ec720614afc8 /japanese/ruby-uconv/Makefile | |
parent | Point the qt-gui explicitly at ${X11BASE}/include/qt2. This should fix (diff) |
Add ruby-uconv, Unicode conversion library with Japanese codesets support
for Ruby.
Notes
Notes:
svn path=/head/; revision=31483
Diffstat (limited to 'japanese/ruby-uconv/Makefile')
-rw-r--r-- | japanese/ruby-uconv/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/japanese/ruby-uconv/Makefile b/japanese/ruby-uconv/Makefile new file mode 100644 index 000000000000..13a3cc94aa6b --- /dev/null +++ b/japanese/ruby-uconv/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: Ruby-uconv +# Date created: 9 Aug 2000 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= uconv +PORTVERSION= 0.4.4 +CATEGORIES= japanese converters # ruby +MASTER_SITES= http://www.bekkoame.ne.jp/~yoshidam/ +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby +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} + +EXAMPLES= euc2unicode.rb test_euc.txt test_euc.xml \ + trilang.xml unicode2euc.rb xmlconv.rb + +.include <bsd.port.pre.mk> + +PKGNAMEPREFIX:= ${PKGNAMEPREFIX}ruby- + +do-configure: + @cd ${WRKSRC}; \ + ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb + +post-install: + ${MKDIR} ${PREFIX}/share/examples/ruby/uconv/ja +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/samples/${f} ${PREFIX}/share/examples/ruby/uconv/ja +.endfor +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/ruby/uconv/ja + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ruby/uconv/ + ${INSTALL_DATA} ${WRKSRC}/README.ja ${PREFIX}/share/doc/ruby/uconv/ja/ +.endif + +.include <bsd.port.post.mk> |