diff options
Diffstat (limited to 'chinese/CJK/Makefile')
-rw-r--r-- | chinese/CJK/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chinese/CJK/Makefile b/chinese/CJK/Makefile index 8ced3a0c052..6bacdc4a12e 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 |