svn commit: r567915 - in head/x11-fonts: . otf2bdf otf2bdf/files

Li-Wen Hsu lwhsu at FreeBSD.org
Tue Mar 9 09:58:01 UTC 2021


Author: lwhsu
Date: Tue Mar  9 09:57:59 2021
New Revision: 567915
URL: https://svnweb.freebsd.org/changeset/ports/567915

Log:
  Add x11-fonts/otf2bdf, OpenType to BDF converter
  
  PR:		254109
  Submitted by:	Yasuhiro Kimura <yasu at utahime.org>

Added:
  head/x11-fonts/otf2bdf/
  head/x11-fonts/otf2bdf/Makefile   (contents, props changed)
  head/x11-fonts/otf2bdf/distinfo   (contents, props changed)
  head/x11-fonts/otf2bdf/files/
  head/x11-fonts/otf2bdf/files/patch-Makefile.in   (contents, props changed)
  head/x11-fonts/otf2bdf/pkg-descr   (contents, props changed)
Modified:
  head/x11-fonts/Makefile

Modified: head/x11-fonts/Makefile
==============================================================================
--- head/x11-fonts/Makefile	Tue Mar  9 09:38:33 2021	(r567914)
+++ head/x11-fonts/Makefile	Tue Mar  9 09:57:59 2021	(r567915)
@@ -189,6 +189,7 @@
     SUBDIR += oldschool-pc-fonts
     SUBDIR += open-sans
     SUBDIR += orbitron
+    SUBDIR += otf2bdf
     SUBDIR += ots
     SUBDIR += oxygen-fonts
     SUBDIR += p5-Font-AFM

Added: head/x11-fonts/otf2bdf/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/otf2bdf/Makefile	Tue Mar  9 09:57:59 2021	(r567915)
@@ -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 at 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>

Added: head/x11-fonts/otf2bdf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/otf2bdf/distinfo	Tue Mar  9 09:57:59 2021	(r567915)
@@ -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

Added: head/x11-fonts/otf2bdf/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/otf2bdf/files/patch-Makefile.in	Tue Mar  9 09:57:59 2021	(r567915)
@@ -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

Added: head/x11-fonts/otf2bdf/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/otf2bdf/pkg-descr	Tue Mar  9 09:57:59 2021	(r567915)
@@ -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/


More information about the svn-ports-head mailing list