From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 29 08:40:22 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2618316A4CE for ; Sat, 29 Nov 2003 08:40:22 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2207D43F75 for ; Sat, 29 Nov 2003 08:40:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hATGeLFY068830 for ; Sat, 29 Nov 2003 08:40:21 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hATGeKml068818; Sat, 29 Nov 2003 08:40:20 -0800 (PST) (envelope-from gnats) Date: Sat, 29 Nov 2003 08:40:20 -0800 (PST) Message-Id: <200311291640.hATGeKml068818@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: statue@freebsd.sinica.edu.tw (Statue) Subject: Re: ports/59793: New port: chinese/mingunittf X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Statue List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2003 16:40:22 -0000 The following reply was made to PR ports/59793; it has been noted by GNATS. From: statue@freebsd.sinica.edu.tw (Statue) To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/59793: New port: chinese/mingunittf Date: Sun, 30 Nov 2003 00:36:40 +0800 (CST) # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mingunittf/ # mingunittf/Makefile # mingunittf/distinfo # mingunittf/pkg-descr # mingunittf/pkg-plist # echo c - mingunittf/ mkdir -p mingunittf/ > /dev/null 2>&1 echo x - mingunittf/Makefile sed 's/^X//' >mingunittf/Makefile << 'END-of-mingunittf/Makefile' X# New ports collection makefile for: HKSCS Chinese TrueType fonts X# Date created: 29 Nov 2003 X# Whom: Shen Chuan-Hsing X# X# $FreeBSD$ X# X XPORTNAME= mingunittf XPORTVERSION= 1.08 XCATEGORIES= chinese x11-fonts XMASTER_SITES= http://www.info.gov.hk/digital21/chi/hkscs/download/ XDISTNAME= ming_uni.ttf XEXTRACT_SUFX= .gz X XMAINTAINER= ports@freebsd.org XCOMMENT= Chinese Big5HKSCS TrueType fonts X XBUILD_DEPENDS= ttfm.sh:${PORTSDIR}/chinese/ttfm \ X fc-cache:${PORTSDIR}/x11-fonts/fontconfig XRUN_DEPENDS= ttfm.sh:${PORTSDIR}/chinese/ttfm \ X fc-cache:${PORTSDIR}/x11-fonts/fontconfig X XEXTRACT_CMD= ${GZIP_CMD} XEXTRACT_BEFORE_ARGS= -dc XEXTRACT_AFTER_ARGS= > ${WRKSRC}/minguni.ttf XNO_BUILD= yes XSHAREMODE= 644 XWRKSRC= ${WRKDIR} XUSE_XLIB= yes XFONTDIR= ${PREFIX}/share/fonts/TrueType XXFONTDIR= ${X11BASE}/lib/X11/fonts/TrueType XINSTALL_ENV= PKG_PREFIX=${PREFIX} X X.include X Xdo-install: X @${MKDIR} ${FONTDIR} X @${INSTALL_DATA} ${WRKSRC}/minguni.ttf ${FONTDIR} X @${ECHO_MSG} "===> Running ttfm.sh" X -@${PREFIX}/bin/ttfm.sh --add xttfm minguni.ttf X @${ECHO_MSG} "===> Running fc-cache" X -@${X11BASE}/bin/fc-cache -f -v ${XFONTDIR} X X.include END-of-mingunittf/Makefile echo x - mingunittf/distinfo sed 's/^X//' >mingunittf/distinfo << 'END-of-mingunittf/distinfo' XMD5 (ming_uni.ttf.gz) = 336c9bc8944b34ba0e3eeb1f2999eb1f END-of-mingunittf/distinfo echo x - mingunittf/pkg-descr sed 's/^X//' >mingunittf/pkg-descr << 'END-of-mingunittf/pkg-descr' XThis port installs Chinese Big5HKSCS TrueType Mingti fonts. X XWWW: http://www.info.gov.hk/digital21/unicode/hkscs/reference_iso10646.html END-of-mingunittf/pkg-descr echo x - mingunittf/pkg-plist sed 's/^X//' >mingunittf/pkg-plist << 'END-of-mingunittf/pkg-plist' X@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/minguni.ttf || true Xshare/fonts/TrueType/minguni.ttf X@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/minguni.ttf || true X@unexec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true X@exec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true X@unexec rmdir %D/share/fonts/TrueType 2>/dev/null || true X@unexec rmdir %D/share/fonts 2>/dev/null || true END-of-mingunittf/pkg-plist exit