xmbdfed port

This commit is contained in:
angelos 1998-05-19 06:43:50 +00:00
parent 981b1bae71
commit 5920cccf66
7 changed files with 135 additions and 0 deletions

20
x11/xmbdfed/Makefile Normal file
View File

@ -0,0 +1,20 @@
# OpenBSD makefile for: xmbdfed
# Version required: 2.7
# Date created: May 19 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/19 06:43:50 angelos Exp $
#
DISTNAME= xmbdfed-2.7
CATEGORIES= x11
MASTER_SITES= ftp://crl.nmsu.edu/CLR/multiling/General/
MAINTAINER= angelos@openbsd.org
USE_X11= yes
REQUIRES_MOTIF= yes
MAN1= xmbdfed.1
.include <bsd.port.mk>

1
x11/xmbdfed/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (xmbdfed-2.7.tar.gz) = 09a050dd4a5ead9e08ccdcce763fb0d7

View File

@ -0,0 +1,72 @@
*** Makefile.orig Wed Nov 5 02:39:24 1997
--- Makefile Tue May 19 02:43:44 1998
***************
*** 55,61 ****
# files with a ".gz" extension. If you don't care about HBF fonts, just
# comment this line out.
#
! HBFDEFS = -Dunix -DIN_MEMORY -DGUNZIP_CMD="\"/usr/local/bin/gunzip -c\""
#
# Set the defines used for all files except the HBF support.
--- 55,61 ----
# files with a ".gz" extension. If you don't care about HBF fonts, just
# comment this line out.
#
! HBFDEFS = -Dunix -DIN_MEMORY -DGUNZIP_CMD="\"/usr/bin/gunzip -c\""
#
# Set the defines used for all files except the HBF support.
***************
*** 65,72 ****
#
# Uncomment these for SunOS.
#
! INCS = -I/usr/local/include/X11R5 $(FTYPE_INCS)
! LIBS = -L/usr/local/lib/X11R5 -lXm -lXmu -lXt -lX11 $(FTYPE_LIBS)
#
# Uncomment these for Solaris.
--- 65,72 ----
#
# Uncomment these for SunOS.
#
! #INCS = -I/usr/local/include/X11R5 $(FTYPE_INCS)
! #LIBS = -L/usr/local/lib/X11R5 -lXm -lXmu -lXt -lX11 $(FTYPE_LIBS)
#
# Uncomment these for Solaris.
***************
*** 80,90 ****
#INCS = -I/usr/X11/include -I/usr/Motif-2.0.1/include $(FTYPE_INCS)
#LIBS = -L/usr/Motif-2.0.1/lib -lXm -L/usr/X11/lib -lXpm -lXmu -lXt -lX11 -lSM -lICE $(FTYPE_LIBS)
all: xmbdfed
xmbdfed: $(OBJS)
! $(PURIFY) $(CC) $(STATIC) $(CFLAGS) -o xmbdfed $(OBJS) $(LIBS)
hbf.o: hbf.c
$(CC) $(CFLAGS) $(DEFS) $(HBFDEFS) $(INCS) -c $< -o $@
--- 80,99 ----
#INCS = -I/usr/X11/include -I/usr/Motif-2.0.1/include $(FTYPE_INCS)
#LIBS = -L/usr/Motif-2.0.1/lib -lXm -L/usr/X11/lib -lXpm -lXmu -lXt -lX11 -lSM -lICE $(FTYPE_LIBS)
+ INCS = -I${X11BASE}/include
+ LIBS = -L${X11BASE}/lib ${MOTIFLIB} -lXpm -lXmu -lXt -lX11 -lSM -lICE -lXext
+
all: xmbdfed
+ install: xmbdfed
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ xmbdfed ${X11BASE}/bin/xmbdfed
+ ${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \
+ xmbdfed.man ${X11BASE}/man/man1/xmbdfed.1
+
xmbdfed: $(OBJS)
! $(PURIFY) $(CC) $(CFLAGS) -o xmbdfed $(OBJS) $(LIBS)
hbf.o: hbf.c
$(CC) $(CFLAGS) $(DEFS) $(HBFDEFS) $(INCS) -c $< -o $@

View File

@ -0,0 +1,19 @@
*** xmbdfed.c.orig Mon Jun 2 14:08:10 1997
--- xmbdfed.c Fri Jun 20 15:30:46 1997
***************
*** 91,97 ****
#define HGINFO "\"%s\" %04lX (%02X,%02X)\nascent %d descent %d right %d left %d"
static String fallback_resources[] = {
! "*fontList: -adobe-new century schoolbook-medium-r-normal--14-100-100-100-p-82-iso8859-1",
(String) NULL,
};
--- 91,97 ----
#define HGINFO "\"%s\" %04lX (%02X,%02X)\nascent %d descent %d right %d left %d"
static String fallback_resources[] = {
! /* "*fontList: -adobe-new century schoolbook-medium-r-normal--14-100-100-100-p-82-iso8859-1", */
(String) NULL,
};

1
x11/xmbdfed/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
A Motif tool for editing X11 bitmap fonts

20
x11/xmbdfed/pkg/DESCR Normal file
View File

@ -0,0 +1,20 @@
XmBDFEditor is a Motif-based BDF font editor with the following features:
o Multiple fonts can be loaded from the command line.
o Multiple fonts can be open at the same time.
o Cutting and pasting glyphs between fonts.
o Multiple glyph bitmap editors can be open at the same time.
o Cutting and pasting between glyph bitmap editors.
o Automatic correction of certain metrics when a font is loaded.
o Generation of XLFD font names for fonts without XLFD names.
o Update an XLFD font name from the font properties.
o Update the font properties from an XLFD font name.
o Font property editor.
o Font comment editor.
o Supports unencoded glyphs (ENCODING of -1).
o Display of glyph encodings in octal, decimal, or hex.
o Builtin on-line help.
o Imports HBF (Han Bitmap Font) fonts.
o Imports Linux console fonts (PSF, CP, and FNT).
o Imports Sun console fonts (vfont format).
o Imports fonts from the X server.

2
x11/xmbdfed/pkg/PLIST Normal file
View File

@ -0,0 +1,2 @@
bin/xmbdfed
man/man1/xmbdfed.1