Subject: pkg/14641: Update fonts/mkttfdir to 1.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rxg@ms25.url.com.tw>
List: netbsd-bugs
Date: 11/19/2001 21:12:50
>Number: 14641
>Category: pkg
>Synopsis: Update fonts/mkttfdir to 1.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Nov 19 05:15:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Rui-Xiang Guo
>Release: NetBSD 1.5Y
>Organization:
>Environment:
System: NetBSD rxgpc.sparqnet.net 1.5Y NetBSD 1.5Y (rxgpc) #0: Mon Nov 19 17:19:13 CST 2001 rxg@rxgpc.sparqnet.net:/home/rxg/mysys/arch/i386/compile/rxgpc i386
Architecture: i386
Machine: i386
>Description:
Update fonts/mkttfdir to 1.1. Fix the "grep" errors for NetBSD.
>How-To-Repeat:
Change the Makefile of mkttfdir then
make fetch ; make ; make install
>Fix:
Please reference this patch to change Makefile of mkttfdir:
--- /usr/pkgsrc/fonts/mkttfdir/Makefile Sat Jun 30 02:15:30 2001
+++ /home/rxg/mypkgsrc/mypkg/mkttfdir/Makefile Mon Nov 19 16:46:22 2001
@@ -1,16 +1,17 @@
# $NetBSD: Makefile,v 1.1.1.1 2001/06/29 18:15:30 wiz Exp $
#
-DISTNAME= mkttfdir-1.0
+DISTNAME= mkttfdir-1.1
CATEGORIES= fonts
-MASTER_SITES= http://members.tripodasia.com.tw/rxg/
+MASTER_SITES= http://residence.educities.edu.tw/rxghome/
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
+NO_PATCH= yes
+NO_CONFIGURE= yes
+
+MAKE_FLAGS+= prefix=${PREFIX} FREETYPE_BASE=${LOCALBASE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${PREFIX}/bin
>Release-Note:
>Audit-Trail:
>Unformatted: