summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-06-10 13:25:30 +0000
committerdrochner <drochner@pkgsrc.org>2002-06-10 13:25:30 +0000
commit4e38ff3567b753de7c5b37c90eb2c002ab2391ff (patch)
tree7f735024d3fbf4ae19f58ea61cf5b2c22c62ce82
parent0da459c015e58a499e9b6e88365dba98bfc5b9d5 (diff)
downloadpkgsrc-4e38ff3567b753de7c5b37c90eb2c002ab2391ff.tar.gz
import the "ttmkfdir" tool which appears to be the missing link to get
TrueType fonts working directly with X (w/o xfstt).
-rw-r--r--x11/ttmkfdir/DESCR2
-rw-r--r--x11/ttmkfdir/Makefile20
-rw-r--r--x11/ttmkfdir/PLIST2
-rw-r--r--x11/ttmkfdir/distinfo5
-rw-r--r--x11/ttmkfdir/patches/patch-aa31
-rw-r--r--x11/ttmkfdir/patches/patch-ab13
6 files changed, 73 insertions, 0 deletions
diff --git a/x11/ttmkfdir/DESCR b/x11/ttmkfdir/DESCR
new file mode 100644
index 00000000000..f87da12ca9f
--- /dev/null
+++ b/x11/ttmkfdir/DESCR
@@ -0,0 +1,2 @@
+This program reads TrueType fonts and creates a suitable fonts.scale file for
+use with the xfsft X font server or XFree86-4.
diff --git a/x11/ttmkfdir/Makefile b/x11/ttmkfdir/Makefile
new file mode 100644
index 00000000000..e840c07fa7d
--- /dev/null
+++ b/x11/ttmkfdir/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/06/10 13:25:30 drochner Exp $
+#
+
+DISTNAME= ttmkfdir
+PKGNAME= ttmkfdir-0
+CATEGORIES= x11
+MASTER_SITES= http://www.joerg-pommnitz.de/TrueType/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.joerg-pommnitz.de/TrueType/xfsft.html
+COMMENT= tool that creates a fonts.scale file
+
+WRKSRC= ${WRKDIR}
+USE_BUILDLINK_ONLY= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ttmkfdir ${PREFIX}/bin
+
+.include "../../graphics/freetype-lib/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/ttmkfdir/PLIST b/x11/ttmkfdir/PLIST
new file mode 100644
index 00000000000..a552c9f033f
--- /dev/null
+++ b/x11/ttmkfdir/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/10 13:25:30 drochner Exp $
+bin/ttmkfdir
diff --git a/x11/ttmkfdir/distinfo b/x11/ttmkfdir/distinfo
new file mode 100644
index 00000000000..f89482b386c
--- /dev/null
+++ b/x11/ttmkfdir/distinfo
@@ -0,0 +1,5 @@
+
+SHA1 (ttmkfdir.tar.gz) = 1ba2b5103e159758e2e84e709cb396e5d532ed95
+Size (ttmkfdir.tar.gz) = 61487 bytes
+SHA1 (patch-aa) = 77a658c66ed97c6638407ae646f003d9a54ed391
+SHA1 (patch-ab) = 18c7924642ba2b7a87a682a9e3343dc7a659e078
diff --git a/x11/ttmkfdir/patches/patch-aa b/x11/ttmkfdir/patches/patch-aa
new file mode 100644
index 00000000000..d6e1c89eb00
--- /dev/null
+++ b/x11/ttmkfdir/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/06/10 13:25:30 drochner Exp $
+
+--- Makefile.orig Sat Jun 8 21:36:43 2002
++++ Makefile Sat Jun 8 21:42:01 2002
+@@ -1,10 +1,10 @@
+-FREETYPE_BASE=../freetype-1.1
+-FREETYPE_INCL=$(FREETYPE_BASE)/lib
+-FREETYPE_LIB=-L$(FREETYPE_BASE)/lib/.libs -lttf
+-
+-CC=gcc
+-CFLAGS=-Wall -pedantic -I$(FREETYPE_INCL)
+-LDFALGS=$(FREETYPE_LIB) -s
++#FREETYPE_BASE=../freetype-1.1
++#FREETYPE_INCL=$(FREETYPE_BASE)/lib
++#FREETYPE_LIB=-L$(FREETYPE_BASE)/lib/.libs -lttf
++
++#CC=gcc
++#CFLAGS=-Wall -pedantic -I$(FREETYPE_INCL)
++#LDFALGS=$(FREETYPE_LIB) -s
+
+ all: ttmkfdir
+
+@@ -18,7 +18,7 @@
+ ln $< $@
+
+ ttmkfdir: ttmkfdir.o
+- $(CC) -o $@ $< $(LDFALGS)
++ $(CC) -o $@ ttmkfdir.o $(LDFLAGS) -lttf
+
+ ttmkfdir.o: ttmkfdir.c panose.h ttos2val.h
+
diff --git a/x11/ttmkfdir/patches/patch-ab b/x11/ttmkfdir/patches/patch-ab
new file mode 100644
index 00000000000..f2ddf3d223b
--- /dev/null
+++ b/x11/ttmkfdir/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/06/10 13:25:30 drochner Exp $
+
+--- ttmkfdir.c.orig Sat Jun 8 21:37:58 2002
++++ ttmkfdir.c Sat Jun 8 21:38:18 2002
+@@ -61,7 +61,7 @@
+ #include <ctype.h>
+ #include <errno.h>
+
+-#include <freetype.h>
++#include <freetype/freetype.h>
+
+ #include "panose.h"
+ #include "ttos2val.h"