diff options
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/cronyx-fonts/ChangeLog | 11 | ||||
-rw-r--r-- | media-fonts/cronyx-fonts/Manifest | 4 | ||||
-rw-r--r-- | media-fonts/cronyx-fonts/cronyx-fonts-2.3.1.ebuild | 46 | ||||
-rw-r--r-- | media-fonts/cronyx-fonts/files/digest-cronyx-fonts-2.3.1 | 1 | ||||
-rw-r--r-- | media-fonts/cronyx-fonts/metadata.xml | 5 |
5 files changed, 67 insertions, 0 deletions
diff --git a/media-fonts/cronyx-fonts/ChangeLog b/media-fonts/cronyx-fonts/ChangeLog new file mode 100644 index 000000000000..ae80285934f3 --- /dev/null +++ b/media-fonts/cronyx-fonts/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-fonts/cronyx-fonts +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/cronyx-fonts/ChangeLog,v 1.1 2004/07/05 07:46:13 usata Exp $ + +*cronyx-fonts-2.3.1 (05 Jul 2004) + + 05 Jul 2004; Mamoru KOMACHI <usata@gentoo.org> +metadata.xml, + +cronyx-fonts-2.3.1.ebuild: + Initial import. Ebuild submitted by Alexey Spiridonov <lesha@netman.ru>, + closing bug #23958 + diff --git a/media-fonts/cronyx-fonts/Manifest b/media-fonts/cronyx-fonts/Manifest new file mode 100644 index 000000000000..6b94df187e63 --- /dev/null +++ b/media-fonts/cronyx-fonts/Manifest @@ -0,0 +1,4 @@ +MD5 8ad710ff48fcbdf70ec31f8c1a6f7501 cronyx-fonts-2.3.1.ebuild 1145 +MD5 295674d4bed87f5a7c2796e032ed561e metadata.xml 158 +MD5 1a83a0bad2279f990961853bdbd5cc14 ChangeLog 446 +MD5 b4e9ecfe13c53dedb9a770132b8bc035 files/digest-cronyx-fonts-2.3.1 64 diff --git a/media-fonts/cronyx-fonts/cronyx-fonts-2.3.1.ebuild b/media-fonts/cronyx-fonts/cronyx-fonts-2.3.1.ebuild new file mode 100644 index 000000000000..f20909ec6de5 --- /dev/null +++ b/media-fonts/cronyx-fonts/cronyx-fonts-2.3.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/cronyx-fonts/cronyx-fonts-2.3.1.ebuild,v 1.1 2004/07/05 07:46:13 usata Exp $ + +DESCRIPTION="Cronyx Cyrillic bitmap fonts for X" +HOMEPAGE="http://koi8.pp.ru/frame.html?xwin.html#xwin_fonts" +S=${WORKDIR}/cyrillic +SRC_URI="http://koi8.pp.ru/dist/x6rus-${PV}-bin.tgz" +KEYWORDS="~x86" +SLOT="0" +LICENSE="freedist" +DEPEND="X? ( virtual/x11 )" +IUSE="X" + +FONT_ROOT=/usr/share/fonts +FONT_TARGETS="75dpi 100dpi misc" + +src_install() { + for dir in $FONT_TARGETS; do + insinto ${FONT_ROOT}/$dir + doins ${dir}/*.pcf.gz + done + # our install dir is still ${FONT_ROOT}/misc, so + doins misc/fonts.alias + dodoc xrus.info +} + + +rebuild_fontfiles() { + einfo "Refreshing fonts.scale and fonts.dir..." + cd ${FONT_ROOT} + mkfontdir -- ${FONT_TARGETS} + if [ "${ROOT}" = "/" ] && [ -x /usr/bin/fc-cache ] + then + einfo "Updating font cache..." + HOME="/root" /usr/bin/fc-cache -f ${FONT_TARGETS} + fi +} + +pkg_postinst() { + use X > /dev/null && rebuild_fontfiles +} + +pkg_postrm() { + use X > /dev/null && rebuild_fontfiles +} diff --git a/media-fonts/cronyx-fonts/files/digest-cronyx-fonts-2.3.1 b/media-fonts/cronyx-fonts/files/digest-cronyx-fonts-2.3.1 new file mode 100644 index 000000000000..0defe51dc8b7 --- /dev/null +++ b/media-fonts/cronyx-fonts/files/digest-cronyx-fonts-2.3.1 @@ -0,0 +1 @@ +MD5 736fc53c897ec5d69d3c783a282ce611 x6rus-2.3.1-bin.tgz 602902 diff --git a/media-fonts/cronyx-fonts/metadata.xml b/media-fonts/cronyx-fonts/metadata.xml new file mode 100644 index 000000000000..696065edd338 --- /dev/null +++ b/media-fonts/cronyx-fonts/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>fonts</herd> +</pkgmetadata> |