summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-17 12:40:57 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-17 12:40:57 +0800
commitc68d0b3e60d631aef35c8d6ce15d60d4edee5d6b (patch)
tree9ad297effb6201e662baeda39f36393cf666c57c
parentfca084077acbd8b6e4e561409eefb61c010722b7 (diff)
downloadmarcuscom-ports-c68d0b3e60d631aef35c8d6ce15d60d4edee5d6b.tar
marcuscom-ports-c68d0b3e60d631aef35c8d6ce15d60d4edee5d6b.tar.gz
marcuscom-ports-c68d0b3e60d631aef35c8d6ce15d60d4edee5d6b.tar.bz2
marcuscom-ports-c68d0b3e60d631aef35c8d6ce15d60d4edee5d6b.tar.lz
marcuscom-ports-c68d0b3e60d631aef35c8d6ce15d60d4edee5d6b.tar.xz
marcuscom-ports-c68d0b3e60d631aef35c8d6ce15d60d4edee5d6b.tar.zst
marcuscom-ports-c68d0b3e60d631aef35c8d6ce15d60d4edee5d6b.zip
Add bitstream-vera, and covert to the new fontconfig conf.d system.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4520 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11-fonts/bitstream-vera/Makefile77
-rw-r--r--x11-fonts/bitstream-vera/distinfo2
-rw-r--r--x11-fonts/bitstream-vera/files/fonts.dir51
-rw-r--r--x11-fonts/bitstream-vera/pkg-descr4
-rw-r--r--x11-fonts/bitstream-vera/pkg-message15
-rw-r--r--x11-fonts/bitstream-vera/pkg-plist19
6 files changed, 168 insertions, 0 deletions
diff --git a/x11-fonts/bitstream-vera/Makefile b/x11-fonts/bitstream-vera/Makefile
new file mode 100644
index 000000000..7ef6f6d9d
--- /dev/null
+++ b/x11-fonts/bitstream-vera/Makefile
@@ -0,0 +1,77 @@
+# New ports collection makefile for: Bitstream Vera Font Family
+# Date created: February 18 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/x11-fonts/bitstream-vera/Makefile,v 1.11 2005/03/04 08:01:33 marcus Exp $
+#
+
+PORTNAME= bitstream-vera
+PORTVERSION= 1.10
+PORTREVISION= 2
+CATEGORIES= x11-fonts
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/ttf-${PORTNAME}/1.10
+DISTNAME= ttf-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Bitstream Vera TrueType font collection
+
+BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+
+USE_BZIP2= yes
+PREFIX?= ${X11BASE}
+NO_BUILD= yes
+
+PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
+
+MSG_FILE= ${PKGDIR}/pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+#
+# Local variables
+#
+
+FONTNAME= ${PORTNAME}
+FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
+
+.include <bsd.port.pre.mk>
+
+.SILENT:
+
+post-patch:
+ ${SED} 's|%%FONTSDIR%%|${FONTSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
+
+#
+# Install
+#
+
+do-install: install-fonts install-conf install-docs
+
+install-fonts:
+ ${MKDIR} ${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
+ ${INSTALL_DATA} ${FILESDIR}/fonts.dir ${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.TXT ${FONTSDIR}
+
+install-conf:
+ ${MKDIR} ${PREFIX}/etc/fonts/conf.d
+ ${INSTALL_DATA} ${WRKSRC}/local.conf \
+ ${PREFIX}/etc/fonts/conf.d/0.vera.conf
+
+install-docs:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/RELEASENOTES.TXT ${DOCSDIR}
+.endif
+
+post-install:
+ ${ECHO_MSG} "===> Running fc-cache"
+ -${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}
+ ${ECHO_MSG}
+ ${CAT} ${PKGMESSAGE}
+ ${ECHO_MSG}
+
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/bitstream-vera/distinfo b/x11-fonts/bitstream-vera/distinfo
new file mode 100644
index 000000000..8a0e46902
--- /dev/null
+++ b/x11-fonts/bitstream-vera/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/ttf-bitstream-vera-1.10.tar.bz2) = bb22bd5b4675f5dbe17c6963d8c00ed6
+SIZE (gnome2/ttf-bitstream-vera-1.10.tar.bz2) = 264276
diff --git a/x11-fonts/bitstream-vera/files/fonts.dir b/x11-fonts/bitstream-vera/files/fonts.dir
new file mode 100644
index 000000000..fd16ab553
--- /dev/null
+++ b/x11-fonts/bitstream-vera/files/fonts.dir
@@ -0,0 +1,51 @@
+50
+Vera.ttf -Bitstream-Bitstream Vera Sans-medium-r-normal--0-0-0-0-p-0-iso8859-9
+Vera.ttf -Bitstream-Bitstream Vera Sans-medium-r-normal--0-0-0-0-p-0-iso8859-15
+Vera.ttf -Bitstream-Bitstream Vera Sans-medium-r-normal--0-0-0-0-p-0-fcd8859-15
+Vera.ttf -Bitstream-Bitstream Vera Sans-medium-r-normal--0-0-0-0-p-0-iso8859-1
+Vera.ttf -Bitstream-Bitstream Vera Sans-medium-r-normal--0-0-0-0-p-0-ascii-0
+VeraBI.ttf -Bitstream-Bitstream Vera Sans-bold-i-normal--0-0-0-0-p-0-iso8859-9
+VeraBI.ttf -Bitstream-Bitstream Vera Sans-bold-i-normal--0-0-0-0-p-0-iso8859-15
+VeraBI.ttf -Bitstream-Bitstream Vera Sans-bold-i-normal--0-0-0-0-p-0-fcd8859-15
+VeraBI.ttf -Bitstream-Bitstream Vera Sans-bold-i-normal--0-0-0-0-p-0-iso8859-1
+VeraBI.ttf -Bitstream-Bitstream Vera Sans-bold-i-normal--0-0-0-0-p-0-ascii-0
+VeraBd.ttf -Bitstream-Bitstream Vera Sans-bold-r-normal--0-0-0-0-p-0-iso8859-9
+VeraBd.ttf -Bitstream-Bitstream Vera Sans-bold-r-normal--0-0-0-0-p-0-iso8859-15
+VeraBd.ttf -Bitstream-Bitstream Vera Sans-bold-r-normal--0-0-0-0-p-0-fcd8859-15
+VeraBd.ttf -Bitstream-Bitstream Vera Sans-bold-r-normal--0-0-0-0-p-0-iso8859-1
+VeraBd.ttf -Bitstream-Bitstream Vera Sans-bold-r-normal--0-0-0-0-p-0-ascii-0
+VeraIt.ttf -Bitstream-Bitstream Vera Sans-medium-i-normal--0-0-0-0-p-0-iso8859-9
+VeraIt.ttf -Bitstream-Bitstream Vera Sans-medium-i-normal--0-0-0-0-p-0-iso8859-15
+VeraIt.ttf -Bitstream-Bitstream Vera Sans-medium-i-normal--0-0-0-0-p-0-fcd8859-15
+VeraIt.ttf -Bitstream-Bitstream Vera Sans-medium-i-normal--0-0-0-0-p-0-iso8859-1
+VeraIt.ttf -Bitstream-Bitstream Vera Sans-medium-i-normal--0-0-0-0-p-0-ascii-0
+VeraMoBI.ttf -Bitstream-Bitstream Vera Sans Mono-bold-i-normal--0-0-0-0-m-0-iso8859-9
+VeraMoBI.ttf -Bitstream-Bitstream Vera Sans Mono-bold-i-normal--0-0-0-0-m-0-iso8859-15
+VeraMoBI.ttf -Bitstream-Bitstream Vera Sans Mono-bold-i-normal--0-0-0-0-m-0-fcd8859-15
+VeraMoBI.ttf -Bitstream-Bitstream Vera Sans Mono-bold-i-normal--0-0-0-0-m-0-iso8859-1
+VeraMoBI.ttf -Bitstream-Bitstream Vera Sans Mono-bold-i-normal--0-0-0-0-m-0-ascii-0
+VeraMoBd.ttf -Bitstream-Bitstream Vera Sans Mono-bold-r-normal--0-0-0-0-m-0-iso8859-9
+VeraMoBd.ttf -Bitstream-Bitstream Vera Sans Mono-bold-r-normal--0-0-0-0-m-0-iso8859-15
+VeraMoBd.ttf -Bitstream-Bitstream Vera Sans Mono-bold-r-normal--0-0-0-0-m-0-fcd8859-15
+VeraMoBd.ttf -Bitstream-Bitstream Vera Sans Mono-bold-r-normal--0-0-0-0-m-0-iso8859-1
+VeraMoBd.ttf -Bitstream-Bitstream Vera Sans Mono-bold-r-normal--0-0-0-0-m-0-ascii-0
+VeraMoIt.ttf -Bitstream-Bitstream Vera Sans Mono-medium-i-normal--0-0-0-0-m-0-iso8859-9
+VeraMoIt.ttf -Bitstream-Bitstream Vera Sans Mono-medium-i-normal--0-0-0-0-m-0-iso8859-15
+VeraMoIt.ttf -Bitstream-Bitstream Vera Sans Mono-medium-i-normal--0-0-0-0-m-0-fcd8859-15
+VeraMoIt.ttf -Bitstream-Bitstream Vera Sans Mono-medium-i-normal--0-0-0-0-m-0-iso8859-1
+VeraMoIt.ttf -Bitstream-Bitstream Vera Sans Mono-medium-i-normal--0-0-0-0-m-0-ascii-0
+VeraMono.ttf -Bitstream-Bitstream Vera Sans Mono-medium-r-normal--0-0-0-0-m-0-iso8859-9
+VeraMono.ttf -Bitstream-Bitstream Vera Sans Mono-medium-r-normal--0-0-0-0-m-0-iso8859-15
+VeraMono.ttf -Bitstream-Bitstream Vera Sans Mono-medium-r-normal--0-0-0-0-m-0-fcd8859-15
+VeraMono.ttf -Bitstream-Bitstream Vera Sans Mono-medium-r-normal--0-0-0-0-m-0-iso8859-1
+VeraMono.ttf -Bitstream-Bitstream Vera Sans Mono-medium-r-normal--0-0-0-0-m-0-ascii-0
+VeraSe.ttf -Bitstream-Bitstream Vera Serif-medium-r-normal--0-0-0-0-p-0-iso8859-9
+VeraSe.ttf -Bitstream-Bitstream Vera Serif-medium-r-normal--0-0-0-0-p-0-iso8859-15
+VeraSe.ttf -Bitstream-Bitstream Vera Serif-medium-r-normal--0-0-0-0-p-0-fcd8859-15
+VeraSe.ttf -Bitstream-Bitstream Vera Serif-medium-r-normal--0-0-0-0-p-0-iso8859-1
+VeraSe.ttf -Bitstream-Bitstream Vera Serif-medium-r-normal--0-0-0-0-p-0-ascii-0
+VeraSeBd.ttf -Bitstream-Bitstream Vera Serif-bold-r-normal--0-0-0-0-p-0-iso8859-9
+VeraSeBd.ttf -Bitstream-Bitstream Vera Serif-bold-r-normal--0-0-0-0-p-0-iso8859-15
+VeraSeBd.ttf -Bitstream-Bitstream Vera Serif-bold-r-normal--0-0-0-0-p-0-fcd8859-15
+VeraSeBd.ttf -Bitstream-Bitstream Vera Serif-bold-r-normal--0-0-0-0-p-0-iso8859-1
+VeraSeBd.ttf -Bitstream-Bitstream Vera Serif-bold-r-normal--0-0-0-0-p-0-ascii-0
diff --git a/x11-fonts/bitstream-vera/pkg-descr b/x11-fonts/bitstream-vera/pkg-descr
new file mode 100644
index 000000000..07877181b
--- /dev/null
+++ b/x11-fonts/bitstream-vera/pkg-descr
@@ -0,0 +1,4 @@
+This is the final version of the "Bitstream Vera" font family. It
+consist of 10 high-quality TrueType fonts for use with X11.
+
+WWW: http://www.gnome.org/fonts/
diff --git a/x11-fonts/bitstream-vera/pkg-message b/x11-fonts/bitstream-vera/pkg-message
new file mode 100644
index 000000000..9b911f28f
--- /dev/null
+++ b/x11-fonts/bitstream-vera/pkg-message
@@ -0,0 +1,15 @@
+IMPORTANT - READ CAREFULLY: Please read the COPYRIGHT included with these fonts
+before using. The copyright can be found at %%FONTSDIR%%/COPYRIGHT.TXT. To
+use these fonts, follow the instructions below.
+
+Make sure that the freetype module is loaded. If it is not, add the following
+line to the "Modules" section of your X Windows configuration file:
+
+ Load "freetype"
+
+Add the following line to the "Files" section of X Windows configuration file:
+
+ FontPath "%%FONTSDIR%%/"
+
+Note: your X Windows configuration file is typically /etc/X11/XF86Config
+if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
diff --git a/x11-fonts/bitstream-vera/pkg-plist b/x11-fonts/bitstream-vera/pkg-plist
new file mode 100644
index 000000000..30445c503
--- /dev/null
+++ b/x11-fonts/bitstream-vera/pkg-plist
@@ -0,0 +1,19 @@
+etc/fonts/conf.d/0.vera.conf
+%%FONTSDIR%%/COPYRIGHT.TXT
+%%FONTSDIR%%/fonts.dir
+%%FONTSDIR%%/Vera.ttf
+%%FONTSDIR%%/VeraBI.ttf
+%%FONTSDIR%%/VeraBd.ttf
+%%FONTSDIR%%/VeraIt.ttf
+%%FONTSDIR%%/VeraMoBI.ttf
+%%FONTSDIR%%/VeraMoBd.ttf
+%%FONTSDIR%%/VeraMoIt.ttf
+%%FONTSDIR%%/VeraMono.ttf
+%%FONTSDIR%%/VeraSe.ttf
+%%FONTSDIR%%/VeraSeBd.ttf
+%%PORTDOCS%%%%DOCSDIR%%/README.TXT
+%%PORTDOCS%%%%DOCSDIR%%/RELEASENOTES.TXT
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
+@dirrm %%FONTSDIR%%
+@exec %%X11BASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true