# $Id: Portfile 223 2010-08-20 08:10:01Z alien $

PortSystem        1.0

name              utf8toutf
version           20040105
categories        tex japanese
maintainers       openmaintainer
description       changes \\UTF/\\CID commands in utf/otf packages for pLaTeX
long_description  utf8toutf changes utf-8 into sjis or euc and \\UTF/\\CID commands \
                  in utf/otf packages for pLaTeX by S. Saito. Some of Latin characters \
                  are converted into TeX commands.
platforms         darwin
homepage          http://www.fsci.fuk.kindai.ac.jp/kakuto/

master_sites      ftp://ftp.ring.gr.jp/pub/text/TeX/ptex-win32/utils/ \
                  http://riken.ring.gr.jp/archives/text/TeX/ptex-win32/utils/ \
                  http://riken.ring.gr.jp/archives/text/TeX/ptex-win32/generic/
distname          ${name}

checksums         md5 d711b4160c6fec46d1c590010b3bf19d \
                  sha1 e0a33fc3793d0cef4fb5e687612b00046e90113e \
                  rmd160 d8f50d9aa395fbc4693ab1729b7c46f1a6fccd3b

use_zip           yes
extract.mkdir     yes

use_configure     no
build.target

pre-destroot {
	file mkdir ${destroot}
}
destroot.destdir  BINDIR=${destroot}${prefix}/bin
