Portfile

# $Id: Portfile 21502 2007-01-26 02:54:16Z eridius@macports.org $

PortSystem 1.0
name makejvf
version 1.1a
description Japanese Virtual Font file maker.
long_description ${description}
platforms darwin
categories tex print japanese
maintainers takanori@macports.org
homepage http://www.ascii.co.jp/pb/ptex/base/sources.html
master_sites ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/jvf/ \
http://www.opendarwin.org/~takanori/mirror/${name}/
checksums md5 7fd15c90111732cce14c5dbb6228ecb3 \
sha1 0648f2b866978981a7752fdc66ea4f5c5907a40c \
rmd160 a3ea1675f50d14fb1f0b37a92f018a48c85fb7cc
patchfiles makejvf.patch
patch.pre_args -p1
depends_lib port:gettext

configure {
reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/Makefile
reinplace "s|__DESTDIR__|${destroot}|" ${worksrcpath}/Makefile
}

build.target

post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} COPYRIGHT COPYRIGHT.jis Changes.txt README.txt \
${destroot}${prefix}/share/doc/${name}
}

files