Date: Fri, 11 Sep 1998 02:01:53 +1200 (NZST) From: jabley@clear.co.nz To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/7883: ports submission Message-ID: <199809101401.CAA14744@buddha.clear.net.nz>
next in thread | raw e-mail | index | archive | help
>Number: 7883 >Category: ports >Synopsis: ports submission >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 10 07:10:01 PDT 1998 >Last-Modified: >Originator: Joe Abley >Organization: CLEAR Communications, Auckland, New Zealand >Release: FreeBSD 3.0-19980804-SNAP i386 >Environment: N/A >Description: Ports submission for Xfstt, a non-Freetype TrueType font server for X11. >How-To-Repeat: N/A >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # xfstt # xfstt/Makefile # xfstt/pkg # xfstt/pkg/COMMENT # xfstt/pkg/DESCR # xfstt/pkg/PLIST # xfstt/patches # xfstt/patches/patch-aa # xfstt/files # xfstt/files/md5 # echo c - xfstt mkdir -p xfstt > /dev/null 2>&1 echo x - xfstt/Makefile sed 's/^X//' >xfstt/Makefile << 'END-of-xfstt/Makefile' X# New ports collection makefile for: Xfstt X# Version required: 0.9.9 X# Date created: 11 September 1998 X# Whom: jabley@clear.co.nz X# X# $Id:$ X# X XDISTNAME= Xfstt-0.9.9 XPKGNAME= xfstt-0.9.9 XEXTRACT_SUFX= .tgz XCATEGORIES= x11 XMASTER_SITES= $(MASTER_SITE_SUNSITE) XMASTER_SITE_SUBDIR= X11/fonts XWRKSRC= $(WRKDIR)/xfstt099 XUSE_X11= YES XMAINTAINER= jabley@clear.co.nz X XMAN1= xfstt.1 X Xdo-install: X $(INSTALL_PROGRAM) $(WRKSRC)/xfstt $(PREFIX)/bin X $(INSTALL_MAN) $(WRKSRC)/xfstt.1x $(PREFIX)/man/man1/xfstt.1 X Xpost-install: X strip $(PREFIX)/bin/xfstt X.if !defined(NOPORTDOCS) X $(MKDIR) $(PREFIX)/share/doc/xfstt X $(INSTALL_DATA) $(WRKSRC)/FAQ $(PREFIX)/share/doc/xfstt X $(INSTALL_DATA) $(WRKSRC)/CHANGES $(PREFIX)/share/doc/xfstt X $(INSTALL_DATA) $(WRKSRC)/INSTALL $(PREFIX)/share/doc/xfstt X $(INSTALL_DATA) $(WRKSRC)/THANKS.txt $(PREFIX)/share/doc/xfstt X.endif X X.include <bsd.port.mk> X END-of-xfstt/Makefile echo c - xfstt/pkg mkdir -p xfstt/pkg > /dev/null 2>&1 echo x - xfstt/pkg/COMMENT sed 's/^X//' >xfstt/pkg/COMMENT << 'END-of-xfstt/pkg/COMMENT' XA truetype font server for X11 END-of-xfstt/pkg/COMMENT echo x - xfstt/pkg/DESCR sed 's/^X//' >xfstt/pkg/DESCR << 'END-of-xfstt/pkg/DESCR' XThis is Xfstt, a free TrueType font server for X11 END-of-xfstt/pkg/DESCR echo x - xfstt/pkg/PLIST sed 's/^X//' >xfstt/pkg/PLIST << 'END-of-xfstt/pkg/PLIST' Xbin/xfstt Xshare/doc/xfstt/FAQ Xshare/doc/xfstt/CHANGES Xshare/doc/xfstt/INSTALL Xshare/doc/xfstt/THANKS.txt END-of-xfstt/pkg/PLIST echo c - xfstt/patches mkdir -p xfstt/patches > /dev/null 2>&1 echo x - xfstt/patches/patch-aa sed 's/^X//' >xfstt/patches/patch-aa << 'END-of-xfstt/patches/patch-aa' Xdiff -r -u Makefile Makefile X--- Makefile Tue Jun 2 03:14:22 1998 X+++ Makefile Fri Sep 11 01:14:49 1998 X@@ -7,8 +7,8 @@ X #CFLAGS = -g -Wall -pedantic $(MISCOPT) -DMAGNIFY=0 X #CFLAGS = -O -Wall -pedantic -DDEBUG $(MISCOPT) X X-LFLAGS = -L/usr/X11R6/lib -L/usr/openwin/lib/X11 X-#LFLAGS = -g -L/usr/X11R6/lib X+#LFLAGS = -L/usr/X11R6/lib -L/usr/openwin/lib/X11 X+LFLAGS = -g -L/usr/X11R6/lib X X CC = c++ X LD = c++ X@@ -55,7 +55,7 @@ X $(LD) -o $@ $(OBJS) xfstt.o encoding.o $(LFLAGS) -lm X X xfstt.o : xfstt.cpp xfstt.h ttf.h arch.h Makefile X- $(CC) $(CFLAGS) -c $< -I/usr/X11R6/include/X11/fonts X+ $(CC) $(CFLAGS) -c $< -I/usr/X11R6/include X X encoding.o : encoding.cpp encoding.h Makefile X $(CC) $(CFLAGS) -c $< Xdiff -r -u xfstt.cpp xfstt.cpp X--- xfstt.cpp Tue Jun 2 03:09:23 1998 X+++ xfstt.cpp Fri Sep 11 00:49:09 1998 X@@ -8,7 +8,7 @@ X // if you are sure your X11 server doesn't request X // more than it can handle, increase up to 65535 X #define UNSTRAPLIMIT 10500U X-#define TTFONTDIR "/usr/ttfonts" X+#define TTFONTDIR "/usr/X11R6/lib/X11/fonts/TrueType" X X #define MAXOPENFONTS 256 X #define MAXREPLYSIZE (1<<22) X@@ -22,6 +22,7 @@ X #include "ttfn.h" X #include "encoding.h" X X+#include <sys/types.h> X #include <dirent.h> X #include <string.h> X #include <ctype.h> END-of-xfstt/patches/patch-aa echo c - xfstt/files mkdir -p xfstt/files > /dev/null 2>&1 echo x - xfstt/files/md5 sed 's/^X//' >xfstt/files/md5 << 'END-of-xfstt/files/md5' XMD5 (Xfstt-0.9.9.tgz) = 6895666aeea20a08afab2e58fbe47d0d END-of-xfstt/files/md5 exit >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809101401.CAA14744>