Date: Sat, 29 Nov 2003 08:40:20 -0800 (PST) From: statue@freebsd.sinica.edu.tw (Statue) To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/59793: New port: chinese/mingunittf Message-ID: <200311291640.hATGeKml068818@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <statue@freebsd.sinica.edu.tw> 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 <bsd.port.pre.mk> 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 <bsd.port.post.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311291640.hATGeKml068818>