diff options
author | rafan <rafan@FreeBSD.org> | 2007-01-01 03:10:39 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-01-01 03:10:39 +0800 |
commit | 70301ea4817bb5d82beabdbedda54d44a616a618 (patch) | |
tree | d2bbd10be2bc2f24ea7e5d67d40033f8df0e0377 /chinese | |
parent | 21fc8dc24bf6e68d7e5371df5c230b938c2e0225 (diff) | |
download | freebsd-ports-gnome-70301ea4817bb5d82beabdbedda54d44a616a618.tar.gz freebsd-ports-gnome-70301ea4817bb5d82beabdbedda54d44a616a618.tar.zst freebsd-ports-gnome-70301ea4817bb5d82beabdbedda54d44a616a618.zip |
- 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.
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/CJK/Makefile | 7 | ||||
-rw-r--r-- | chinese/CJK/pkg-plist | 1 |
2 files changed, 6 insertions, 2 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 |