From b5c2d1b08e10e984eb9d4a241d9f802af7539163 Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 29 Jun 2001 18:15:30 +0000 Subject: Initial import of mkttfdir, a tool to create an index of X TrueType fonts files in a directory. Package submitted by Rui-Xiang Guo in pkg/12848. --- fonts/mkttfdir/Makefile | 20 ++++++++++++++++++++ fonts/mkttfdir/distinfo | 4 ++++ fonts/mkttfdir/pkg/DESCR | 5 +++++ fonts/mkttfdir/pkg/PLIST | 3 +++ 4 files changed, 32 insertions(+) create mode 100644 fonts/mkttfdir/Makefile create mode 100644 fonts/mkttfdir/distinfo create mode 100644 fonts/mkttfdir/pkg/DESCR create mode 100644 fonts/mkttfdir/pkg/PLIST (limited to 'fonts') diff --git a/fonts/mkttfdir/Makefile b/fonts/mkttfdir/Makefile new file mode 100644 index 00000000000..b4a6d694db9 --- /dev/null +++ b/fonts/mkttfdir/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/06/29 18:15:30 wiz Exp $ +# + +DISTNAME= mkttfdir-1.0 +CATEGORIES= fonts +MASTER_SITES= http://members.tripodasia.com.tw/rxg/ + +MAINTAINER= rxg@ms25.url.com.tw +COMMENT= create an index of X TrueType fonts files in a directory + +pre-build: + ${SED} -e 's|prefix|${PREFIX}|g' ${WRKSRC}/mkttfdir > ${WRKSRC}/mkttfdir.tmp + ${MV} -f ${WRKSRC}/mkttfdir.tmp ${WRKSRC}/mkttfdir + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/mkttfdir ${PREFIX}/bin + +.include "../../graphics/freetype-lib/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/fonts/mkttfdir/distinfo b/fonts/mkttfdir/distinfo new file mode 100644 index 00000000000..eec17e20217 --- /dev/null +++ b/fonts/mkttfdir/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/06/29 18:15:30 wiz Exp $ + +SHA1 (mkttfdir-1.0.tar.gz) = 4115884ab1ed29c01479052f088970d2a7a7b570 +Size (mkttfdir-1.0.tar.gz) = 16887 bytes diff --git a/fonts/mkttfdir/pkg/DESCR b/fonts/mkttfdir/pkg/DESCR new file mode 100644 index 00000000000..70071f62e87 --- /dev/null +++ b/fonts/mkttfdir/pkg/DESCR @@ -0,0 +1,5 @@ +mkttfdir is a script to create an index of X TrueType fonts files +in a directory. It would call the program 'ttfinfo' to read TrueType +Fonts information, then use them to fill up each field of XLFD +(X Logical Font Descriptor) in fonts.scale. Just to use it simply +like 'mkfontdir'. diff --git a/fonts/mkttfdir/pkg/PLIST b/fonts/mkttfdir/pkg/PLIST new file mode 100644 index 00000000000..158fb59a50c --- /dev/null +++ b/fonts/mkttfdir/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/29 18:15:30 wiz Exp $ +bin/mkttfdir +bin/ttfinfo -- cgit v1.2.3