aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chinese/CJK/Makefile7
-rw-r--r--chinese/CJK/pkg-plist1
-rw-r--r--print/latex-cjk/Makefile7
-rw-r--r--print/latex-cjk/pkg-plist1
4 files changed, 12 insertions, 4 deletions
diff --git a/chinese/CJK/Makefile b/chinese/CJK/Makefile
index 8ced3a0c052d..6bacdc4a12ee 100644
--- a/chinese/CJK/Makefile
+++ b/chinese/CJK/Makefile
@@ -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
diff --git a/chinese/CJK/pkg-plist b/chinese/CJK/pkg-plist
index a3283e443bde..756b9cedaa8d 100644
--- a/chinese/CJK/pkg-plist
+++ b/chinese/CJK/pkg-plist
@@ -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
diff --git a/print/latex-cjk/Makefile b/print/latex-cjk/Makefile
index 8ced3a0c052d..6bacdc4a12ee 100644
--- a/print/latex-cjk/Makefile
+++ b/print/latex-cjk/Makefile
@@ -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
diff --git a/print/latex-cjk/pkg-plist b/print/latex-cjk/pkg-plist
index a3283e443bde..756b9cedaa8d 100644
--- a/print/latex-cjk/pkg-plist
+++ b/print/latex-cjk/pkg-plist
@@ -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