blob: b9f3690a8e59028eb218bf42e8c6e2abe0c6041c (
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
|
# New ports collection makefile for: dvi2dvi
# Date created: 25 Dec 1997
# Whom: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
#
# $FreeBSD$
#
PORTNAME= dvi2dvi
PORTVERSION= 1.1
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.math.s.chiba-u.ac.jp/tex/ \
ftp://ftp.math.s.chiba-u.ac.jp/tex/tex/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
web2c-7.2a.tar.gz
MAINTAINER= watanabe@zlab.phys.nagoya-u.ac.jp
RUN_DEPENDS= ${PREFIX}/share/fonts/vf-n2a:${PORTSDIR}/japanese/vftool
USE_GMAKE= yes
MAKE_ENV+= kpathsea_parent=../${KPATHSEA_PARENT}
KPATHSEA_PARENT= web2c-7.2
post-extract:
@( cd ${WRKSRC} ; ${MAKE} newlib )
@${CP} ${FILESDIR}/fontdesc ${WRKSRC}/lib
pre-configure:
@( cd ${WRKDIR}/${KPATHSEA_PARENT}/kpathsea ; \
./configure --prefix=${PREFIX} )
pre-build:
@( cd ${WRKDIR}/${KPATHSEA_PARENT}/kpathsea ; ${GMAKE} )
pre-install:
.for i in config configk fonts/p2n fontsk/p2n
@${CP} ${WRKSRC}/lib/$i ${WRKSRC}/lib/$i.orig
@${SED} -e 's,@PREFIX@,${PREFIX},g' \
${WRKSRC}/lib/$i.orig > ${WRKSRC}/lib/$i
.endfor
post-install:
@${RM} ${WRKSRC}/lib/*.orig \
${WRKSRC}/lib/fonts/*.orig ${WRKSRC}/lib/fontsk/*.orig
@( cd ${WRKSRC} ; ${MAKE} PREFIX=${PREFIX} install-lib )
@${MKDIR} -m 777 ${PREFIX}/share/fonts/vf-rot
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/dvi2dvi
@${INSTALL_DATA} ${WRKSRC}/doc/*.doc ${PREFIX}/share/doc/dvi2dvi
.endif
.include <bsd.port.mk>
|