aboutsummaryrefslogtreecommitdiff
path: root/japanese/teTeX/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2004-06-18 16:02:47 +0000
committerHiroki Sato <hrs@FreeBSD.org>2004-06-18 16:02:47 +0000
commit2f417353f65b501cea554cd0aa6a659505b5a78c (patch)
tree7182ef13e5428f67930a0247238629cb2fcfa7b5 /japanese/teTeX/Makefile
parent4b21e01ad461b2cec23abcbbabb51a6d5dcd0c7f (diff)
Add japanese/teTeX, which is a meta-port to install Japanese
TeX related packages. Approved by: linimon (mentor)
Notes
Notes: svn path=/head/; revision=111739
Diffstat (limited to 'japanese/teTeX/Makefile')
-rw-r--r--japanese/teTeX/Makefile72
1 files changed, 72 insertions, 0 deletions
diff --git a/japanese/teTeX/Makefile b/japanese/teTeX/Makefile
new file mode 100644
index 000000000000..6d49ffe4a931
--- /dev/null
+++ b/japanese/teTeX/Makefile
@@ -0,0 +1,72 @@
+# New ports collection makefile for: teTeX
+# Date created: 3 June 2004
+# Whom: hrs
+#
+# $FreeBSD$
+
+PORTNAME= teTeX
+PORTVERSION= 1.0
+CATEGORIES= japanese print
+MASTER_SITES= # empty
+PKGNAMEPREFIX= ja-
+DISTFILES= # empty
+EXTRACT_ONLY= # empty
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= A meta port for teTeX suite for Japanese (including pTeX and JTeX)
+
+RUN_DEPENDS= ${TETEX_MODESW}:${PORTSDIR}/print/tex-texmflocal \
+ ${LOCALBASE}/share/texmf/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
+ tex:${PORTSDIR}/print/teTeX-base \
+ ptex:${PORTSDIR}/japanese/ptex-tetex \
+ dvips:${PORTSDIR}/japanese/dvipsk \
+ xdvi:${PORTSDIR}/japanese/xdvik-vflib \
+ jtex:${PORTSDIR}/japanese/texfamily \
+ #${JTEXVF}:${PORTSDIR}/japanese/texfamily-vfn2a
+
+CONFLICTS= dvips* xdvi* ptex-base*
+
+TETEX_MODESW= ${LOCALBASE}/bin/tetex-modesw
+JTEXVF= ${LOCALBASE}/share/texmf-local/fonts/vf/n2a/dmjsy5.vf
+
+PKGINSTALL= ${WRKDIR}/pkg-install.sh
+PKGDEINSTALL= ${WRKDIR}/pkg-install.sh
+PKGINSTALL_SUB= TETEX_MODESW=${TETEX_MODESW} \
+ MODE=${DEFAULT_MODE}
+
+# XXX: We always build in batch mode to disable OPTIONS
+# in print/teTeX-base.
+DEPENDS_ARGS+= BATCH=yes
+
+#OPTIONS= LETTERSIZE "Use letter size by default" off
+
+.include <bsd.port.pre.mk>
+
+#.if defined(WITH_LETTERSIZE)
+#FLAVOR+= letter
+#DEPENDS_ARGS+= WITH_LETTERSIZE=true
+#DEFAULT_MODE= tetex-letter
+#.else
+DEFAULT_MODE= ptex-tetex
+#.endif
+
+# XXX: this does not work
+#.if defined(FLAVOR)
+#PKGNAMESUFFIX= ${FLAVOR:S,^,-,:Q:S,\\ ,,g:S,\\-,-,g}
+#.endif
+
+do-configure:
+ ${SED} ${PKGINSTALL_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
+ < ${FILESDIR}/pkg-install.in > ${PKGINSTALL}
+ ${CHMOD} 0755 ${PKGINSTALL}
+
+do-build:
+ @${DO_NADA}
+
+do-install: #emtpy
+ @${DO_NADA}
+
+post-install:
+ @${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.post.mk>