1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Initial import of Xfstt version 0.9.10.

A TrueType font server for X11.

PR:		7883
Submitted by:	Joe Abley <jabley@clear.co.nz>
This commit is contained in:
Steve Price 1998-12-24 06:36:08 +00:00
parent 78b982f389
commit 8a3fd34186
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15552
8 changed files with 105 additions and 0 deletions

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (Xfstt-0.9.10.tgz) = 9189cbcfb972fcc05e093aeccfd4d3b2

View File

@ -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 $<

View File

@ -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>

View File

@ -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"

View File

@ -0,0 +1 @@
A TrueType font server for X11

View File

@ -0,0 +1 @@
This is Xfstt, a free TrueType font server for X11.

View File

@ -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