From 08f9167b5c087c94dcde26b0ca8fd3bdb4b14e95 Mon Sep 17 00:00:00 2001 From: marcm Date: Tue, 17 Jun 2003 19:55:13 +0000 Subject: [PATCH] Clean and simple TrueType fonts for use with Xft2/Fontconfig and distributed by the Gnome people. --- x11/bitstream-vera-fonts/Makefile | 37 ++++++++++++++++++++ x11/bitstream-vera-fonts/distinfo | 3 ++ x11/bitstream-vera-fonts/pkg/DESCR | 5 +++ x11/bitstream-vera-fonts/pkg/INSTALL | 50 ++++++++++++++++++++++++++++ x11/bitstream-vera-fonts/pkg/PLIST | 24 +++++++++++++ 5 files changed, 119 insertions(+) create mode 100644 x11/bitstream-vera-fonts/Makefile create mode 100644 x11/bitstream-vera-fonts/distinfo create mode 100644 x11/bitstream-vera-fonts/pkg/DESCR create mode 100644 x11/bitstream-vera-fonts/pkg/INSTALL create mode 100644 x11/bitstream-vera-fonts/pkg/PLIST diff --git a/x11/bitstream-vera-fonts/Makefile b/x11/bitstream-vera-fonts/Makefile new file mode 100644 index 00000000000..0f98f557119 --- /dev/null +++ b/x11/bitstream-vera-fonts/Makefile @@ -0,0 +1,37 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2003/06/17 19:55:13 marcm Exp $ + +COMMENT= "Bitstream Vera TrueType fonts" + +VERSION= 1.10 +DISTNAME= ttf-bitstream-vera-${VERSION} +PKGNAME= bitstream-vera-fonts-${VERSION} +CATEGORIES= x11 + +HOMEPAGE= http://www.gnome.org/fonts/ + +MAINTAINER= Marc Matteo + +# Custom Licence enclosed +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/ttf-bitstream-vera/1.10/} + +NO_BUILD= Yes +NO_REGRESS= Yes + +FONTSDIR?= ${PREFIX}/lib/X11/fonts/bitstream-vera + +do-install: + ${INSTALL_DATA_DIR} ${FONTSDIR}; \ + ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}; \ + ${X11BASE}/bin/mkfontscale ${FONTSDIR}; \ + ${X11BASE}/bin/mkfontdir ${FONTSDIR}; + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bitstream-vera-fonts/; \ + ${INSTALL_DATA} ${WRKSRC}/local.conf ${PREFIX}/share/examples/bitstream-vera-fonts/ + ${INSTALL_DATA_DIR} ${PREFIX}/doc/bitstream-vera-fonts/; \ + ${INSTALL_DATA} ${WRKSRC}/*.TXT ${PREFIX}/doc/bitstream-vera-fonts/ + +.include diff --git a/x11/bitstream-vera-fonts/distinfo b/x11/bitstream-vera-fonts/distinfo new file mode 100644 index 00000000000..9890696999b --- /dev/null +++ b/x11/bitstream-vera-fonts/distinfo @@ -0,0 +1,3 @@ +MD5 (ttf-bitstream-vera-1.10.tar.gz) = 52559ed969e74f5fca83e527163156df +RMD160 (ttf-bitstream-vera-1.10.tar.gz) = 552be84f444bf845a6b344234cb8fe7feb4ee6c9 +SHA1 (ttf-bitstream-vera-1.10.tar.gz) = 141d73c0abb8d1744869313e886cd3cdf4fba57a diff --git a/x11/bitstream-vera-fonts/pkg/DESCR b/x11/bitstream-vera-fonts/pkg/DESCR new file mode 100644 index 00000000000..3938f56ae20 --- /dev/null +++ b/x11/bitstream-vera-fonts/pkg/DESCR @@ -0,0 +1,5 @@ +The Bitstream Vera font family contains four monospace and sans faces +(normal, oblique, bold, bold oblique) and two serif faces (normal and +bold). + +WWW: ${HOMEPAGE} diff --git a/x11/bitstream-vera-fonts/pkg/INSTALL b/x11/bitstream-vera-fonts/pkg/INSTALL new file mode 100644 index 00000000000..3d1358be61f --- /dev/null +++ b/x11/bitstream-vera-fonts/pkg/INSTALL @@ -0,0 +1,50 @@ +#!/bin/sh +# +# $OpenBSD: INSTALL,v 1.1.1.1 2003/06/17 19:55:13 marcm Exp $ + +set -e +PREFIX=${PKG_PREFIX:-/usr/local} +PATH=/bin:/usr/bin:/sbin:/usr/sbin + +do_post() { + echo + echo "+---------------" + echo "| On systems using Xft, to have the system automatically use the" + echo "| Bitstream Vera fonts as defaults, simply drop the fonts.conf file" + echo "| located at:" + echo "|" + echo "| ${PREFIX}/share/examples/bitstream-vera-fonts/local.conf" + echo "|" + echo "| into your /etc/fonts directory." + echo "|" + echo "| To access these fonts on a non-Xft systems add the fonts to your" + echo "| font path with the following commands:" + echo "|" + echo "| xset fp+ ${PREFIX}/lib/X11/fonts/bitstream-vera" + echo "| xset fp rehash" + echo "+---------------" + echo +} + +# verify proper execution +# +if [ $# -ne 2 ]; then + echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 + exit 1 +fi + +# Verify/process the command +# +case $2 in + PRE-INSTALL) + ;; + POST-INSTALL) + do_post + ;; + *) + echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/x11/bitstream-vera-fonts/pkg/PLIST b/x11/bitstream-vera-fonts/pkg/PLIST new file mode 100644 index 00000000000..346925c7d49 --- /dev/null +++ b/x11/bitstream-vera-fonts/pkg/PLIST @@ -0,0 +1,24 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2003/06/17 19:55:13 marcm Exp $ +doc/bitstream-vera-fonts/COPYRIGHT.TXT +doc/bitstream-vera-fonts/README.TXT +doc/bitstream-vera-fonts/RELEASENOTES.TXT +lib/X11/fonts/bitstream-vera/Vera.ttf +lib/X11/fonts/bitstream-vera/VeraBI.ttf +lib/X11/fonts/bitstream-vera/VeraBd.ttf +lib/X11/fonts/bitstream-vera/VeraIt.ttf +lib/X11/fonts/bitstream-vera/VeraMoBI.ttf +lib/X11/fonts/bitstream-vera/VeraMoBd.ttf +lib/X11/fonts/bitstream-vera/VeraMoIt.ttf +lib/X11/fonts/bitstream-vera/VeraMono.ttf +lib/X11/fonts/bitstream-vera/VeraSe.ttf +lib/X11/fonts/bitstream-vera/VeraSeBd.ttf +lib/X11/fonts/bitstream-vera/fonts.dir +lib/X11/fonts/bitstream-vera/fonts.scale +share/examples/bitstream-vera-fonts/local.conf +@dirrm share/examples/bitstream-vera-fonts +@unexec /bin/rm %D/lib/X11/fonts/bitstream-vera/fonts.cache-1 2>/dev/null || /usr/bin/true +@dirrm lib/X11/fonts/bitstream-vera +@comment @dirrm lib/X11/fonts +@dirrm doc/bitstream-vera-fonts +@comment @dirrm doc +@exec HOME=/tmp fc-cache -f %D/lib/X11/fonts/bitstream-vera