artwiz fonts added
authorSeemant Kulleen <seemant@gentoo.org>
Tue, 29 Oct 2002 13:45:52 +0000 (13:45 +0000)
committerSeemant Kulleen <seemant@gentoo.org>
Tue, 29 Oct 2002 13:45:52 +0000 (13:45 +0000)
x11-misc/artwiz-fonts/ChangeLog [new file with mode: 0644]
x11-misc/artwiz-fonts/artwiz-fonts-2.4.ebuild [new file with mode: 0644]
x11-misc/artwiz-fonts/files/digest-artwiz-fonts-2.4 [new file with mode: 0644]

diff --git a/x11-misc/artwiz-fonts/ChangeLog b/x11-misc/artwiz-fonts/ChangeLog
new file mode 100644 (file)
index 0000000..56b29a6
--- /dev/null
@@ -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 (file)
index 0000000..073ed37
--- /dev/null
@@ -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 (file)
index 0000000..d8bcb89
--- /dev/null
@@ -0,0 +1 @@
+MD5 1113078c54818ac82025934ca5cb61d0 xfonts-artwiz_2.4.tar.gz 36521