diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2021-03-09 17:57:59 +0800 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2021-03-09 17:57:59 +0800 |
commit | fa90ad5d244ab40fcc262c8675390c61cc2bcc60 (patch) | |
tree | 7fae8b9ae0b170b582edf15c4adbcba2d3042e71 /x11-fonts | |
parent | 74c8fb7160434ad9f1abfd2901cd04d35ebc819c (diff) | |
download | freebsd-ports-gnome-fa90ad5d244ab40fcc262c8675390c61cc2bcc60.tar.gz freebsd-ports-gnome-fa90ad5d244ab40fcc262c8675390c61cc2bcc60.tar.zst freebsd-ports-gnome-fa90ad5d244ab40fcc262c8675390c61cc2bcc60.zip |
Add x11-fonts/otf2bdf, OpenType to BDF converter
PR: 254109
Submitted by: Yasuhiro Kimura <yasu@utahime.org>
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/Makefile | 1 | ||||
-rw-r--r-- | x11-fonts/otf2bdf/Makefile | 32 | ||||
-rw-r--r-- | x11-fonts/otf2bdf/distinfo | 5 | ||||
-rw-r--r-- | x11-fonts/otf2bdf/files/patch-Makefile.in | 15 | ||||
-rw-r--r-- | x11-fonts/otf2bdf/pkg-descr | 5 |
5 files changed, 58 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 45b7bd367a4a..a448c490d90d 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -189,6 +189,7 @@ SUBDIR += oldschool-pc-fonts SUBDIR += open-sans SUBDIR += orbitron + SUBDIR += otf2bdf SUBDIR += ots SUBDIR += oxygen-fonts SUBDIR += p5-Font-AFM diff --git a/x11-fonts/otf2bdf/Makefile b/x11-fonts/otf2bdf/Makefile new file mode 100644 index 000000000000..d8e37dfc584f --- /dev/null +++ b/x11-fonts/otf2bdf/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= otf2bdf +DISTVERSION= 3.1 +CATEGORIES= x11-fonts +MASTER_SITES= http://sofia.nmsu.edu/~mleisher/Software/otf2bdf/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + mkinstalldirs +DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= yasu@utahime.org +COMMENT= OpenType to BDF converter + +LICENSE= MIT + +LIB_DEPENDS= libfreetype.so:print/freetype2 + +USES= autoreconf tar:tgz + +GNU_CONFIGURE= yes + +PLIST_FILES= bin/otf2bdf \ + man/man1/otf2bdf.1.gz + +post-extract: + ${INSTALL_SCRIPT} ${DISTDIR}/${DIST_SUBDIR}/mkinstalldirs ${WRKSRC} + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/otf2bdf + +.include <bsd.port.mk> diff --git a/x11-fonts/otf2bdf/distinfo b/x11-fonts/otf2bdf/distinfo new file mode 100644 index 000000000000..1cd87192528e --- /dev/null +++ b/x11-fonts/otf2bdf/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1615137831 +SHA256 (otf2bdf/otf2bdf-3.1.tgz) = 61370b8613867386ad5b7b331a403a674e684020830b0eb83bb004a452abfada +SIZE (otf2bdf/otf2bdf-3.1.tgz) = 57769 +SHA256 (otf2bdf/mkinstalldirs) = e7b13759bd5caac0976facbd1672312fe624dd172bbfd989ffcc5918ab21bfc1 +SIZE (otf2bdf/mkinstalldirs) = 735 diff --git a/x11-fonts/otf2bdf/files/patch-Makefile.in b/x11-fonts/otf2bdf/files/patch-Makefile.in new file mode 100644 index 000000000000..816c1ebb17bf --- /dev/null +++ b/x11-fonts/otf2bdf/files/patch-Makefile.in @@ -0,0 +1,15 @@ +--- Makefile.in.orig 2008-05-21 22:18:18 UTC ++++ Makefile.in +@@ -60,9 +60,9 @@ distclean: clean + $(CC) $(CFLAGS) $(INCS) -c $< -o $@ + + install: otf2bdf +- $(MKINSTALLDIRS) $(bindir) $(mandir)/man1 +- $(CP) otf2bdf $(bindir)/otf2bdf +- $(CP) otf2bdf.man $(mandir)/man1/otf2bdf.1 ++ $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 ++ $(CP) otf2bdf $(DESTDIR)$(bindir)/otf2bdf ++ $(CP) otf2bdf.man $(DESTDIR)$(mandir)/man1/otf2bdf.1 + + uninstall: + $(RM) -f $(bindir)/otf2bdf diff --git a/x11-fonts/otf2bdf/pkg-descr b/x11-fonts/otf2bdf/pkg-descr new file mode 100644 index 000000000000..f882e1da476f --- /dev/null +++ b/x11-fonts/otf2bdf/pkg-descr @@ -0,0 +1,5 @@ +otf2bdf is a command line utility that uses the FreeType 2 font +rendering library to generate BDF bitmap fonts from OpenType outline +fonts at different sizes and resolutions. + +WWW: http://sofia.nmsu.edu/~mleisher/Software/otf2bdf/ |