diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-06-02 13:45:33 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-06-02 13:45:33 +0000 |
commit | 68e8570bcb96635fab3c54aa5eec845f5fe27b98 (patch) | |
tree | fe521017deb3d1cdcf930916c28878814708b6c9 /media-fonts | |
parent | moved from x11-misc to media-fonts (diff) | |
download | historical-68e8570bcb96635fab3c54aa5eec845f5fe27b98.tar.gz historical-68e8570bcb96635fab3c54aa5eec845f5fe27b98.tar.bz2 historical-68e8570bcb96635fab3c54aa5eec845f5fe27b98.zip |
moved from x11-misc to media-fonts
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/artwiz-fonts/Manifest | 4 | ||||
-rw-r--r-- | media-fonts/artwiz-fonts/artwiz-fonts-2.4.ebuild | 51 | ||||
-rw-r--r-- | media-fonts/artwiz-fonts/files/digest-artwiz-fonts-2.4 | 1 |
3 files changed, 54 insertions, 2 deletions
diff --git a/media-fonts/artwiz-fonts/Manifest b/media-fonts/artwiz-fonts/Manifest index f2ef15c3002b..c4b20bdd8d80 100644 --- a/media-fonts/artwiz-fonts/Manifest +++ b/media-fonts/artwiz-fonts/Manifest @@ -1,3 +1,3 @@ -MD5 221d736c482010f35f5d738f4f98e7c4 ChangeLog 467 -MD5 8a9190a2101acf6f21db2826896d57f4 artwiz-fonts-2.4.ebuild 1346 +MD5 e79e4be08f5de5188465367bb74e0834 artwiz-fonts-2.4.ebuild 1334 +MD5 45d1a9f076c730fd85ac3e7be6f20eaa ChangeLog 608 MD5 a7f07fa24970169b9a931592e6840eee files/digest-artwiz-fonts-2.4 68 diff --git a/media-fonts/artwiz-fonts/artwiz-fonts-2.4.ebuild b/media-fonts/artwiz-fonts/artwiz-fonts-2.4.ebuild new file mode 100644 index 000000000000..c632004968c1 --- /dev/null +++ b/media-fonts/artwiz-fonts/artwiz-fonts-2.4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/media-fonts/artwiz-fonts/artwiz-fonts-2.4.ebuild,v 1.1 2003/06/02 13:45:30 seemant Exp $ + +S=${WORKDIR}/xfonts-artwiz-2.3/upstream +DESCRIPTION="Artwiz Fonts" +SRC_URI="http://ftp.debian.org/debian/pool/main/x/xfonts-artwiz/xfonts-artwiz_${PV}.tar.gz" +HOMEPAGE="http://fluxbox.sourceforge.net/docs/artwiz-fonts.php" + +SLOT=0 +LICENSE="GPL-2" +KEYWORDS="~x86" + +DEPEND="virtual/x11 + x11-misc/ttmkfdir" + +src_compile() { + cd ${S} + for font in *.bdf; do + /usr/X11R6/bin/bdftopcf ${font} > `basename $font .bdf`.pcf + done + gzip *.pcf +} + +src_install() { + cd ${S} + insopts -m0644 + insinto /usr/share/fonts/artwiz/ + doins *.pcf.gz + +# These don't get downloaded because there is no simple way to +# fetch them.. ie if I included the README in SRC_URI above, it would +# get saved as /usr/portage/distfiles/README which doesn't seem like +# a really good idea. + dodoc ../COPYING + + if [ -z "$(grep artwiz /etc/X11/fs/config)" ] + then + sed 's#^catalog.*$#&\n\t/usr/X11R6/lib/X11/fonts/artwiz:unscaled,#g' \ + /etc/X11/fs/config > ${S}/config + insinto /etc/X11/fs + doins config + fi + +} + +pkg_postinst() { + einfo ">>> Making font dirs..." + cd /usr/share/fonts/artwiz + mkfontdir +} diff --git a/media-fonts/artwiz-fonts/files/digest-artwiz-fonts-2.4 b/media-fonts/artwiz-fonts/files/digest-artwiz-fonts-2.4 new file mode 100644 index 000000000000..d8bcb89e46a4 --- /dev/null +++ b/media-fonts/artwiz-fonts/files/digest-artwiz-fonts-2.4 @@ -0,0 +1 @@ +MD5 1113078c54818ac82025934ca5cb61d0 xfonts-artwiz_2.4.tar.gz 36521 |