summaryrefslogtreecommitdiffstats
path: root/x11-servers
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-12-24 06:36:08 +0000
committersteve <steve@FreeBSD.org>1998-12-24 06:36:08 +0000
commit20f030802c8be395f5aa24d237265fe33183e133 (patch)
tree176ac2cca05eb1d360acb6a3c8e2c73045e596a6 /x11-servers
parentebb66c2946ceab3835696df3e6768982b3524390 (diff)
downloadFreeBSD-ports-20f030802c8be395f5aa24d237265fe33183e133.zip
FreeBSD-ports-20f030802c8be395f5aa24d237265fe33183e133.tar.gz
Initial import of Xfstt version 0.9.10.
A TrueType font server for X11. PR: 7883 Submitted by: Joe Abley <jabley@clear.co.nz>
Diffstat (limited to 'x11-servers')
-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 0000000..cb79f8d
--- /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 0000000..87369d9e
--- /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 0000000..2ff414c
--- /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 0000000..5908855
--- /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 0000000..7bedac0
--- /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 0000000..72e0bc2
--- /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 0000000..809707d
--- /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 0000000..a59d0d3
--- /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
OpenPOWER on IntegriCloud