import mftrace 1.2.4
mftrace is a small Python program that lets you trace a TeX bitmap font into a PFA or PFB font (PostScript Type1 Scalable Font) or TTF (TrueType) font. submitted by Matt Jibson <dolmant at gmail.com> "looks ok" alek@
This commit is contained in:
parent
c78f7b5f9c
commit
7e53409df8
38
print/mftrace/Makefile
Normal file
38
print/mftrace/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/06/25 10:42:23 steven Exp $
|
||||
|
||||
COMMENT= "Scalable PostScript fonts for MetaFont"
|
||||
|
||||
CATEGORIES= print
|
||||
DISTNAME= mftrace-1.2.4
|
||||
|
||||
HOMEPAGE= http://www.xs4all.nl/~hanwen/mftrace/
|
||||
|
||||
MAINTAINER= Matt Jibson <dolmant@gmail.com>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
WANTLIB= c
|
||||
|
||||
MODULES= lang/python
|
||||
|
||||
RUN_DEPENDS= :potrace-*:graphics/potrace \
|
||||
:t1utils-*:print/t1utils \
|
||||
:fontforge-*:print/fontforge \
|
||||
:teTeX_base-*:print/teTeX/base
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= PYTHON=${MODPY_BIN}
|
||||
MAKE_FILE= GNUmakefile
|
||||
FAKE_FLAGS= MODPY_SITEPKG=${MODPY_SITEPKG} ${DESTDIRNAME}=${WRKINST}
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
4
print/mftrace/distinfo
Normal file
4
print/mftrace/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (mftrace-1.2.4.tar.gz) = 8abde3284dc7dc25c829bd4262f836ee
|
||||
RMD160 (mftrace-1.2.4.tar.gz) = a76d4f47dffbed281f5381d527565fd044779b3a
|
||||
SHA1 (mftrace-1.2.4.tar.gz) = 137d10d1c98230bdcb5f057dc5e489e663b8fa4c
|
||||
SIZE (mftrace-1.2.4.tar.gz) = 58960
|
30
print/mftrace/patches/patch-GNUmakefile_in
Normal file
30
print/mftrace/patches/patch-GNUmakefile_in
Normal file
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-GNUmakefile_in,v 1.1.1.1 2006/06/25 10:42:23 steven Exp $
|
||||
--- GNUmakefile.in.orig Thu Apr 27 15:49:14 2006
|
||||
+++ GNUmakefile.in Mon Jun 19 13:18:28 2006
|
||||
@@ -7,7 +7,7 @@ FILES= mftrace.py GNUmakefile.in \
|
||||
README.texi README.txt ChangeLog \
|
||||
mftrace.spec.in mftrace.spec \
|
||||
$(PY_MODULES) configure configure.in config.h.in
|
||||
-CFLAGS=-Wall -O2 -I.
|
||||
+CFLAGS+=-Wall -I.
|
||||
srcdir=@srcdir@
|
||||
VPATH=$(srcdir)
|
||||
NAME=mftrace
|
||||
@@ -15,7 +15,7 @@ MANPAGES=mftrace.1
|
||||
VERSION=@VERSION@
|
||||
distdir=$(NAME)-$(VERSION)
|
||||
prefix=@prefix@
|
||||
-datadir=@datadir@/mftrace/
|
||||
+datadir=$(MODPY_SITEPKG)
|
||||
exec_prefix=@exec_prefix@
|
||||
bindir=@bindir@
|
||||
mandir=@mandir@
|
||||
@@ -65,7 +65,7 @@ install: mftrace gf2pbm $(PYC_MODULES) i
|
||||
|
||||
install-py: $(PY_MODULES) $(PYC_MODULES)
|
||||
install -d $(DESTDIR)$(datadir)
|
||||
- install -m644 $^ $(DESTDIR)$(datadir)
|
||||
+ install -m644 -p $^ $(DESTDIR)$(datadir)
|
||||
|
||||
install-man: $(MANPAGES)
|
||||
install -d $(DESTDIR)$(mandir)/man1
|
12
print/mftrace/patches/patch-gf2pbm_c
Normal file
12
print/mftrace/patches/patch-gf2pbm_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gf2pbm_c,v 1.1.1.1 2006/06/25 10:42:23 steven Exp $
|
||||
--- gf2pbm.c.orig Mon Jun 19 13:03:11 2006
|
||||
+++ gf2pbm.c Mon Jun 19 13:03:23 2006
|
||||
@@ -694,7 +694,7 @@ main (int argc, char * argv [])
|
||||
if(!out_file)
|
||||
{
|
||||
static char s[100];
|
||||
- sprintf (s, "%d.pbm", glyph_num);
|
||||
+ snprintf (s, sizeof(s), "%d.pbm", glyph_num);
|
||||
outfilename = s;
|
||||
out_file = fopen (s, "w");
|
||||
}
|
2
print/mftrace/pkg/DESCR
Normal file
2
print/mftrace/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
mftrace is a small Python program that lets you trace a TeX bitmap font into
|
||||
a PFA or PFB font (PostScript Type1 Scalable Font) or TTF (TrueType) font.
|
8
print/mftrace/pkg/PLIST
Normal file
8
print/mftrace/pkg/PLIST
Normal file
@ -0,0 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/06/25 10:42:23 steven Exp $
|
||||
bin/gf2pbm
|
||||
bin/mftrace
|
||||
lib/python${MODPY_VERSION}/site-packages/afm.py
|
||||
lib/python${MODPY_VERSION}/site-packages/afm.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/tfm.py
|
||||
lib/python${MODPY_VERSION}/site-packages/tfm.pyc
|
||||
@man man/man1/mftrace.1
|
Loading…
Reference in New Issue
Block a user