diff options
author | Mamoru Komachi <usata@gentoo.org> | 2003-08-09 06:01:44 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2003-08-09 06:01:44 +0000 |
commit | e20c45aae9641472a2450b436f96ecef36036a50 (patch) | |
tree | 3066c7fc99444d704226779fd18a0d409e0d13c0 /media-fonts | |
parent | new version, changed SRC_URI to use sourceforge.jp mirror (diff) | |
download | gentoo-2-e20c45aae9641472a2450b436f96ecef36036a50.tar.gz gentoo-2-e20c45aae9641472a2450b436f96ecef36036a50.tar.bz2 gentoo-2-e20c45aae9641472a2450b436f96ecef36036a50.zip |
new version, changed SRC_URI to use sourceforge.jp mirror
Diffstat (limited to 'media-fonts')
4 files changed, 82 insertions, 3 deletions
diff --git a/media-fonts/kochi-substitute/ChangeLog b/media-fonts/kochi-substitute/ChangeLog index 146721356e87..e774848c6d6c 100644 --- a/media-fonts/kochi-substitute/ChangeLog +++ b/media-fonts/kochi-substitute/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-fonts/kochi-substitute # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/kochi-substitute/ChangeLog,v 1.4 2003/07/11 15:54:43 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/kochi-substitute/ChangeLog,v 1.5 2003/08/09 06:01:31 usata Exp $ + +*kochi-substitute-20030809 (09 Aug 2003) + + 09 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> + kochi-substitute-20030809.ebuild: + Version bumped. Changed SRC_URI to use mirror *kochi-substitute-20030628 (30 Jun 2003) 04 Jul 2003; Guy Martin <gmsoft@gentoo.org> kochi-substitute-20030628.ebuild : diff --git a/media-fonts/kochi-substitute/Manifest b/media-fonts/kochi-substitute/Manifest index 51dc73f625c2..67f5ff21ecf2 100644 --- a/media-fonts/kochi-substitute/Manifest +++ b/media-fonts/kochi-substitute/Manifest @@ -1,8 +1,8 @@ -MD5 f2d4f3a67271bfa0d5aba6e86334295d ChangeLog 863 +MD5 013a57a74c51e7ba86bfb48b2d74558b ChangeLog 1039 MD5 4a2696925170ed4f62e00ec542972076 kochi-substitute-20030626.ebuild 1761 MD5 45f3d5c3655449e76007530ae69598c3 kochi-substitute-20030628.ebuild 1893 MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156 -MD5 0ede86d7c1128ec087c64fdd4e925f58 kochi-substitute-20030809.ebuild 1891 +MD5 cbb66f63e8aad14554aa29fab0f641c8 kochi-substitute-20030809.ebuild 1890 MD5 57c7d4d4848ed98955f01411ef5625c8 files/digest-kochi-substitute-20030626 79 MD5 960946cb673590d966d212aefc0308de files/digest-kochi-substitute-20030628 79 MD5 13dfd0e0ce07b13f410914df34b4b45f files/digest-kochi-substitute-20030809 79 diff --git a/media-fonts/kochi-substitute/files/digest-kochi-substitute-20030809 b/media-fonts/kochi-substitute/files/digest-kochi-substitute-20030809 new file mode 100644 index 000000000000..1f80ee0beceb --- /dev/null +++ b/media-fonts/kochi-substitute/files/digest-kochi-substitute-20030809 @@ -0,0 +1 @@ +MD5 c4b14e287cf2b1688c649e2274e128b3 kochi-substitute-20030809.tar.bz2 8675822 diff --git a/media-fonts/kochi-substitute/kochi-substitute-20030809.ebuild b/media-fonts/kochi-substitute/kochi-substitute-20030809.ebuild new file mode 100644 index 000000000000..f2d6528e4ebe --- /dev/null +++ b/media-fonts/kochi-substitute/kochi-substitute-20030809.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# 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.1 2003/08/09 06:01:31 usata 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="~x86 ~alpha ~sparc ~ppc ~hppa ~amd64" + +DEPEND="virtual/glibc + X? ( 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 "" + einfo "This is a Kochi \"alternative\" font, but not kochi font itself." + einfo "Unfortunately, there is a possibility of copyright infringement," + einfo "so the author of kochi font suspended distributing kochi font." + einfo "Please see http://khdd.net/kanou/fonts/stolenbitmap.en.html and" + einfo "${HOMEPAGE} for details." +} + +pkg_postrm() { + + use X > /dev/null && rebuild_fontfiles +} |