diff options
author | wiz <wiz> | 2001-06-29 18:15:30 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-06-29 18:15:30 +0000 |
commit | 9efa340e2a5a038a72a0edbfceed4666d064af69 (patch) | |
tree | f892f2908ae4c0bf97a08d19cac96f78c6fbed20 /fonts | |
parent | f764da9af9145ffeea4c484b5d5992d4e2e4215b (diff) | |
download | pkgsrc-9efa340e2a5a038a72a0edbfceed4666d064af69.tar.gz |
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.
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/mkttfdir/Makefile | 20 | ||||
-rw-r--r-- | fonts/mkttfdir/distinfo | 4 | ||||
-rw-r--r-- | fonts/mkttfdir/pkg/DESCR | 5 | ||||
-rw-r--r-- | fonts/mkttfdir/pkg/PLIST | 3 |
4 files changed, 32 insertions, 0 deletions
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 |