summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-10-29 13:45:52 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-10-29 13:45:52 +0000
commit52e6c4e5d9666afe55ea33b152302ffccba29eda (patch)
tree79c1390dffbc3ca49893049d01fb3d99b6a8d1a2 /x11-misc/artwiz-fonts
parentnew plugin (diff)
downloadhistorical-52e6c4e5d9666afe55ea33b152302ffccba29eda.tar.gz
historical-52e6c4e5d9666afe55ea33b152302ffccba29eda.tar.bz2
historical-52e6c4e5d9666afe55ea33b152302ffccba29eda.zip
artwiz fonts added
Diffstat (limited to 'x11-misc/artwiz-fonts')
-rw-r--r--x11-misc/artwiz-fonts/ChangeLog11
-rw-r--r--x11-misc/artwiz-fonts/artwiz-fonts-2.4.ebuild51
-rw-r--r--x11-misc/artwiz-fonts/files/digest-artwiz-fonts-2.41
3 files changed, 63 insertions, 0 deletions
diff --git a/x11-misc/artwiz-fonts/ChangeLog b/x11-misc/artwiz-fonts/ChangeLog
new file mode 100644
index 000000000000..56b29a647a98
--- /dev/null
+++ b/x11-misc/artwiz-fonts/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for x11-misc/artwiz-fonts
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/artwiz-fonts/ChangeLog,v 1.1 2002/10/29 13:45:52 seemant Exp $
+
+*artwiz-fonts-2.4 (29 Oct 2002)
+
+ 29 Oct 2002; Seemant Kulleen <seemant@gentoo.org> ChangeLog
+ artwiz-fonts-2.4.ebuild files/digest-artwiz-fonts-2.4 :
+
+ New Artwiz Fonts package, submitted by: st_lim@stlim.net (Lim Swee Tat) in
+ bug #6495
diff --git a/x11-misc/artwiz-fonts/artwiz-fonts-2.4.ebuild b/x11-misc/artwiz-fonts/artwiz-fonts-2.4.ebuild
new file mode 100644
index 000000000000..073ed37932f1
--- /dev/null
+++ b/x11-misc/artwiz-fonts/artwiz-fonts-2.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/artwiz-fonts/artwiz-fonts-2.4.ebuild,v 1.1 2002/10/29 13:45:52 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/X11R6/lib/X11/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/X11R6/lib/X11/fonts/artwiz
+ mkfontdir
+}
diff --git a/x11-misc/artwiz-fonts/files/digest-artwiz-fonts-2.4 b/x11-misc/artwiz-fonts/files/digest-artwiz-fonts-2.4
new file mode 100644
index 000000000000..d8bcb89e46a4
--- /dev/null
+++ b/x11-misc/artwiz-fonts/files/digest-artwiz-fonts-2.4
@@ -0,0 +1 @@
+MD5 1113078c54818ac82025934ca5cb61d0 xfonts-artwiz_2.4.tar.gz 36521