summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-09-22 02:14:46 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-09-22 02:14:46 +0000
commit18733de5283971751522205441902e8515932fd8 (patch)
treed9dcf68078283984d0f9e3175774a231f398a081 /media-fonts/artwiz-fonts
parentfonts.alias installed with this (diff)
downloadhistorical-18733de5283971751522205441902e8515932fd8.tar.gz
historical-18733de5283971751522205441902e8515932fd8.tar.bz2
historical-18733de5283971751522205441902e8515932fd8.zip
fonts.alias installed with this
Diffstat (limited to 'media-fonts/artwiz-fonts')
-rw-r--r--media-fonts/artwiz-fonts/Manifest4
-rw-r--r--media-fonts/artwiz-fonts/artwiz-fonts-2.4-r1.ebuild56
-rw-r--r--media-fonts/artwiz-fonts/files/digest-artwiz-fonts-2.4-r11
3 files changed, 59 insertions, 2 deletions
diff --git a/media-fonts/artwiz-fonts/Manifest b/media-fonts/artwiz-fonts/Manifest
index 8382bf1d2f7d..091acae17063 100644
--- a/media-fonts/artwiz-fonts/Manifest
+++ b/media-fonts/artwiz-fonts/Manifest
@@ -1,5 +1,5 @@
-MD5 99c5704e9062cdfe15e88835383181b0 artwiz-fonts-2.4-r1.ebuild 1407
+MD5 85c3ac5dcef84b587ab058e5f5c402aa artwiz-fonts-2.4-r1.ebuild 1436
MD5 f8d7eeba7c57f9393fb83962210f81d1 artwiz-fonts-2.4.ebuild 1312
-MD5 32165337a369600df970f539f22b34ba ChangeLog 910
+MD5 7b3fe395d4fb513d3ffd509d9dab2aec ChangeLog 1198
MD5 a7f07fa24970169b9a931592e6840eee files/digest-artwiz-fonts-2.4-r1 68
MD5 a7f07fa24970169b9a931592e6840eee files/digest-artwiz-fonts-2.4 68
diff --git a/media-fonts/artwiz-fonts/artwiz-fonts-2.4-r1.ebuild b/media-fonts/artwiz-fonts/artwiz-fonts-2.4-r1.ebuild
new file mode 100644
index 000000000000..09e28bbe32e6
--- /dev/null
+++ b/media-fonts/artwiz-fonts/artwiz-fonts-2.4-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/artwiz-fonts/artwiz-fonts-2.4-r1.ebuild,v 1.1 2003/09/22 02:14:44 seemant Exp $
+
+S=${WORKDIR}/xfonts-artwiz-2.3
+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 ~ppc ~sparc ~alpha ~hppa ~mips ~arm"
+
+DEPEND="virtual/x11
+ x11-misc/ttmkfdir"
+
+src_compile() {
+ cd ${S}/upstream
+ for font in *.bdf; do
+ /usr/X11R6/bin/bdftopcf ${font} > `basename $font .bdf`.pcf
+ done
+ gzip *.pcf
+}
+
+src_install() {
+ cd ${S}/upstream
+ insopts -m0644
+ insinto /usr/share/fonts/artwiz/
+ doins *.pcf.gz
+
+ cd ${S}/debian
+ insopts -m0644
+ insinto /usr/share/fonts/artwiz/
+ doins fonts.alias
+
+# 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/share/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-r1 b/media-fonts/artwiz-fonts/files/digest-artwiz-fonts-2.4-r1
new file mode 100644
index 000000000000..d8bcb89e46a4
--- /dev/null
+++ b/media-fonts/artwiz-fonts/files/digest-artwiz-fonts-2.4-r1
@@ -0,0 +1 @@
+MD5 1113078c54818ac82025934ca5cb61d0 xfonts-artwiz_2.4.tar.gz 36521