blob: 024526da910142e9a780c3b6fd5fa384465bdb41 (
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
|
# New ports collection makefile for: texfamily-vfn2a
# Date created: 13 June 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= texfamily-vfn2a
PORTVERSION= 1.3
PORTREVISION= 4
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.math.s.chiba-u.ac.jp/tex/
DISTNAME= vftool-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Virtual fonts for NTT JTeX
BUILD_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
mktexlsr:${PORTSDIR}/print/teTeX-base \
${LOCALBASE}/${TEXMFDIR}/fonts/tfm/ptex/min10.tfm:${PORTSDIR}/japanese/ptex \
jtex:${PORTSDIR}/japanese/texfamily
RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
mktexlsr:${PORTSDIR}/print/teTeX-base \
${LOCALBASE}/${TEXMFDIR}/fonts/tfm/ptex/min10.tfm:${PORTSDIR}/japanese/ptex \
jtex:${PORTSDIR}/japanese/texfamily
MAKE_ENV= JTEXTFMDIR=${LOCALBASE}/${TEXMFLOCALDIR}/fonts/tfm/muling/nttsub \
PTEXTFMDIR=${LOCALBASE}/${TEXMFDIR}/fonts/tfm/ptex
TEXMFDIR= share/texmf
TEXMFLOCALDIR= share/texmf-local
TEXMFDISTDIR= share/texmf-dist
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCALDIR}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
FONTSDIR= ${TEXMFLOCALDIR}/fonts
PLIST_SUB= FONTSDIR=${FONTSDIR} \
MKTEXLSR=${MKTEXLSR}
.include <bsd.port.pre.mk>
do-install:
${MKDIR} ${PREFIX}/${FONTSDIR}/vf/n2a
${INSTALL_DATA} `${AWK} '/^%%FONTSDIR%%/ { gsub(/%%FONTSDIR%%/,"${WRKSRC}"); print }' < ${PLIST}` ${PREFIX}/${FONTSDIR}/vf/n2a
post-install:
${MKTEXLSR}
.include <bsd.port.post.mk>
|