diff options
author | ijliao <ijliao@FreeBSD.org> | 2004-09-03 23:53:09 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2004-09-03 23:53:09 +0800 |
commit | d757396dd14943fe760c55f7894f3e441e2e123f (patch) | |
tree | 258fd25258a9a9c9f2de880d79b9c08f752932ae /chinese/opendesktop-fonts/Makefile | |
parent | 6a11c3ca7a34c7263fd9ab73beedbbdfe6707de4 (diff) | |
download | freebsd-ports-gnome-d757396dd14943fe760c55f7894f3e441e2e123f.tar.gz freebsd-ports-gnome-d757396dd14943fe760c55f7894f3e441e2e123f.tar.zst freebsd-ports-gnome-d757396dd14943fe760c55f7894f3e441e2e123f.zip |
add fireflyttf 1.1.0
Firefly TrueType Font is combine of two arphic sung fonts
PR: 71332
Submitted by: statue <statue@freebsd.netlab.cse.yzu.edu.tw>
Diffstat (limited to 'chinese/opendesktop-fonts/Makefile')
-rw-r--r-- | chinese/opendesktop-fonts/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/chinese/opendesktop-fonts/Makefile b/chinese/opendesktop-fonts/Makefile new file mode 100644 index 000000000000..c04919190a81 --- /dev/null +++ b/chinese/opendesktop-fonts/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: firefly TrueType Font +# Date created: 2 Sep 2004 +# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= fireflyttf +PORTVERSION= 1.1.0 +CATEGORIES= chinese x11-fonts +MASTER_SITES= http://www.study-area.org/apt/firefly-font/ +DISTNAME= fireflysung.ttf +EXTRACT_SUFX= .gz + +MAINTAINER= statue@freebsd.sinica.edu.tw +COMMENT= Firefly TrueType Font is combine of two arphic sung fonts + +BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig \ + ttfm.sh:${PORTSDIR}/chinese/ttfm +RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig \ + ttfm.sh:${PORTSDIR}/chinese/ttfm + +NO_BUILD= yes +WRKSRC= ${WRKDIR} +USE_XLIB= yes +FONTDIR= ${PREFIX}/share/fonts/TrueType +XFONTDIR= ${X11BASE}/lib/X11/fonts/TrueType +EXTRACT_AFTER_ARGS= > ${DISTNAME} + +.include <bsd.port.pre.mk> + +do-install: + @${MKDIR} ${FONTDIR} + @${INSTALL_DATA} ${WRKSRC}/${DISTNAME} ${FONTDIR} + @${ECHO_MSG} "===> Running ttfm.sh" + -@${PREFIX}/bin/ttfm.sh --add xttfm ${DISTNAME} + @${ECHO_MSG} "===> Running fc-cache" + -@${X11BASE}/bin/fc-cache -f -v ${XFONTDIR} + ${INSTALL_DATA} ${FILESDIR}/local.conf-sung ${FONTDIR} + ${INSTALL_DATA} ${FILESDIR}/local.conf-sung ${X11BASE}/etc/fonts/local.conf + +.include <bsd.port.post.mk> |