# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/xpdf-thai/xpdf-thai-1.ebuild,v 1.6 2004/07/14 02:44:30 agriffis Exp $ DESCRIPTION="Thai support for xpdf" SRC_URI="ftp://ftp.foolabs.com/pub/xpdf/${PN}.tar.gz" HOMEPAGE="http://www.foolabs.com/xpdf" LICENSE="GPL-2" KEYWORDS="x86" IUSE="" SLOT="0" DEPEND="app-text/xpdf" S=${WORKDIR}/${PN} src_compile() { cat /etc/xpdfrc > ${S}/xpdfrc sed 's,/usr/local/share/xpdf/,/usr/share/xpdf/,g' ${S}/add-to-xpdfrc >> ${S}/xpdfrc } src_install() { # don't use builtin make install, as it doesn't compress manpages into /usr dodoc README insinto /etc doins xpdfrc insinto /usr/share/xpdf/thai doins TIS-620.unicodeMap Thai.nameToUnicode }