1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Convert any X server font to .bdf format

This commit is contained in:
Andrey A. Chernov 1996-08-30 20:14:00 +00:00
parent 25e207891d
commit 0994ac34c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3725
7 changed files with 84 additions and 0 deletions

22
x11-fonts/getbdf/Makefile Normal file
View File

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

View File

@ -0,0 +1 @@
MD5 (getbdf.tar.Z) = a72a7fdbc4a390ea51cc580d87442162

View File

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

View File

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

View File

@ -0,0 +1 @@
getbdf - convert any X server font to .bdf format

View File

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

View File

@ -0,0 +1 @@
bin/getbdf