diff options
Diffstat (limited to 'print/latex-cjk/Makefile')
-rw-r--r-- | print/latex-cjk/Makefile | 74 |
1 files changed, 35 insertions, 39 deletions
diff --git a/print/latex-cjk/Makefile b/print/latex-cjk/Makefile index 92bfe5504c57..c4bb9b99507c 100644 --- a/print/latex-cjk/Makefile +++ b/print/latex-cjk/Makefile @@ -1,54 +1,50 @@ # New ports collection makefile for: zh-CJK -# Version required: 4.1.3 -# Date created: 17 June 1998 -# Whom: J.T. Jang (keith@email.gcn.net.tw) +# Version required: 4.2.0 +# Date created: 1 March 1999 +# Whom: J.T. Jang (jtjang@gcn.net.tw) # -# $Id: Makefile,v 1.3 1998/10/15 21:25:10 jseger Exp $ +# $Id$ # -DISTNAME= CJK-4.1.3.src -PKGNAME= zh-CJK-4.1.3 +DISTNAME= zh-CJK-4.2.0 CATEGORIES= chinese -MASTER_SITES= ftp://ftp.edu.tw/Chinese/ifcss/software/tex/ \ - ftp://ntcuccca.edu.tw/Chinese/ifcss/software/tex/ \ - ftp://ftp.ifcss.org/pub/software/tex/ +# Only the first three sites in MASTER_SITE_TEX_CTAN support compressing +# on-the-fly. Then try my homepage. Go to CTAN if all fails. +MASTER_SITES= ftp://ftp.funet.fi/pub/TeX/CTAN/language/chinese/ \ + ftp://ftp.tex.ac.uk/tex-archive/language/chinese/ \ + ftp://ftp.dante.de/tex-archive/language/chinese/ \ + http://member.gcn.net.tw/jtjang/ \ + ftp://ftp.ctan.org/tex-archive/language/chinese/ +MASTER_SITE_SUBDIR= language/chinese +DISTFILES= CJK.tar.gz -MAINTAINER= keith@email.gcn.net.tw +MAINTAINER= jtjang@gcn.net.tw -BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX -RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX +BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX-beta +LIB_DEPENDS= ttf.3:${PORTSDIR}/print/freetype +RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-beta + +IGNOREFILES= CJK.tar.gz +NO_PACKAGE= Interactive USE_GMAKE= yes -WRKSRC= ${WRKDIR}/CJK - -.if defined $(USE_NTUTTF) -MASTER_SITES+= ftp://ftp.edu.tw/Chinese/ifcss/software/fonts/big5/ms-win/ \ - ftp://ntcuccca.edu.tw/Chinese/ifcss/software/fonts/big5/ms-win/ \ - ftp://ftp.ifcss.org/pub/software/software/fonts/big5/ms-win/ -DISTFILES+= ntu_kai.a01 ntu_kai.a02 ntu_kai.a03 ntu_kai.arj -BUILD_DEPENDS+= unarj:${PORTSDIR}/archivers/unarj -EXTRACT_ONLY= CJK-4.1.3.src.tar.gz +WRKSRC= ${WRKDIR}/CJK/4_2.0 + +.if !defined $(NOTTF) +MASTER_SITES+= ftp://linux.cis.nctu.edu.tw/packages/chinese/fonts/twmoefont/ttf/ \ + ftp://axp350.ncu.edu.tw/OS/Linux/Chinese/fonts/twmoefont/ttf/ \ + ftp://ftp.nsysu.edu.tw/Linux/packages/chinese/fonts/twmoefont/ttf/ +DISTFILES+= moe_kai.ttf moe_sung.ttf +EXTRACT_ONLY= CJK.tar.gz .endif -pre-fetch: - @echo - @echo You can use \"$(MAKE) USE_NTUTTF=YES\" to install - @echo NTU truetype fonts, aka. ntu_kai.ttf as default. - @echo - -pre-install: - @echo - @echo You can use \"$(MAKE) test-teTeX-patch\" to test whether - @echo this patch actually applies cleanly on your teTeX system. - @echo "(It doesn't modify any existing files.)" - @echo - post-install: - @${SETENV} PREFIX=${PREFIX} ${SH} ${FILESDIR}/install-note - -test-teTeX-patch: patch - (cd $(WRKSRC); $(GMAKE) test-teTeX-patch) +.if !defined(NOPORTDOCS) + ${CP} -R ${WRKSRC}/doc ${PREFIX}/share/doc/CJK + ${CP} -R ${WRKSRC}/examples ${PREFIX}/share/examples/CJK +.endif -MAN1= hbf2gf.1 bg5conv.1 ttf2pk.1 +MAN1= bg5conv.1 cef5conv.1 cefconv.1 cefsconv.1 hbf2gf.1 \ + sjisconv.1 thaiconv.1 ttf2pk.1 ttf2tfm.1 .include <bsd.port.mk> |