summaryrefslogtreecommitdiff
path: root/fonts/ttmkfdir
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-07-02 13:06:27 +0000
committerwiz <wiz@pkgsrc.org>2002-07-02 13:06:27 +0000
commit7d23d81324e587c8c5a111acc4324b6a9ba9d51e (patch)
treed60da53381b9e06977f4ba95610eaf6cbaf06b28 /fonts/ttmkfdir
parentacf797f175b7607f1815c81d52498eda713ee86d (diff)
downloadpkgsrc-7d23d81324e587c8c5a111acc4324b6a9ba9d51e.tar.gz
Re-import from x11 to fonts. No changes except CATEGORY and adding RCS Id
to distinfo.
Diffstat (limited to 'fonts/ttmkfdir')
-rw-r--r--fonts/ttmkfdir/DESCR2
-rw-r--r--fonts/ttmkfdir/Makefile20
-rw-r--r--fonts/ttmkfdir/PLIST2
-rw-r--r--fonts/ttmkfdir/distinfo6
-rw-r--r--fonts/ttmkfdir/patches/patch-aa31
-rw-r--r--fonts/ttmkfdir/patches/patch-ab13
6 files changed, 74 insertions, 0 deletions
diff --git a/fonts/ttmkfdir/DESCR b/fonts/ttmkfdir/DESCR
new file mode 100644
index 00000000000..f87da12ca9f
--- /dev/null
+++ b/fonts/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/fonts/ttmkfdir/Makefile b/fonts/ttmkfdir/Makefile
new file mode 100644
index 00000000000..a9d186ee02a
--- /dev/null
+++ b/fonts/ttmkfdir/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/07/02 13:06:27 wiz Exp $
+#
+
+DISTNAME= ttmkfdir
+PKGNAME= ttmkfdir-0
+CATEGORIES= fonts 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/fonts/ttmkfdir/PLIST b/fonts/ttmkfdir/PLIST
new file mode 100644
index 00000000000..e5295bab268
--- /dev/null
+++ b/fonts/ttmkfdir/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/02 13:06:27 wiz Exp $
+bin/ttmkfdir
diff --git a/fonts/ttmkfdir/distinfo b/fonts/ttmkfdir/distinfo
new file mode 100644
index 00000000000..5b443001f5f
--- /dev/null
+++ b/fonts/ttmkfdir/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/07/02 13:06:27 wiz Exp $
+
+SHA1 (ttmkfdir.tar.gz) = 1ba2b5103e159758e2e84e709cb396e5d532ed95
+Size (ttmkfdir.tar.gz) = 61487 bytes
+SHA1 (patch-aa) = 77a658c66ed97c6638407ae646f003d9a54ed391
+SHA1 (patch-ab) = 18c7924642ba2b7a87a682a9e3343dc7a659e078
diff --git a/fonts/ttmkfdir/patches/patch-aa b/fonts/ttmkfdir/patches/patch-aa
new file mode 100644
index 00000000000..57f45c5c547
--- /dev/null
+++ b/fonts/ttmkfdir/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/07/02 13:06:27 wiz 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/fonts/ttmkfdir/patches/patch-ab b/fonts/ttmkfdir/patches/patch-ab
new file mode 100644
index 00000000000..9fde45c3db4
--- /dev/null
+++ b/fonts/ttmkfdir/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/07/02 13:06:27 wiz 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"