aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/getbdf
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/getbdf')
-rw-r--r--x11-fonts/getbdf/Makefile22
-rw-r--r--x11-fonts/getbdf/distinfo1
-rw-r--r--x11-fonts/getbdf/files/patch-aa37
-rw-r--r--x11-fonts/getbdf/files/patch-ab19
-rw-r--r--x11-fonts/getbdf/pkg-comment1
-rw-r--r--x11-fonts/getbdf/pkg-descr3
-rw-r--r--x11-fonts/getbdf/pkg-plist1
7 files changed, 84 insertions, 0 deletions
diff --git a/x11-fonts/getbdf/Makefile b/x11-fonts/getbdf/Makefile
new file mode 100644
index 000000000000..8ea48aa71a7b
--- /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 000000000000..b028a08b0e82
--- /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 000000000000..f02f0a6b4f56
--- /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 000000000000..c5db30aa4b48
--- /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 000000000000..c9af42ea9793
--- /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 000000000000..d04ad5cfc253
--- /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 000000000000..d7a2ee9784c2
--- /dev/null
+++ b/x11-fonts/getbdf/pkg-plist
@@ -0,0 +1 @@
+bin/getbdf