aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/dvi2dvi/Makefile
diff options
context:
space:
mode:
authorimura <imura@FreeBSD.org>1999-12-10 14:14:28 +0800
committerimura <imura@FreeBSD.org>1999-12-10 14:14:28 +0800
commit8fa3f8ce47a9ee0fc8e4ba2093437d5812110e3d (patch)
tree9d3a7c6a6b471f01a902514e0a09e488bbc48be9 /japanese/dvi2dvi/Makefile
parentc976ed38e517d3646bd3ee999ec068bbc836445a (diff)
downloadfreebsd-ports-gnome-8fa3f8ce47a9ee0fc8e4ba2093437d5812110e3d.tar.gz
freebsd-ports-gnome-8fa3f8ce47a9ee0fc8e4ba2093437d5812110e3d.tar.zst
freebsd-ports-gnome-8fa3f8ce47a9ee0fc8e4ba2093437d5812110e3d.zip
Update to version 1.1
PR: 15171 Submitted by: Maintainer
Diffstat (limited to 'japanese/dvi2dvi/Makefile')
-rw-r--r--japanese/dvi2dvi/Makefile29
1 files changed, 22 insertions, 7 deletions
diff --git a/japanese/dvi2dvi/Makefile b/japanese/dvi2dvi/Makefile
index 49c0099f5c1c..c26c28bb011a 100644
--- a/japanese/dvi2dvi/Makefile
+++ b/japanese/dvi2dvi/Makefile
@@ -1,33 +1,48 @@
# New ports collection makefile for: dvi2dvi
-# Version required: 1.0
+# Version required: 1.1
# Date created: 25 Dec 1997
# Whom: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
#
# $FreeBSD$
#
-DISTNAME= dvi2dvi-1.0
-PKGNAME= ja-dvi2dvi-1.0
+DISTNAME= dvi2dvi-1.1
+PKGNAME= ja-dvi2dvi-1.1
CATEGORIES= japanese print
-MASTER_SITES= ftp://ftp.math.s.chiba-u.ac.jp/tex/
+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${EXTRACT_SUFX}
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
-post-patch:
-.for i in config p2n
+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
+ @${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)