From 25d0b8dfa076a2539855f4e01de4b6ec33051b8c Mon Sep 17 00:00:00 2001 From: anholt Date: Mon, 31 May 2004 03:06:13 +0000 Subject: Add xorg-fonts-truetype, a port of the X.Org TrueType fonts (bitstream-vera provided by the existing port). --- x11/Makefile | 1 + x11/xorg-fonts-truetype/Makefile | 31 +++++++++++++++++++++++ x11/xorg-fonts-truetype/distinfo | 2 ++ x11/xorg-fonts-truetype/files/patch-TTF-Imakefile | 25 ++++++++++++++++++ x11/xorg-fonts-truetype/pkg-descr | 6 +++++ x11/xorg-fonts-truetype/pkg-plist | 16 ++++++++++++ x11/xorg-fonts-truetype/scripts/configure | 10 ++++++++ 7 files changed, 91 insertions(+) create mode 100644 x11/xorg-fonts-truetype/Makefile create mode 100644 x11/xorg-fonts-truetype/distinfo create mode 100644 x11/xorg-fonts-truetype/files/patch-TTF-Imakefile create mode 100644 x11/xorg-fonts-truetype/pkg-descr create mode 100644 x11/xorg-fonts-truetype/pkg-plist create mode 100644 x11/xorg-fonts-truetype/scripts/configure (limited to 'x11') diff --git a/x11/Makefile b/x11/Makefile index 38600bf920df..d92924a45b78 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -224,6 +224,7 @@ SUBDIR += xorg-fonts-cyrillic SUBDIR += xorg-fonts-encodings SUBDIR += xorg-fonts-miscbitmaps + SUBDIR += xorg-fonts-truetype SUBDIR += xorg-libraries SUBDIR += xorg-manpages SUBDIR += xprompt diff --git a/x11/xorg-fonts-truetype/Makefile b/x11/xorg-fonts-truetype/Makefile new file mode 100644 index 000000000000..d218aa62b583 --- /dev/null +++ b/x11/xorg-fonts-truetype/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: xorg-fonts-truetype +# Date created: 30 May 2004 +# Whom: anholt@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= xorg-fonts-truetype +PORTVERSION= 6.7.0 +CATEGORIES= x11 +MASTER_SITES= http://freedesktop.org/~xorg/X11R6.7.0/src/ +DISTNAME= X11R6.7.0-src1 + +MAINTAINER= x11@FreeBSD.org +COMMENT= X.Org TrueType fonts + +BUILD_DEPENDS= ucs2any:${PORTSDIR}/x11/xorg-clients \ + fc-cache:${PORTSDIR}/x11-fonts/fontconfig +RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fonts/xorg-fonts-encodings \ + ${X11BASE}/lib/X11/fonts/bitstream-vera/VeraIt.ttf:${PORTSDIR}/x11-fonts/bitstream-vera \ + fc-cache:${PORTSDIR}/x11-fonts/fontconfig + +CONFLICTS= XFree86-fontScalable-* + +EXTRA_PATCHES= ${CF_PATCHES} + +XBUILD_DIRS= fonts/encodings fonts/scaled/TTF +XINSTALL_DIRS= fonts/scaled/TTF + +.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc" +.include diff --git a/x11/xorg-fonts-truetype/distinfo b/x11/xorg-fonts-truetype/distinfo new file mode 100644 index 000000000000..3b6121dc89e0 --- /dev/null +++ b/x11/xorg-fonts-truetype/distinfo @@ -0,0 +1,2 @@ +MD5 (xorg/X11R6.7.0-src1.tar.gz) = 22465263bae7a2e9f5ad77e172cf1ab5 +SIZE (xorg/X11R6.7.0-src1.tar.gz) = 30039655 diff --git a/x11/xorg-fonts-truetype/files/patch-TTF-Imakefile b/x11/xorg-fonts-truetype/files/patch-TTF-Imakefile new file mode 100644 index 000000000000..ca7032fbe6c4 --- /dev/null +++ b/x11/xorg-fonts-truetype/files/patch-TTF-Imakefile @@ -0,0 +1,25 @@ +--- fonts/scaled/TTF/Imakefile.orig Sun May 30 17:51:49 2004 ++++ fonts/scaled/TTF/Imakefile Sun May 30 17:52:06 2004 +@@ -8,7 +8,7 @@ + VERAFONTS = Vera.ttf VeraBI.ttf VeraBd.ttf VeraMoBI.ttf VeraMoBd.ttf \ + VeraMoIt.ttf VeraMono.ttf VeraSe.ttf VeraSeBd.ttf + +-FONTS = $(LUXIFONTS) $(VERAFONTS) ++FONTS = $(LUXIFONTS) + OBJS = $(FONTS) + + FONTINSTDIR = $(FONTDIR)/TTF +@@ -31,6 +31,7 @@ + DependSubdirs($(SUBDIRS)) + #endif + ++.if 0 + LinkSourceFile(Vera.ttf,$(VERASRCDIR)) + LinkSourceFile(VeraBI.ttf,$(VERASRCDIR)) + LinkSourceFile(VeraBd.ttf,$(VERASRCDIR)) +@@ -41,4 +42,4 @@ + LinkSourceFile(VeraMono.ttf,$(VERASRCDIR)) + LinkSourceFile(VeraSe.ttf,$(VERASRCDIR)) + LinkSourceFile(VeraSeBd.ttf,$(VERASRCDIR)) +- ++.endif diff --git a/x11/xorg-fonts-truetype/pkg-descr b/x11/xorg-fonts-truetype/pkg-descr new file mode 100644 index 000000000000..b2050379f2a4 --- /dev/null +++ b/x11/xorg-fonts-truetype/pkg-descr @@ -0,0 +1,6 @@ +This package contains X.Org TrueType fonts. + +WWW: http://www.x.org/ + +- Eric Anholt +anholt@FreeBSD.org diff --git a/x11/xorg-fonts-truetype/pkg-plist b/x11/xorg-fonts-truetype/pkg-plist new file mode 100644 index 000000000000..3e12cc2d0088 --- /dev/null +++ b/x11/xorg-fonts-truetype/pkg-plist @@ -0,0 +1,16 @@ +lib/X11/fonts/TTF/encodings.dir +lib/X11/fonts/TTF/fonts.dir +lib/X11/fonts/TTF/fonts.scale +lib/X11/fonts/TTF/luximb.ttf +lib/X11/fonts/TTF/luximbi.ttf +lib/X11/fonts/TTF/luximr.ttf +lib/X11/fonts/TTF/luximri.ttf +lib/X11/fonts/TTF/luxirb.ttf +lib/X11/fonts/TTF/luxirbi.ttf +lib/X11/fonts/TTF/luxirr.ttf +lib/X11/fonts/TTF/luxirri.ttf +lib/X11/fonts/TTF/luxisb.ttf +lib/X11/fonts/TTF/luxisbi.ttf +lib/X11/fonts/TTF/luxisr.ttf +lib/X11/fonts/TTF/luxisri.ttf +@unexec %D/lib/X11/fonts/TTF/fonts.cache-1 2>/dev/null || /usr/bin/true diff --git a/x11/xorg-fonts-truetype/scripts/configure b/x11/xorg-fonts-truetype/scripts/configure new file mode 100644 index 000000000000..39b6b5a1adfe --- /dev/null +++ b/x11/xorg-fonts-truetype/scripts/configure @@ -0,0 +1,10 @@ +#!/bin/sh + +LOCALDEF=$WRKDIR/.config + +rm -f $LOCALDEF +echo "#define UseInstalledPrograms YES" >> $LOCALDEF +echo "#define UseInstalledClients YES" >> $LOCALDEF +echo "#define StandardIncludes -I${PREFIX}/include" >> $LOCALDEF + +sh $PORTSDIR/x11-servers/xorg-server/scripts/configure.gen -- cgit