diff options
author | Tom William Payne <twp@gentoo.org> | 2003-04-24 18:26:45 +0000 |
---|---|---|
committer | Tom William Payne <twp@gentoo.org> | 2003-04-24 18:26:45 +0000 |
commit | cd997362e9646251eeded8686fb1795dfd22de88 (patch) | |
tree | f8cb5e81e8bb268ef52ce9b54950010c70f5d3b2 /media-fonts/terminus-font | |
parent | Version bump. (diff) | |
download | historical-cd997362e9646251eeded8686fb1795dfd22de88.tar.gz historical-cd997362e9646251eeded8686fb1795dfd22de88.tar.bz2 historical-cd997362e9646251eeded8686fb1795dfd22de88.zip |
Added pkg_postrm.
Diffstat (limited to 'media-fonts/terminus-font')
-rw-r--r-- | media-fonts/terminus-font/ChangeLog | 6 | ||||
-rw-r--r-- | media-fonts/terminus-font/files/digest-terminus-font-4.00-r2 | 2 | ||||
-rw-r--r-- | media-fonts/terminus-font/terminus-font-4.00-r2.ebuild | 45 |
3 files changed, 52 insertions, 1 deletions
diff --git a/media-fonts/terminus-font/ChangeLog b/media-fonts/terminus-font/ChangeLog index f4f9a685c25f..2797fc953bbe 100644 --- a/media-fonts/terminus-font/ChangeLog +++ b/media-fonts/terminus-font/ChangeLog @@ -1,9 +1,13 @@ # ChangeLog for media-fonts/terminus-fonts # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/terminus-font/ChangeLog,v 1.2 2003/04/23 16:02:49 twp Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/terminus-font/ChangeLog,v 1.3 2003/04/24 18:26:29 twp Exp $ *terminus-fonts-4.00 (23 Apr 2003) + 24 Apr 2003; Tom Payne <twp@gentoo.org> terminus-fonts-4.00-r2.ebuild : + + Added pkg_postrm. Thanks Paul Totterman. + 23 Apr 2003; Tom Payne <twp@gentoo.org> terminus-fonts-4.00-r1.ebuild : Fix pkg_postinst. diff --git a/media-fonts/terminus-font/files/digest-terminus-font-4.00-r2 b/media-fonts/terminus-font/files/digest-terminus-font-4.00-r2 new file mode 100644 index 000000000000..08306f75856e --- /dev/null +++ b/media-fonts/terminus-font/files/digest-terminus-font-4.00-r2 @@ -0,0 +1,2 @@ +MD5 964ea14a9cba0c297603ea135bc77fe0 /terminus-font-4.00-r2.ebuild 1083 +MD5 a0153061a484906f2bbb08bc28fac757 terminus-font-4.00.tar.gz 107077 diff --git a/media-fonts/terminus-font/terminus-font-4.00-r2.ebuild b/media-fonts/terminus-font/terminus-font-4.00-r2.ebuild new file mode 100644 index 000000000000..03f81ac9c4b0 --- /dev/null +++ b/media-fonts/terminus-font/terminus-font-4.00-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/terminus-font/terminus-font-4.00-r2.ebuild,v 1.1 2003/04/24 18:26:29 twp Exp $ + +DESCRIPTION="A clean fixed font for the console and X11" +HOMEPAGE="http://www.is-vn.bg/hamster/jimmy-en.htm" +SRC_URI="http://www.is-vn.bg/hamster/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="X" + +DEPEND="X? ( virtual/x11 ) dev-lang/perl" +RDEPEND="X? ( virtual/x11 )" + +src_compile() { + make psf || die + + # If user wants fonts for X11 + if [ -n "`use X`" ]; then + make pcf || die + fi +} + +src_install() { + ( cd vga && ../configure --prefix=${D}/usr ) + make -f vga/Makefile install || die + + # If user wants fonts for X11 + if [ -n "`use X`" ]; then + ( cd x11 && ../configure --prefix=${D}/usr ) + perl -pi -e 's/local/misc/;' x11/Makefile + make -f x11/Makefile install || die + fi + + dodoc README* +} + +pkg_postinst() { + mkfontdir ${ROOT}usr/X11R6/lib/X11/fonts/misc +} + +pkg_postrm() { + mkfontdir ${ROOT}usr/X11R6/lib/X11/fonts/misc +} |