blob: 5e2f56fb348b0fc140399004c38cd10f643ddc13 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# New ports collection makefile for: teTeX
# Date created: 3 June 2004
# Whom: hrs
#
# $FreeBSD$
PORTNAME= teTeX
PORTVERSION= 1.1
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 \
jtex:${PORTSDIR}/japanese/texfamily \
${JTEXVF}:${PORTSDIR}/japanese/texfamily-vfn2a
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>
|