diff options
author | ache <ache@FreeBSD.org> | 1996-08-30 20:14:00 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-08-30 20:14:00 +0000 |
commit | 16c5d4527fb5037af375b99020cafd6012e7d633 (patch) | |
tree | 1d87499b677193ab2cf4cfd329e54c759cf043c6 /x11-fonts/getbdf | |
parent | 628b763ba9d9df288193fed79e85cdf4ffc926ae (diff) | |
download | FreeBSD-ports-16c5d4527fb5037af375b99020cafd6012e7d633.zip FreeBSD-ports-16c5d4527fb5037af375b99020cafd6012e7d633.tar.gz |
Convert any X server font to .bdf format
Diffstat (limited to 'x11-fonts/getbdf')
-rw-r--r-- | x11-fonts/getbdf/Makefile | 22 | ||||
-rw-r--r-- | x11-fonts/getbdf/distinfo | 1 | ||||
-rw-r--r-- | x11-fonts/getbdf/files/patch-aa | 37 | ||||
-rw-r--r-- | x11-fonts/getbdf/files/patch-ab | 19 | ||||
-rw-r--r-- | x11-fonts/getbdf/pkg-comment | 1 | ||||
-rw-r--r-- | x11-fonts/getbdf/pkg-descr | 3 | ||||
-rw-r--r-- | x11-fonts/getbdf/pkg-plist | 1 |
7 files changed, 84 insertions, 0 deletions
diff --git a/x11-fonts/getbdf/Makefile b/x11-fonts/getbdf/Makefile new file mode 100644 index 0000000..8ea48aa --- /dev/null +++ b/x11-fonts/getbdf/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: getbdf +# Date created: 30 August 1996 +# Whom: ache +# +# $Id: Makefile,v 1.8 1996/08/06 04:59:00 asami Exp $ +# + +DISTNAME= getbdf +CATEGORIES+= x11 +MASTER_SITES= ftp://ftp.ipa.fhg.de/pub/X/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= ache@FreeBSD.org + +NO_WRKSUBDIR= yes +ALL_TARGET= getbdf + +do-install: + cd ${WRKSRC}; \ + ${INSTALL} -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} getbdf ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/x11-fonts/getbdf/distinfo b/x11-fonts/getbdf/distinfo new file mode 100644 index 0000000..b028a08 --- /dev/null +++ b/x11-fonts/getbdf/distinfo @@ -0,0 +1 @@ +MD5 (getbdf.tar.Z) = a72a7fdbc4a390ea51cc580d87442162 diff --git a/x11-fonts/getbdf/files/patch-aa b/x11-fonts/getbdf/files/patch-aa new file mode 100644 index 0000000..f02f0a6 --- /dev/null +++ b/x11-fonts/getbdf/files/patch-aa @@ -0,0 +1,37 @@ +*** Makefile.orig Wed Mar 7 17:23:09 1990 +--- Makefile Sat Aug 31 00:04:49 1996 +*************** +*** 1,22 **** + OBJS= getbdf.o Xargs.o open_display.o + +! # HP or SUN ? +! #CFLAGS= -g -DHP +! CFLAGS= -g + + + getbdf: $(OBJS) +! cc $(CFLAGS) $(OBJS) -o getbdf -lX11 -lm +! +! +! getbdf.o: getbdf.c +! cc -c $(CFLAGS) getbdf.c -I. -I/usr/include/X11 +! +! Xargs.o: Xargs.c +! cc -c $(CFLAGS) Xargs.c -I. -I/usr/include/X11 +! +! open_display.o: open_display.c +! cc -c $(CFLAGS) open_display.c -I. -I/usr/include/X11 + + clean: + rm -f $(OBJS) getbdf +--- 1,10 ---- + OBJS= getbdf.o Xargs.o open_display.o + +! CFLAGS+= -I. -I${X11BASE}/include + + + getbdf: $(OBJS) +! cc $(CFLAGS) $(OBJS) -o getbdf -L${X11BASE}/lib -lX11 -lm + + clean: + rm -f $(OBJS) getbdf diff --git a/x11-fonts/getbdf/files/patch-ab b/x11-fonts/getbdf/files/patch-ab new file mode 100644 index 0000000..c5db30a --- /dev/null +++ b/x11-fonts/getbdf/files/patch-ab @@ -0,0 +1,19 @@ +*** getbdf.c.orig Wed Mar 7 17:16:41 1990 +--- getbdf.c Fri Aug 30 23:39:32 1996 +*************** +*** 33,39 **** + + XFontStruct *font; + +! #ifdef HP + nint(x) double x; + { + int i; +--- 33,39 ---- + + XFontStruct *font; + +! #if defined(HP) || defined(__FreeBSD__) + nint(x) double x; + { + int i; diff --git a/x11-fonts/getbdf/pkg-comment b/x11-fonts/getbdf/pkg-comment new file mode 100644 index 0000000..c9af42e --- /dev/null +++ b/x11-fonts/getbdf/pkg-comment @@ -0,0 +1 @@ +getbdf - convert any X server font to .bdf format diff --git a/x11-fonts/getbdf/pkg-descr b/x11-fonts/getbdf/pkg-descr new file mode 100644 index 0000000..d04ad5c --- /dev/null +++ b/x11-fonts/getbdf/pkg-descr @@ -0,0 +1,3 @@ +getbdf will convert anything your X server understands into the bdf format. +Hence snftobdf, pcftobdf are not necessary. It is useful to convert a Latin +font that you work with into bdf so that you may compare and edi. diff --git a/x11-fonts/getbdf/pkg-plist b/x11-fonts/getbdf/pkg-plist new file mode 100644 index 0000000..d7a2ee97 --- /dev/null +++ b/x11-fonts/getbdf/pkg-plist @@ -0,0 +1 @@ +bin/getbdf |