aboutsummaryrefslogtreecommitdiffstats
path: root/print/latex-cjk/Makefile
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>1998-10-08 23:37:34 +0800
committervanilla <vanilla@FreeBSD.org>1998-10-08 23:37:34 +0800
commit2c25b94f1b921daac4d26a8c758d1e15daabe88d (patch)
tree78c34c2919e0927c105c9f4e5f10110be2605781 /print/latex-cjk/Makefile
parent1b5e51b4a18b535b7f048d031fcd8bfe2439bbcb (diff)
downloadfreebsd-ports-gnome-2c25b94f1b921daac4d26a8c758d1e15daabe88d.tar.gz
freebsd-ports-gnome-2c25b94f1b921daac4d26a8c758d1e15daabe88d.tar.zst
freebsd-ports-gnome-2c25b94f1b921daac4d26a8c758d1e15daabe88d.zip
Chinese/Japanese/Korean support to LaTeX2e/teTeX
PR: ports/6954 Submitted by: J.T. Jang <keith@email.gcn.net.tw>
Diffstat (limited to 'print/latex-cjk/Makefile')
-rw-r--r--print/latex-cjk/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/print/latex-cjk/Makefile b/print/latex-cjk/Makefile
new file mode 100644
index 000000000000..1386d19c9782
--- /dev/null
+++ b/print/latex-cjk/Makefile
@@ -0,0 +1,56 @@
+# 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)
+#
+# $Id$
+#
+
+DISTNAME= CJK-4.1.3.src
+PKGNAME= zh-CJK-4.1.3
+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/ \
+ ${MASTER_SITE_TEX_CTAN}
+MASTER_SITE_SUBDIR= language/chinese
+
+MAINTAINER= keith@email.gcn.net.tw
+
+BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
+
+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
+.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)
+
+MAN1= hbf2gf.1 bg5conv.1 ttf2pk.1
+
+.include <bsd.port.mk>