aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/xorg-fonts-truetype
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2004-05-31 03:22:09 +0000
committerEric Anholt <anholt@FreeBSD.org>2004-05-31 03:22:09 +0000
commit4645594dd6e9fc1d0541bad3f0245d97f1680fd7 (patch)
tree30dd7bdf1fef2b11d31c787018f138dc66225d00 /x11-fonts/xorg-fonts-truetype
parent16aaa2e220aad21525c665d1582161f835457acb (diff)
downloadports-4645594dd6e9fc1d0541bad3f0245d97f1680fd7.tar.gz
ports-4645594dd6e9fc1d0541bad3f0245d97f1680fd7.zip
Add xorg-fonts-truetype, a port of the X.Org TrueType fonts (bitstream-vera
provided by the existing port).
Notes
Notes: svn path=/head/; revision=110469
Diffstat (limited to 'x11-fonts/xorg-fonts-truetype')
-rw-r--r--x11-fonts/xorg-fonts-truetype/Makefile31
-rw-r--r--x11-fonts/xorg-fonts-truetype/distinfo2
-rw-r--r--x11-fonts/xorg-fonts-truetype/files/patch-TTF-Imakefile25
-rw-r--r--x11-fonts/xorg-fonts-truetype/pkg-descr6
-rw-r--r--x11-fonts/xorg-fonts-truetype/pkg-plist16
-rw-r--r--x11-fonts/xorg-fonts-truetype/scripts/configure10
6 files changed, 90 insertions, 0 deletions
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