1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Be compatible with Debian's font famliy name for

latex-cjk-chinese-arphic-bkai00mp 1.15+. They use bkai instead of kai.
  Make both name available.
This commit is contained in:
Rong-En Fan 2006-12-31 19:10:39 +00:00
parent 56944f619b
commit e3ac5fc3e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181173
4 changed files with 12 additions and 4 deletions

View File

@ -64,11 +64,14 @@ PLIST_SUB+= UTF8ARPHIC=""
PLIST_SUB+= UTF8ARPHIC="@comment "
.endif
pre-patch:
post-extract:
@${RM} -f ${WRKSRC}/Makefile
post-patch:
@${FIND} ${WRKSRC}/texinput -name \*.orig -delete
# be compatible with Debian
@${CP} -p ${WRKSRC}/texinput/Bg5/c00kai.fd ${WRKSRC}/texinput/Bg5/c00bkai.fd
@${REINPLACE_CMD} -e 's,c00kai.fd,c00bkai.fd,; s,{kai},{bkai},' ${WRKSRC}/texinput/Bg5/c00bkai.fd
@${FIND} -E ${WRKSRC} -regex '.*.(orig|bak)' -delete
pre-install:
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

View File

@ -1621,6 +1621,7 @@ share/texmf/tex/latex/CJK/Bg5/Bg5.chr
share/texmf/tex/latex/CJK/Bg5/Bg5.cpx
share/texmf/tex/latex/CJK/Bg5/Bg5.enc
share/texmf/tex/latex/CJK/Bg5/HK.enc
share/texmf/tex/latex/CJK/Bg5/c00bkai.fd
share/texmf/tex/latex/CJK/Bg5/c00bkai.fdx
share/texmf/tex/latex/CJK/Bg5/c00bsmi.fd
share/texmf/tex/latex/CJK/Bg5/c00bsmi.fdx

View File

@ -64,11 +64,14 @@ PLIST_SUB+= UTF8ARPHIC=""
PLIST_SUB+= UTF8ARPHIC="@comment "
.endif
pre-patch:
post-extract:
@${RM} -f ${WRKSRC}/Makefile
post-patch:
@${FIND} ${WRKSRC}/texinput -name \*.orig -delete
# be compatible with Debian
@${CP} -p ${WRKSRC}/texinput/Bg5/c00kai.fd ${WRKSRC}/texinput/Bg5/c00bkai.fd
@${REINPLACE_CMD} -e 's,c00kai.fd,c00bkai.fd,; s,{kai},{bkai},' ${WRKSRC}/texinput/Bg5/c00bkai.fd
@${FIND} -E ${WRKSRC} -regex '.*.(orig|bak)' -delete
pre-install:
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

View File

@ -1621,6 +1621,7 @@ share/texmf/tex/latex/CJK/Bg5/Bg5.chr
share/texmf/tex/latex/CJK/Bg5/Bg5.cpx
share/texmf/tex/latex/CJK/Bg5/Bg5.enc
share/texmf/tex/latex/CJK/Bg5/HK.enc
share/texmf/tex/latex/CJK/Bg5/c00bkai.fd
share/texmf/tex/latex/CJK/Bg5/c00bkai.fdx
share/texmf/tex/latex/CJK/Bg5/c00bsmi.fd
share/texmf/tex/latex/CJK/Bg5/c00bsmi.fdx