2003-03-29 13:40:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.2 2003/03/29 12:40:22 jmmv Exp $
|
2002-05-31 15:00:10 +02:00
|
|
|
# FreeBSD: ports/japanese/ruby-uconv/Makefile,v 1.8 2001/01/30 19:26:22 knu Exp
|
|
|
|
|
|
|
|
DISTNAME= uconv-0.4.9
|
|
|
|
PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}/uconv
|
2002-05-31 15:00:10 +02:00
|
|
|
CATEGORIES= japanese converters
|
|
|
|
MASTER_SITES= http://www.yoshidam.net/
|
|
|
|
|
|
|
|
MAINTAINER= taca@netbsd.org
|
|
|
|
HOMEPAGE= http://www.yoshidam.net/Ruby.html#uconv
|
|
|
|
COMMENT= Unicode conversion library with Japanese codesets support
|
|
|
|
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
|
|
|
REPLACE_RUBY= samples/euc2unicode.rb samples/unicode2euc.rb \
|
|
|
|
samples/xmlconv.rb
|
|
|
|
EXAMPLES= euc2unicode.rb test_euc.txt test_euc.xml trilang.xml \
|
|
|
|
unicode2euc.rb xmlconv.rb
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/uconv
|
|
|
|
.for f in ${EXAMPLES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/samples/${f} ${RUBY_EXAMPLESDIR}/uconv
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/uconv
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/uconv
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.ja ${RUBY_DOCDIR}/uconv
|
|
|
|
|
|
|
|
.include "../../lang/ruby-base/Makefile.common"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|