25fe59a33e
A big Thank You to the original contributors of these ports: * <intron@intron.ac> * Bo-Yi Wu <appleboy.tw@gmail.com> * Chih-Hsin Chang <chihhsin@cs.nctu.edu.tw> * Ching-Hong Wu <woju@freebsd.ntu.edu.tw> * David O'Brien (obrien@FreeBSD.org) * David O'Brien (obrien@cs.ucdavis.edu) * Eric L. Camachat <eric@camachat.org> * Foxfair Hu <foxfair@FreeBSD.org> * G. Adam Stanislav <adam@whizkidtech.net> * Gasol Wu <gasol.wu@gmail.com> * Gea-Suan Lin <gslin@gslin.org> * Henry Hu <henry.hu.sh@gmail.com> * Jie Gao <gaoj@cpsc.ucalgary.ca> * Jing-Tang Keith Jang <keith@FreeBSD.org> * Joe Horn <joehorn@gmail.com> * Ka Ho Ng <khng300@gmail.com> * Kuang-che Wu <kcwu@csie.org> * Michael C . Wu <keichii@iteration.net> * Michael C. Wu * Ming-I Hseh <PA@FreeBSD.Ntu.edu.TW> * Rong-En Fan <rafan@FreeBSD.org> * Satoshi TAOKA <taoka@FreeBSD.org> * Shell Hung <shell@shellhung.org> * Shen Chuan-Hsing * Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Yen-Ming Lee <leeym@FreeBSD.org> * Yen-Shuo Su <yssu@CCCA.NCTU.edu.tw> * Yin-Jieh Chen <yinjieh@csie.nctu.edu.tw> * Yinghong Liu <relaxbsd@gmail.com> * Zhang Shu * Zhihao Yuan <lichray@gmail.com> * blubee <hello@blubee.me> * buganini@gmail.com * chinsan * chinsan <chinsan.tw@gmail.com> * clive * clsung * clsung@dragon2.net * gugod@gugod.org * hrs * ijliao * vanilla@ With hat: portmgr
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
PORTNAME= moettf
|
|
PORTVERSION= 2.0
|
|
PORTREVISION= 7
|
|
CATEGORIES= chinese x11-fonts
|
|
MASTER_SITES= LOCAL/marino/zh-moettf
|
|
DISTFILES= edustds1.exe edustds2.exe edustd-15.exe \
|
|
kai-pc.ttf moe_kai.ttf moe_sung.ttf
|
|
DIST_SUBDIR= zh-moettf
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Three Chinese BIG5 TrueType fonts: Kai LiShu Sung SungExt
|
|
|
|
# Converted from NO_CDROM
|
|
LICENSE= MOETTF
|
|
LICENSE_NAME= moettf
|
|
LICENSE_TEXT= Contact Ministry of Education of Taiwan for commercial use
|
|
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
|
|
|
|
EXTRACT_DEPENDS= unrar:archivers/unrar
|
|
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
TTF_DEFAULT= moe_sung.ttf
|
|
TTF_DEFAULTKAI= moe_kai.ttf
|
|
EXE_TTF= moe_lishu.ttf moe_sungext.ttf moe_sungsym.ttf
|
|
REG_TTF= kai-pc.ttf moe_kai.ttf moe_sung.ttf
|
|
TTF= ${EXE_TTF} ${REG_TTF}
|
|
|
|
do-extract:
|
|
@${MKDIR} ${WRKSRC}
|
|
@unrar x ${DISTDIR}/${DIST_SUBDIR}/edustd-15.exe ${WRKSRC}
|
|
@unrar x ${DISTDIR}/${DIST_SUBDIR}/edustds1.exe ${WRKSRC}
|
|
@unrar x ${DISTDIR}/${DIST_SUBDIR}/edustds2.exe ${WRKSRC}
|
|
@(cd ${WRKSRC}; \
|
|
${MV} Edustd-15.TTF moe_lishu.ttf ; \
|
|
${MV} edustds1.ttf moe_sungext.ttf ; \
|
|
${MV} edustds2.ttf moe_sungsym.ttf )
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${FONTSDIR}
|
|
.for ttf in ${EXE_TTF}
|
|
${INSTALL_DATA} ${WRKSRC}/${ttf} ${STAGEDIR}${FONTSDIR}/${ttf}
|
|
.endfor
|
|
.for ttf in ${REG_TTF}
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${ttf} \
|
|
${STAGEDIR}${FONTSDIR}/${ttf}
|
|
.endfor
|
|
|
|
.include "${.CURDIR}/../ttfm/Makefile.ttf"
|
|
.include <bsd.port.mk>
|