summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-11-06 19:47:57 +0000
committerMamoru Komachi <usata@gentoo.org>2003-11-06 19:47:57 +0000
commit7972b8a02b2551b336ec650fe116dbcacd76335e (patch)
treed0839fa3e31cb40d231f6fe9dcbb49eed8e8b889 /app-text/active-dvi
parentinitial commit - bug 32009 (diff)
downloadgentoo-2-7972b8a02b2551b336ec650fe116dbcacd76335e.tar.gz
gentoo-2-7972b8a02b2551b336ec650fe116dbcacd76335e.tar.bz2
gentoo-2-7972b8a02b2551b336ec650fe116dbcacd76335e.zip
RDEPENDs on kochi-substitute if cjk is enabled
Diffstat (limited to 'app-text/active-dvi')
-rw-r--r--app-text/active-dvi/ChangeLog5
-rw-r--r--app-text/active-dvi/Manifest4
-rw-r--r--app-text/active-dvi/active-dvi-1.4.0.ebuild11
3 files changed, 16 insertions, 4 deletions
diff --git a/app-text/active-dvi/ChangeLog b/app-text/active-dvi/ChangeLog
index e7956a952bb9..e745ff8b6f42 100644
--- a/app-text/active-dvi/ChangeLog
+++ b/app-text/active-dvi/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for app-text/active-dvi
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/active-dvi/ChangeLog,v 1.1 2003/11/06 15:43:35 obz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/active-dvi/ChangeLog,v 1.2 2003/11/06 19:47:51 usata Exp $
*active-dvi-1.4.0 (06 Nov 2003)
+ 07 Nov 2003; Mamoru KOMACHI <usata@gentoo.org> active-dvi-1.4.0.ebuild:
+ RDEPENDs on kochi-substitute if cjk is enabled.
+
06 Nov 2003; Mike Gardiner <obz@gentoo.org> active-dvi-1.4.0.ebuild,
metadata.xml:
First version of active-dvi in the tree. This has been requested in bug
diff --git a/app-text/active-dvi/Manifest b/app-text/active-dvi/Manifest
index 4d74aa82b722..516f7cad3136 100644
--- a/app-text/active-dvi/Manifest
+++ b/app-text/active-dvi/Manifest
@@ -1,4 +1,4 @@
-MD5 35fb1fe6be6b8baad75dd63ddba77b2b active-dvi-1.4.0.ebuild 2152
-MD5 355289c9198525d48881d24289f3642a ChangeLog 483
+MD5 8a873f63ebd6fd702bca1d00e897096d ChangeLog 610
+MD5 f6f852089af3f743ed1f69e99b0f5d27 active-dvi-1.4.0.ebuild 2437
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
MD5 93c4ba321a1dbd54e7f85e41348902b7 files/digest-active-dvi-1.4.0 63
diff --git a/app-text/active-dvi/active-dvi-1.4.0.ebuild b/app-text/active-dvi/active-dvi-1.4.0.ebuild
index 7d4edaa42cbe..5628faadd56b 100644
--- a/app-text/active-dvi/active-dvi-1.4.0.ebuild
+++ b/app-text/active-dvi/active-dvi-1.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/active-dvi/active-dvi-1.4.0.ebuild,v 1.1 2003/11/06 15:43:35 obz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/active-dvi/active-dvi-1.4.0.ebuild,v 1.2 2003/11/06 19:47:51 usata Exp $
MY_PN=${PN/ctive-/}
MY_P=${MY_PN}-${PV}
@@ -19,6 +19,8 @@ DEPEND=">=dev-lang/ocaml-3.04
>=dev-ml/camlimages-2.11
virtual/tetex
>=app-text/ghostscript-6.52"
+RDEPEND="${DEPEND}
+ cjk? ( media-fonts/kochi-substitute )"
DOCS="README TODO"
@@ -54,6 +56,13 @@ src_unpack() {
# the sandbox if we try and run it during emerge
sed -i -e "s/texhash//" ${S}/Makefile
+ if [ -n "`use cjk`" ] ; then
+ local fp=/usr/X11R6/lib/X11/fonts/truetype
+ sed -i -e "s%msmincho.ttc%${fp}/kochi-mincho-subst.ttf%g" \
+ -e "s%msgothic.ttc%${fp}/kochi-gothic-subst.ttf%g" \
+ ${S}/conf/jpfonts.conf
+ fi
+
}
src_compile() {