summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/kochi-substitute/kochi-substitute-20030809.ebuild')
-rw-r--r--media-fonts/kochi-substitute/kochi-substitute-20030809.ebuild78
1 files changed, 0 insertions, 78 deletions
diff --git a/media-fonts/kochi-substitute/kochi-substitute-20030809.ebuild b/media-fonts/kochi-substitute/kochi-substitute-20030809.ebuild
deleted file mode 100644
index ff3b0c4e8e7c..000000000000
--- a/media-fonts/kochi-substitute/kochi-substitute-20030809.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/kochi-substitute/kochi-substitute-20030809.ebuild,v 1.11 2007/01/05 17:07:44 flameeyes Exp $
-
-IUSE="X"
-
-FONT_PATH="/usr/X11R6/lib/X11/fonts/truetype"
-DESCRIPTION="Kochi Japanese TrueType fonts with Wadalab Fonts"
-HOMEPAGE="http://efont.sourceforge.jp/"
-SRC_URI="mirror://sourceforge.jp/efont/5411/${P}.tar.bz2"
-
-# naga10 has free-noncomm license
-LICENSE="free-noncomm"
-SLOT="0"
-KEYWORDS="ia64 x86 alpha sparc ppc hppa amd64 mips"
-
-DEPEND="virtual/libc
- X? ( || ( ( x11-apps/mkfontdir
- x11-apps/ttmkfdir
- media-libs/fontconfig
- )
- virtual/x11
- )
- )"
-
-S=${WORKDIR}/${PN}-${PV:0:8}
-
-src_install () {
-
- insinto ${FONT_PATH}
- doins kochi-gothic-subst.ttf
- doins kochi-mincho-subst.ttf
- dosym kochi-gothic-subst.ttf ${FONT_PATH}/kochi-gothic.ttf
- dosym kochi-mincho-subst.ttf ${FONT_PATH}/kochi-mincho.ttf
-
- dodoc README.ja COPYING docs/README
- cd docs
- for d in kappa20 k14goth ayu20gothic wadalab shinonome* naga10; do
- docinto $d
- dodoc $d/*
- done
-}
-
-rebuild_fontfiles() {
-
- einfo "Refreshing fonts.scale and fonts.dir..."
-
- cd ${FONT_PATH}
-
- # recreate fonts.scale
- ttmkfdir > fonts.scale \
- || die "Unable to create fonts.scale! Please emerge ttmkfdir and try again."
-
- # recreate fonts.dir
- mkfontdir -e /usr/X11R6/lib/X11/fonts/encodings
-
- if [ -x /usr/bin/fc-cache ] ; then
- einfo "Updating font cache..."
- /usr/bin/fc-cache -f ${FONT_PATH}
- fi
-}
-
-pkg_postinst() {
-
- use X > /dev/null && rebuild_fontfiles
-
- echo ""
- elog "This is a Kochi \"alternative\" font, but not kochi font itself."
- elog "Unfortunately, there is a possibility of copyright infringement,"
- elog "so the author of kochi font suspended distributing kochi font."
- elog "Please see http://khdd.net/kanou/fonts/stolenbitmap.en.html and"
- elog "${HOMEPAGE} for details."
-}
-
-pkg_postrm() {
-
- use X > /dev/null && rebuild_fontfiles
-}