# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ IUSE="" DESCRIPTION="DVI to PDF translator with multi-byte character support" SRC_URI="http://project.ktug.or.kr/dvipdfmx/snapshot/${P}.tar.gz" HOMEPAGE="http://project.ktug.or.kr/dvipdfmx/" KEYWORDS="~x86" SLOT="0" LICENSE="GPL-2" DEPEND="virtual/tex >=sys-apps/sed-4 >=media-libs/libpng-1.2.1 >=sys-libs/zlib-1.1.4 >=dev-libs/openssl-0.9.6i" RDEPEND="virtual/tex >=media-libs/libpng-1.2.1 >=sys-libs/zlib-1.1.4 >=dev-libs/openssl-0.9.6i" S=${WORKDIR}/${P} src_unpack() { unpack ${A} epatch ${FILESDIR}/${P}.diff } src_install () { einstall || die dodoc BUGS COPYING ChangeLog FONTMAP INSTALL README TODO } pkg_postinst () { einfo "You need modify /usr/share/texmf/web2c/texmf.cnf" einfo "in order to convert DVI correctly." einfo "For example, if you have Acrobat Reader 5 and" einfo "Asian fonts installed, you may want to add" einfo "" einfo "CMAPINPUTS = .;/opt/Acrobat5/Resource/Font//" einfo "" einfo "at the end of the file." mktexlsr } pkg_postrm () { mktexlsr }