summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-05-15 11:00:39 +0000
committerMamoru Komachi <usata@gentoo.org>2004-05-15 11:00:39 +0000
commit9bca8cb8a364b682fdd95207a9a8b9375fece667 (patch)
treec62d35df4bbfabd6651396c55493b94d26428666 /media-fonts
parentVersion bumped. Closes 51028 (Manifest recommit) (diff)
downloadgentoo-2-9bca8cb8a364b682fdd95207a9a8b9375fece667.tar.gz
gentoo-2-9bca8cb8a364b682fdd95207a9a8b9375fece667.tar.bz2
gentoo-2-9bca8cb8a364b682fdd95207a9a8b9375fece667.zip
Updated to reflect changes in freefonts-0.10-r2.
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/sharefonts/ChangeLog3
-rw-r--r--media-fonts/sharefonts/sharefonts-0.10-r2.ebuild17
2 files changed, 17 insertions, 3 deletions
diff --git a/media-fonts/sharefonts/ChangeLog b/media-fonts/sharefonts/ChangeLog
index 106e6fc88443..e0a29e2cedd9 100644
--- a/media-fonts/sharefonts/ChangeLog
+++ b/media-fonts/sharefonts/ChangeLog
@@ -1,11 +1,12 @@
# ChangeLog for media-fonts/sharefonts
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/sharefonts/ChangeLog,v 1.5 2004/05/15 10:44:27 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/sharefonts/ChangeLog,v 1.6 2004/05/15 11:00:39 usata Exp $
*sharefonts-0.10-r2 (15 May 2004)
15 May 2004; Mamoru KOMACHI <usata@gentoo.org> sharefonts-0.10-r2.ebuild:
Changed font path to /usr/share/fonts. Bug #44842
+ Updated to reflect changes in freefonts-0.10-r2.
09 Feb 2004; Dylan Carlson <absinthe@gentoo.org> sharefonts-0.10-r1.ebuild:
amd64 marked stable.
diff --git a/media-fonts/sharefonts/sharefonts-0.10-r2.ebuild b/media-fonts/sharefonts/sharefonts-0.10-r2.ebuild
index e6452f2cafc4..ed9512c8afe7 100644
--- a/media-fonts/sharefonts/sharefonts-0.10-r2.ebuild
+++ b/media-fonts/sharefonts/sharefonts-0.10-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/sharefonts/sharefonts-0.10-r2.ebuild,v 1.1 2004/05/15 10:44:27 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/sharefonts/sharefonts-0.10-r2.ebuild,v 1.2 2004/05/15 11:00:39 usata Exp $
S=${WORKDIR}/sharefont
DESCRIPTION="A Collection of True Type Fonts"
@@ -9,14 +9,27 @@ HOMEPAGE="http://www.gimp.org/"
KEYWORDS="~x86 ~sparc ~ppc ~amd64"
SLOT="0"
LICENSE="public-domain"
+IUSE="X"
-FONTPATH="/usr/share/fonts/${PN}"
+FONTPATH="/usr/share/fonts/sharefont"
src_install () {
insinto ${FONTPATH}
doins * || die
+ if use X ; then
+ mkfontscale ${D}${FONTPATH}
+ mkfontdir ${D}${FONTPATH}
+ if [ -x /usr/bin/fc-cache ] ; then
+ HOME="/root" /usr/bin/fc-cache -f ${D}${FONTPATH}
+ fi
+ fi
rm ${D}${FONTPATH}/README
dodoc README
}
+
+pkg_postinst () {
+ einfo "The sharefonts dir has been moved from /usr/X11R6/lib/X11/fonts/sharefont to ${FONTPATH}."
+ einfo "Setting new fontpaths for X might be necessary in some cases."
+}