summaryrefslogtreecommitdiff
path: root/x11-servers/Xfstt
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-12-24 06:36:08 +0000
committerSteve Price <steve@FreeBSD.org>1998-12-24 06:36:08 +0000
commit8a3fd34186c5b5eec0f3be0c39c932e3d057b181 (patch)
tree44ab98e182bdbeb99487a8adc00214a156139024 /x11-servers/Xfstt
parentUpdate to version 4.08. (diff)
Initial import of Xfstt version 0.9.10.
A TrueType font server for X11. PR: 7883 Submitted by: Joe Abley <jabley@clear.co.nz>
Notes
Notes: svn path=/head/; revision=15552
Diffstat (limited to 'x11-servers/Xfstt')
-rw-r--r--x11-servers/Xfstt/Makefile36
-rw-r--r--x11-servers/Xfstt/distinfo1
-rw-r--r--x11-servers/Xfstt/files/patch-aa30
-rw-r--r--x11-servers/Xfstt/files/patch-ab19
-rw-r--r--x11-servers/Xfstt/files/patch-ac11
-rw-r--r--x11-servers/Xfstt/pkg-comment1
-rw-r--r--x11-servers/Xfstt/pkg-descr1
-rw-r--r--x11-servers/Xfstt/pkg-plist6
8 files changed, 105 insertions, 0 deletions
diff --git a/x11-servers/Xfstt/Makefile b/x11-servers/Xfstt/Makefile
new file mode 100644
index 000000000000..cb79f8dec889
--- /dev/null
+++ b/x11-servers/Xfstt/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: Xfstt
+# Version required: 0.9.10
+# Date created: 11 September 1998
+# Whom: jabley@clear.co.nz
+#
+# $Id$
+#
+
+DISTNAME= Xfstt-0.9.10
+CATEGORIES= x11
+MASTER_SITES= $(MASTER_SITE_SUNSITE)
+MASTER_SITE_SUBDIR= X11/fonts
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= jabley@clear.co.nz
+
+WRKSRC= $(WRKDIR)/xfstt0910
+
+USE_X_PREFIX= yes
+MAN1= xfstt.1
+
+do-install:
+ $(INSTALL_PROGRAM) $(WRKSRC)/xfstt $(PREFIX)/bin
+ $(INSTALL_MAN) $(WRKSRC)/xfstt.1x $(PREFIX)/man/man1/xfstt.1
+
+post-install:
+ strip $(PREFIX)/bin/xfstt
+.if !defined(NOPORTDOCS)
+ $(MKDIR) $(PREFIX)/share/doc/xfstt
+ $(INSTALL_DATA) $(WRKSRC)/FAQ $(PREFIX)/share/doc/xfstt
+ $(INSTALL_DATA) $(WRKSRC)/CHANGES $(PREFIX)/share/doc/xfstt
+ $(INSTALL_DATA) $(WRKSRC)/INSTALL $(PREFIX)/share/doc/xfstt
+ $(INSTALL_DATA) $(WRKSRC)/THANKS.txt $(PREFIX)/share/doc/xfstt
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-servers/Xfstt/distinfo b/x11-servers/Xfstt/distinfo
new file mode 100644
index 000000000000..87369d9eba89
--- /dev/null
+++ b/x11-servers/Xfstt/distinfo
@@ -0,0 +1 @@
+MD5 (Xfstt-0.9.10.tgz) = 9189cbcfb972fcc05e093aeccfd4d3b2
diff --git a/x11-servers/Xfstt/files/patch-aa b/x11-servers/Xfstt/files/patch-aa
new file mode 100644
index 000000000000..2ff414ce74d2
--- /dev/null
+++ b/x11-servers/Xfstt/files/patch-aa
@@ -0,0 +1,30 @@
+--- Makefile.orig Sun Oct 25 11:21:12 1998
++++ Makefile Wed Dec 23 19:32:02 1998
+@@ -2,13 +2,13 @@
+ MISCOPT =
+ OPT = $(MISCOPT) $(MAXOPT)
+
+-CFLAGS = $(OPT) -DMAGNIFY=0 -DNDEBUG
++#CFLAGS = $(OPT) -DMAGNIFY=0 -DNDEBUG
+ #CFLAGS = -fprofile-arcs -ftest-coverage -DMAGNIFY=0
+ CFLAGS = -g -Wall -pedantic $(MISCOPT) -DMAGNIFY=0
+ #CFLAGS = -O -Wall -pedantic -DDEBUG $(MISCOPT)
+
+-LFLAGS = -L/usr/X11R6/lib -L/usr/openwin/lib/X11
+-LFLAGS = -g -L/usr/X11R6/lib
++#LFLAGS = -L/usr/X11R6/lib -L/usr/openwin/lib/X11
++LFLAGS = -g -L$(X11BASE)/lib
+
+ CC = c++
+ LD = c++
+@@ -55,8 +55,8 @@
+ $(LD) -o $@ $(OBJS) xfstt.o encoding.o $(LFLAGS) -lm
+
+ xfstt.o : xfstt.cpp xfstt.h ttf.h arch.h Makefile
+- $(CC) $(CFLAGS) -c $< -I/usr/X11R6/include/X11/fonts \
+- -I/usr/X11R6/include/
++ $(CC) $(CFLAGS) -c $< -I$(X11BASE)/include/X11/fonts \
++ -I$(X11BASE)/include/
+
+ encoding.o : encoding.cpp encoding.h Makefile
+ $(CC) $(CFLAGS) -c $<
diff --git a/x11-servers/Xfstt/files/patch-ab b/x11-servers/Xfstt/files/patch-ab
new file mode 100644
index 000000000000..59088553138a
--- /dev/null
+++ b/x11-servers/Xfstt/files/patch-ab
@@ -0,0 +1,19 @@
+--- xfstt.cpp.orig Sun Oct 25 11:21:12 1998
++++ xfstt.cpp Wed Dec 23 19:29:11 1998
+@@ -8,7 +8,7 @@
+ // if you are sure your X11 server doesn't request more
+ // than it can handle, increase the limit up to 65535
+ #define UNSTRAPLIMIT 10500U
+-#define TTFONTDIR "/usr/ttfonts"
++#define TTFONTDIR "/usr/X11R6/lib/X11/fonts/TrueType"
+
+ #define MAXOPENFONTS 256
+ #define MAXREPLYSIZE (1<<22)
+@@ -22,6 +22,7 @@
+ #include "ttfn.h"
+ #include "encoding.h"
+
++#include <sys/types.h>
+ #include <dirent.h>
+ #include <string.h>
+ #include <ctype.h>
diff --git a/x11-servers/Xfstt/files/patch-ac b/x11-servers/Xfstt/files/patch-ac
new file mode 100644
index 000000000000..7bedac07abf6
--- /dev/null
+++ b/x11-servers/Xfstt/files/patch-ac
@@ -0,0 +1,11 @@
+--- perftest.cpp.orig Wed Dec 23 21:21:45 1998
++++ perftest.cpp Wed Dec 23 21:22:15 1998
+@@ -1,7 +1,7 @@
+ // test ttf engine performance
+ // (C) Copyright 1997-1998 Herbert Duerr
+
+-#define TTFONTDIR "/usr/ttfonts"
++#define TTFONTDIR "/usr/X11R6/lib/X11/fonts/TrueType"
+ #define MAXFONTBUFSIZE (2048*2048)
+
+ #include "ttf.h"
diff --git a/x11-servers/Xfstt/pkg-comment b/x11-servers/Xfstt/pkg-comment
new file mode 100644
index 000000000000..72e0bc2e7602
--- /dev/null
+++ b/x11-servers/Xfstt/pkg-comment
@@ -0,0 +1 @@
+A TrueType font server for X11
diff --git a/x11-servers/Xfstt/pkg-descr b/x11-servers/Xfstt/pkg-descr
new file mode 100644
index 000000000000..809707d79ddf
--- /dev/null
+++ b/x11-servers/Xfstt/pkg-descr
@@ -0,0 +1 @@
+This is Xfstt, a free TrueType font server for X11.
diff --git a/x11-servers/Xfstt/pkg-plist b/x11-servers/Xfstt/pkg-plist
new file mode 100644
index 000000000000..a59d0d310ea8
--- /dev/null
+++ b/x11-servers/Xfstt/pkg-plist
@@ -0,0 +1,6 @@
+bin/xfstt
+share/doc/xfstt/FAQ
+share/doc/xfstt/CHANGES
+share/doc/xfstt/INSTALL
+share/doc/xfstt/THANKS.txt
+@dirrm share/doc/xfstt