summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Bouyer <stubear@gentoo.org>2002-08-15 18:07:21 +0000
committerStuart Bouyer <stubear@gentoo.org>2002-08-15 18:07:21 +0000
commit0894d3bad453adffa494b374bd89103106669b41 (patch)
treead9cbee8a7238ba5d5a5be7de898c9e99d53d64f /app-text/xpdf-thai/xpdf-thai-1.ebuild
parentxpdf language packs for testing (diff)
downloadgentoo-2-0894d3bad453adffa494b374bd89103106669b41.tar.gz
gentoo-2-0894d3bad453adffa494b374bd89103106669b41.tar.bz2
gentoo-2-0894d3bad453adffa494b374bd89103106669b41.zip
xpdf language packs - initial ebuilds
Diffstat (limited to 'app-text/xpdf-thai/xpdf-thai-1.ebuild')
-rw-r--r--app-text/xpdf-thai/xpdf-thai-1.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/app-text/xpdf-thai/xpdf-thai-1.ebuild b/app-text/xpdf-thai/xpdf-thai-1.ebuild
new file mode 100644
index 000000000000..5a22119a2550
--- /dev/null
+++ b/app-text/xpdf-thai/xpdf-thai-1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# 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.1 2002/08/15 18:07:21 stubear 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"
+SLOT="0"
+
+DEPEND="app-text/xpdf"
+RDEPEND="${DEPEND}"
+
+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
+}