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>
This commit is contained in:
parent
1d96839a69
commit
b042ef045e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118043
@ -40,6 +40,7 @@
|
||||
SUBDIR += eterm
|
||||
SUBDIR += fcitx
|
||||
SUBDIR += firebird
|
||||
SUBDIR += fireflyttf
|
||||
SUBDIR += fortunetw
|
||||
SUBDIR += gb2jis
|
||||
SUBDIR += gb2ps
|
||||
|
42
chinese/fireflyttf/Makefile
Normal file
42
chinese/fireflyttf/Makefile
Normal file
@ -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>
|
2
chinese/fireflyttf/distinfo
Normal file
2
chinese/fireflyttf/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (fireflysung.ttf.gz) = 7b443608f2024567d631ab831b26f6a5
|
||||
SIZE (fireflysung.ttf.gz) = 7529763
|
47
chinese/fireflyttf/files/local.conf-sung
Normal file
47
chinese/fireflyttf/files/local.conf-sung
Normal file
@ -0,0 +1,47 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Firefly Truetype Font -->
|
||||
<match target="font">
|
||||
<test name="family"><string>AR PL New Sung</string></test>
|
||||
<edit name="antialias"><bool>true</bool></edit>
|
||||
<edit name="hinting"><bool>true</bool></edit>
|
||||
<edit name="autohint"><bool>false</bool></edit>
|
||||
</match>
|
||||
|
||||
<match target="font">
|
||||
<test name="family"><string>AR PL New Sung</string></test>
|
||||
<test name="size" compare="less_eq"><int>16</int></test>
|
||||
<edit name="antialias" mode="assign"><bool>false</bool></edit>
|
||||
<edit name="hinting" mode="assign"><bool>true</bool></edit>
|
||||
</match>
|
||||
|
||||
<match target="font">
|
||||
<test name="family"><string>AR PL New Sung</string></test>
|
||||
<edit name="globaladvance"><bool>false</bool></edit>
|
||||
</match>
|
||||
<!-- end Firefly Truetype Font -->
|
||||
|
||||
<!-- x11-fonts/bitstream-vera -->
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>Bitstream Vera Serif</family>
|
||||
<family>AR PL New Sung</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Bitstream Vera Sans</family>
|
||||
<family>AR PL New Sung</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Bitstream Vera Sans Mono</family>
|
||||
<family>AR PL New Sung</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
4
chinese/fireflyttf/pkg-descr
Normal file
4
chinese/fireflyttf/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Firefly Truetype Font is combine of two arphic sung font and is embed
|
||||
9pt, 10pt, 11pt bitmaps.
|
||||
|
||||
WWW: http://www.study-area.org/apt/firefly-font/
|
10
chinese/fireflyttf/pkg-plist
Normal file
10
chinese/fireflyttf/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
@unexec if cmp -s %%X11BASE%%/etc/fonts/local.conf %D/share/fonts/TrueType/local.conf-sung; then rm -f %%X11BASE%%/etc/fonts/local.conf; fi
|
||||
share/fonts/TrueType/local.conf-sung
|
||||
@exec cp %D/share/fonts/TrueType/local.conf-sung %%X11BASE%%/etc/fonts/local.conf
|
||||
@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/fireflysung.ttf || true
|
||||
share/fonts/TrueType/fireflysung.ttf
|
||||
@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/fireflysung.ttf || true
|
||||
@unexec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true
|
||||
@exec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true
|
||||
@unexec rmdir %D/share/fonts/TrueType 2>/dev/null || true
|
||||
@unexec rmdir %D/share/fonts 2>/dev/null || true
|
42
chinese/opendesktop-fonts/Makefile
Normal file
42
chinese/opendesktop-fonts/Makefile
Normal file
@ -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>
|
2
chinese/opendesktop-fonts/distinfo
Normal file
2
chinese/opendesktop-fonts/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (fireflysung.ttf.gz) = 7b443608f2024567d631ab831b26f6a5
|
||||
SIZE (fireflysung.ttf.gz) = 7529763
|
47
chinese/opendesktop-fonts/files/local.conf-sung
Normal file
47
chinese/opendesktop-fonts/files/local.conf-sung
Normal file
@ -0,0 +1,47 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Firefly Truetype Font -->
|
||||
<match target="font">
|
||||
<test name="family"><string>AR PL New Sung</string></test>
|
||||
<edit name="antialias"><bool>true</bool></edit>
|
||||
<edit name="hinting"><bool>true</bool></edit>
|
||||
<edit name="autohint"><bool>false</bool></edit>
|
||||
</match>
|
||||
|
||||
<match target="font">
|
||||
<test name="family"><string>AR PL New Sung</string></test>
|
||||
<test name="size" compare="less_eq"><int>16</int></test>
|
||||
<edit name="antialias" mode="assign"><bool>false</bool></edit>
|
||||
<edit name="hinting" mode="assign"><bool>true</bool></edit>
|
||||
</match>
|
||||
|
||||
<match target="font">
|
||||
<test name="family"><string>AR PL New Sung</string></test>
|
||||
<edit name="globaladvance"><bool>false</bool></edit>
|
||||
</match>
|
||||
<!-- end Firefly Truetype Font -->
|
||||
|
||||
<!-- x11-fonts/bitstream-vera -->
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>Bitstream Vera Serif</family>
|
||||
<family>AR PL New Sung</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Bitstream Vera Sans</family>
|
||||
<family>AR PL New Sung</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Bitstream Vera Sans Mono</family>
|
||||
<family>AR PL New Sung</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
4
chinese/opendesktop-fonts/pkg-descr
Normal file
4
chinese/opendesktop-fonts/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Firefly Truetype Font is combine of two arphic sung font and is embed
|
||||
9pt, 10pt, 11pt bitmaps.
|
||||
|
||||
WWW: http://www.study-area.org/apt/firefly-font/
|
10
chinese/opendesktop-fonts/pkg-plist
Normal file
10
chinese/opendesktop-fonts/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
@unexec if cmp -s %%X11BASE%%/etc/fonts/local.conf %D/share/fonts/TrueType/local.conf-sung; then rm -f %%X11BASE%%/etc/fonts/local.conf; fi
|
||||
share/fonts/TrueType/local.conf-sung
|
||||
@exec cp %D/share/fonts/TrueType/local.conf-sung %%X11BASE%%/etc/fonts/local.conf
|
||||
@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/fireflysung.ttf || true
|
||||
share/fonts/TrueType/fireflysung.ttf
|
||||
@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/fireflysung.ttf || true
|
||||
@unexec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true
|
||||
@exec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true
|
||||
@unexec rmdir %D/share/fonts/TrueType 2>/dev/null || true
|
||||
@unexec rmdir %D/share/fonts 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user