diff options
author | anholt <anholt@FreeBSD.org> | 2004-05-31 11:22:09 +0800 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2004-05-31 11:22:09 +0800 |
commit | 3b8a1bb3a2faf3eef11c924aea2dc198009bed71 (patch) | |
tree | ac33095b4b382f5edd07c22fffcebddd1305c36b | |
parent | 78dd209f35bddb29f1475f2f8b388869bb5fcebd (diff) | |
download | freebsd-ports-gnome-3b8a1bb3a2faf3eef11c924aea2dc198009bed71.tar.gz freebsd-ports-gnome-3b8a1bb3a2faf3eef11c924aea2dc198009bed71.tar.zst freebsd-ports-gnome-3b8a1bb3a2faf3eef11c924aea2dc198009bed71.zip |
Add xorg-fonts-truetype, a port of the X.Org TrueType fonts (bitstream-vera
provided by the existing port).
-rw-r--r-- | x11-fonts/Makefile | 1 | ||||
-rw-r--r-- | x11-fonts/xorg-fonts-truetype/Makefile | 31 | ||||
-rw-r--r-- | x11-fonts/xorg-fonts-truetype/distinfo | 2 | ||||
-rw-r--r-- | x11-fonts/xorg-fonts-truetype/files/patch-TTF-Imakefile | 25 | ||||
-rw-r--r-- | x11-fonts/xorg-fonts-truetype/pkg-descr | 6 | ||||
-rw-r--r-- | x11-fonts/xorg-fonts-truetype/pkg-plist | 16 | ||||
-rw-r--r-- | x11-fonts/xorg-fonts-truetype/scripts/configure | 10 |
7 files changed, 91 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 3f7e923ebc44..8e75dcefb217 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -58,6 +58,7 @@ SUBDIR += xorg-fonts-cyrillic SUBDIR += xorg-fonts-encodings SUBDIR += xorg-fonts-miscbitmaps + SUBDIR += xorg-fonts-truetype SUBDIR += xorg-fonts-type1 .include <bsd.port.subdir.mk> diff --git a/x11-fonts/xorg-fonts-truetype/Makefile b/x11-fonts/xorg-fonts-truetype/Makefile new file mode 100644 index 000000000000..fe59c9cd832f --- /dev/null +++ b/x11-fonts/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-fonts +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 <bsd.port.mk> diff --git a/x11-fonts/xorg-fonts-truetype/distinfo b/x11-fonts/xorg-fonts-truetype/distinfo new file mode 100644 index 000000000000..3b6121dc89e0 --- /dev/null +++ b/x11-fonts/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-fonts/xorg-fonts-truetype/files/patch-TTF-Imakefile b/x11-fonts/xorg-fonts-truetype/files/patch-TTF-Imakefile new file mode 100644 index 000000000000..ca7032fbe6c4 --- /dev/null +++ b/x11-fonts/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-fonts/xorg-fonts-truetype/pkg-descr b/x11-fonts/xorg-fonts-truetype/pkg-descr new file mode 100644 index 000000000000..b2050379f2a4 --- /dev/null +++ b/x11-fonts/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-fonts/xorg-fonts-truetype/pkg-plist b/x11-fonts/xorg-fonts-truetype/pkg-plist new file mode 100644 index 000000000000..3e12cc2d0088 --- /dev/null +++ b/x11-fonts/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-fonts/xorg-fonts-truetype/scripts/configure b/x11-fonts/xorg-fonts-truetype/scripts/configure new file mode 100644 index 000000000000..39b6b5a1adfe --- /dev/null +++ b/x11-fonts/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 |