blob: 98561656dba4f199bd643c2cf3c2f22ec5f37fc7 (
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
71
72
73
74
75
76
77
78
79
80
81
82
|
# New ports collection makefile for: makejvf-fkr-1.0
# Date created: 6 Oct 1999
# Whom: Kentaro Inagaki <inagaki@tg.rim.or.jp>
#
# $FreeBSD$
#
PORTNAME= makejvf-fkr
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.tooyoo.l.u-tokyo.ac.jp/pub/TeX/ \
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/jvf/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= asami/LOCAL_PORTS
DISTNAME= makejvf-${PORTVERSION}-fkr
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
standard${EXTRACT_SUFX} nmin-ngoth${EXTRACT_SUFX} \
jis${EXTRACT_SUFX} morisawa${EXTRACT_SUFX}
MAINTAINER= inagaki@tg.rim.or.jp
COMMENT= Japanese Virtual Font file maker + TFM and VF
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
DIST_SUBDIR= makejvf
INSTALL_TARGET= install-all
BINARIES= makejvf makejvfh makejvfk
TEXMF= ${PREFIX}/share/texmf
MAKEJVF_DIR= ${PREFIX}/share/fonts/makejvf
MAP_DIR= ${TEXMF}/dvips/makejvf
PTEX_TFM_DIR= ${TEXMF}/fonts/tfm/makejvf
DVIPS_TFM_DIR= ${TEXMF}/fonts/tfm/makejvf
DVIPS_VF_DIR= ${TEXMF}/fonts/vf/makejvf
PTEX_TFM= standard nmin-ngoth jis morisawa
DOCS= README.1st README.txt test1.tex test2.tex kuten2jis jy1mch.fd
post-extract:
@for i in ${PTEX_TFM} ; do \
${TAR} -C ${WRKDIR}/ -zxf ${DISTDIR}/${DIST_SUBDIR}/$$i${EXTRACT_SUFX} ; \
done
.include <bsd.port.pre.mk>
post-install:
@${MKDIR} ${MAP_DIR}
@for i in ${PTEX_TFM} ; do \
${INSTALL_DATA} ${WRKDIR}/$$i/$$i.map \
${MAP_DIR}/ ; \
done
@${MKDIR} ${PTEX_TFM_DIR}/ptex
@for i in ${PTEX_TFM} ; do \
${INSTALL_DATA} ${WRKDIR}/$$i/tfm/ptex/* \
${PTEX_TFM_DIR}/ptex/ ; \
done
@${MKDIR} ${DVIPS_TFM_DIR}/dvips
@for i in ${PTEX_TFM} ; do \
${INSTALL_DATA} ${WRKDIR}/$$i/tfm/dvips/* \
${DVIPS_TFM_DIR}/dvips/ ; \
done
@${MKDIR} ${DVIPS_VF_DIR}
@for i in ${PTEX_TFM} ; do \
${INSTALL_DATA} ${WRKDIR}/$$i/vf/* \
${DVIPS_VF_DIR}/ ; \
done
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/makejvf-fkr
@for i in ${DOCS} ; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/makejvf-fkr ; \
done
.endif
.if exists(${PREFIX}/bin/mktexlsr)
@${PREFIX}/bin/mktexlsr
.endif
.include <bsd.port.post.mk>
|