1998-12-21 19:59:15 -05:00
|
|
|
# New ports collection makefile for: dvi2dvi
|
|
|
|
# Date created: 25 Dec 1997
|
|
|
|
# Whom: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
|
|
|
|
#
|
1999-08-25 01:28:01 -04:00
|
|
|
# $FreeBSD$
|
1998-12-21 19:59:15 -05:00
|
|
|
#
|
|
|
|
|
2000-04-11 10:15:53 -04:00
|
|
|
PORTNAME= dvi2dvi
|
|
|
|
PORTVERSION= 1.1
|
1998-12-21 19:59:15 -05:00
|
|
|
CATEGORIES= japanese print
|
1999-12-10 01:14:28 -05:00
|
|
|
MASTER_SITES= ftp://ftp.math.s.chiba-u.ac.jp/tex/ \
|
|
|
|
ftp://ftp.math.s.chiba-u.ac.jp/tex/tex/
|
2000-04-11 10:15:53 -04:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
web2c-7.2a.tar.gz
|
1998-12-21 19:59:15 -05:00
|
|
|
|
|
|
|
MAINTAINER= watanabe@zlab.phys.nagoya-u.ac.jp
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${PREFIX}/share/fonts/vf-n2a:${PORTSDIR}/japanese/vftool
|
|
|
|
|
1999-12-10 01:14:28 -05:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ENV+= kpathsea_parent=../${KPATHSEA_PARENT}
|
|
|
|
|
|
|
|
KPATHSEA_PARENT= web2c-7.2
|
|
|
|
|
1998-12-21 19:59:15 -05:00
|
|
|
post-extract:
|
|
|
|
@( cd ${WRKSRC} ; ${MAKE} newlib )
|
|
|
|
@${CP} ${FILESDIR}/fontdesc ${WRKSRC}/lib
|
|
|
|
|
1999-12-10 01:14:28 -05:00
|
|
|
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
|
1998-12-21 19:59:15 -05:00
|
|
|
@${CP} ${WRKSRC}/lib/$i ${WRKSRC}/lib/$i.orig
|
|
|
|
@${SED} -e 's,@PREFIX@,${PREFIX},g' \
|
|
|
|
${WRKSRC}/lib/$i.orig > ${WRKSRC}/lib/$i
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
post-install:
|
1999-12-10 01:14:28 -05:00
|
|
|
@${RM} ${WRKSRC}/lib/*.orig \
|
|
|
|
${WRKSRC}/lib/fonts/*.orig ${WRKSRC}/lib/fontsk/*.orig
|
1998-12-21 19:59:15 -05:00
|
|
|
@( 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>
|