diff options
author | Marinus Schraal <foser@gentoo.org> | 2003-04-30 12:22:26 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2003-04-30 12:22:26 +0000 |
commit | 87ef826ed0a13f29cc8174857f62fc3056bd5fdb (patch) | |
tree | f333b2e1f288cc304e10d9a42bcd788775f4b895 /app-text | |
parent | version bump (diff) | |
download | gentoo-2-87ef826ed0a13f29cc8174857f62fc3056bd5fdb.tar.gz gentoo-2-87ef826ed0a13f29cc8174857f62fc3056bd5fdb.tar.bz2 gentoo-2-87ef826ed0a13f29cc8174857f62fc3056bd5fdb.zip |
create fonts.* stuff
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/freefonts/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/freefonts/files/digest-freefonts-0.10-r2 | 1 | ||||
-rw-r--r-- | app-text/freefonts/freefonts-0.10-r2.ebuild | 38 |
3 files changed, 45 insertions, 1 deletions
diff --git a/app-text/freefonts/ChangeLog b/app-text/freefonts/ChangeLog index 9974050004ab..d49040a19134 100644 --- a/app-text/freefonts/ChangeLog +++ b/app-text/freefonts/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/freefonts # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/freefonts/ChangeLog,v 1.6 2003/02/12 05:24:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/freefonts/ChangeLog,v 1.7 2003/04/30 12:22:26 foser Exp $ + +*freefont-0.10-r2 (30 Apr 2003) + + 30 Apr 2003; foser <foser@gentoo.org> freefonts-0.10-r2.ebuild : + Added fonts.{dir,scale} creation and possible fc-cache (#19160) 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/app-text/freefonts/files/digest-freefonts-0.10-r2 b/app-text/freefonts/files/digest-freefonts-0.10-r2 new file mode 100644 index 000000000000..2d5e95be2563 --- /dev/null +++ b/app-text/freefonts/files/digest-freefonts-0.10-r2 @@ -0,0 +1 @@ +MD5 a547b5b861d6eb138394bb83748d4eee freefonts-0.10.tar.gz 2422824 diff --git a/app-text/freefonts/freefonts-0.10-r2.ebuild b/app-text/freefonts/freefonts-0.10-r2.ebuild new file mode 100644 index 000000000000..8350e9383551 --- /dev/null +++ b/app-text/freefonts/freefonts-0.10-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/freefonts/freefonts-0.10-r2.ebuild,v 1.1 2003/04/30 12:22:26 foser Exp $ + +S=${WORKDIR}/freefont +DESCRIPTION="A Collection of Free True Type Fonts" +SRC_URI="ftp://ftp.gimp.org/pub/gimp/fonts/${P}.tar.gz" +HOMEPAGE="http://www.gimp.org" +KEYWORDS="~x86 ~sparc ~ppc" +SLOT="0" +LICENSE="freedist" +IUSE="X" + +src_install () { + insinto /usr/share/fonts/freefont + doins *.pfb + + if [ -n "`use X`" ] ; + then + mkfontscale + mkfontdir + doins fonts.* + fi + + dodoc README *.license +} + +pkg_postinst() { + if [ "${ROOT}" = "/" ] && [ -x /usr/bin/fc-cache ] + then + echo + einfo "Creating font cache..." + HOME="/root" /usr/bin/fc-cache -f + fi + + einfo "The freefonts dir has been moved from /usr/X11R6/lib/X11/fonts/freefont to /usr/share/fonts/freefont ." + einfo "Setting new fontpaths for X might be necessary in some cases." +} |