summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-10-24 15:38:02 +0000
committerMamoru Komachi <usata@gentoo.org>2004-10-24 15:38:02 +0000
commit847ea4cc03be4972b190fb10ab89bf82a971f369 (patch)
treec0bee5d7c631827335e445fcbfcb897ba9d10dea /app-text/xdvik/xdvik-22.40y-r2.ebuild
parentStable on sparc. (diff)
downloadhistorical-847ea4cc03be4972b190fb10ab89bf82a971f369.tar.gz
historical-847ea4cc03be4972b190fb10ab89bf82a971f369.tar.bz2
historical-847ea4cc03be4972b190fb10ab89bf82a971f369.zip
Updated kochi-substitute's font path.
Diffstat (limited to 'app-text/xdvik/xdvik-22.40y-r2.ebuild')
-rw-r--r--app-text/xdvik/xdvik-22.40y-r2.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/app-text/xdvik/xdvik-22.40y-r2.ebuild b/app-text/xdvik/xdvik-22.40y-r2.ebuild
index 8c36fe44ae92..f9b61fc3f2f5 100644
--- a/app-text/xdvik/xdvik-22.40y-r2.ebuild
+++ b/app-text/xdvik/xdvik-22.40y-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/xdvik-22.40y-r2.ebuild,v 1.11 2004/10/24 12:24:45 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/xdvik-22.40y-r2.ebuild,v 1.12 2004/10/24 15:38:02 usata Exp $
inherit eutils
@@ -30,8 +30,10 @@ src_unpack () {
unpack ${MY_P}.tar.gz
if use cjk ; then
epatch ${DISTDIR}/${XDVIK_JP}.patch.gz
- sed -i -e "/\/usr\/local/s/^/%/g" \
- -e "/kochi-.*-subst/s/%//g" \
+ sed -i -e "/\/usr\/local/s:^:%:g" \
+ -e "/kochi-.*-subst/s:%::g" \
+ -e "s:/usr/local:/usr:g" \
+ -e "s:/usr/X11R6/lib/X11/fonts/truetype:/usr/share/fonts/kochi-substitute:g" \
${S}/texk/xdvik/vfontmap.freetype || die
fi
}