aboutsummaryrefslogtreecommitdiffstats
path: root/print/latex-cjk/Makefile
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-10-04 22:54:30 +0800
committerkevlo <kevlo@FreeBSD.org>2000-10-04 22:54:30 +0800
commitdeabfe83e181a75b34e54703dd5621648dd4a386 (patch)
tree1b0ecada9e4b86d8de930dd5cb1bc3f97bf1ff9e /print/latex-cjk/Makefile
parent4bc2d6e2ffb068dabd0e8a66cbae91c9fe3353e5 (diff)
downloadfreebsd-ports-gnome-deabfe83e181a75b34e54703dd5621648dd4a386.tar.gz
freebsd-ports-gnome-deabfe83e181a75b34e54703dd5621648dd4a386.tar.zst
freebsd-ports-gnome-deabfe83e181a75b34e54703dd5621648dd4a386.zip
Update to the lastest version.
PR: 21733 Submitted by: MAINTAINER
Diffstat (limited to 'print/latex-cjk/Makefile')
-rw-r--r--print/latex-cjk/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/print/latex-cjk/Makefile b/print/latex-cjk/Makefile
index 37b667f88e2b..65b37cfcde34 100644
--- a/print/latex-cjk/Makefile
+++ b/print/latex-cjk/Makefile
@@ -9,7 +9,7 @@ PORTNAME= CJK
PORTVERSION= 4.3.0
CATEGORIES= chinese
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/
-DISTFILES= cjk-20000418.tar.gz
+DISTNAME= cjk-20001003
MAINTAINER= keith@freebsd.sinica.edu.tw
@@ -23,6 +23,7 @@ NO_PACKAGE= "Needs ttf2pk source from FreeType"
USE_GMAKE= yes
USE_FREETYPE= yes
WRKSRC= ${WRKDIR}/cjk-current
+ARPHICDIR= ${PREFIX}/share/texmf/fonts/truetype/arphic
post-install:
.if !defined(NOPORTDOCS)
@@ -31,8 +32,14 @@ post-install:
.endif
${RM} -fr ${PREFIX}/share/examples/CJK
${CP} -R ${WRKSRC}/examples ${PREFIX}/share/examples/CJK
+ @${MKDIR} ${ARPHICDIR} # Install Arphic fonts
+ @${LN} -s ${X11BASE}/lib/X11/fonts/TrueType/bkai00mp.ttf ${ARPHICDIR}/arb5_kai.ttf
+ @${LN} -s ${X11BASE}/lib/X11/fonts/TrueType/bsmi00lp.ttf ${ARPHICDIR}/arb5_sung.ttf
+ @${LN} -s ${X11BASE}/lib/X11/fonts/TrueType/gbsn00lp.ttf ${ARPHICDIR}/argb_sung.ttf
+ @${LN} -s ${X11BASE}/lib/X11/fonts/TrueType/gkai00mp.ttf ${ARPHICDIR}/argb_kai.ttf
+ @${LN} -s ttf2pk ${PREFIX}/share/texmf/ttf2tfm
MAN1= bg5conv.1 cef5conv.1 cefconv.1 cefsconv.1 extconv.1 \
- hbf2gf.1 sjisconv.1 thaiconv.1 ttf2pk.1 ttf2tfm.1
+ hbf2gf.1 sjisconv.1 ttf2pk.1 ttf2tfm.1
.include <bsd.port.mk>