aboutsummaryrefslogtreecommitdiff
path: root/japanese/vftool/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-08-09 00:58:49 +0000
committerSteve Price <steve@FreeBSD.org>1998-08-09 00:58:49 +0000
commit6ea91063806935365cc2716053985a5f84392f79 (patch)
tree4049e8d895eb416c04a8ad18968efd4fc8c3c45d /japanese/vftool/Makefile
parente2bb7c1fedaaddec8cc47bed6ba23d497f763780 (diff)
downloadports-6ea91063806935365cc2716053985a5f84392f79.tar.gz
ports-6ea91063806935365cc2716053985a5f84392f79.zip
Notes
Diffstat (limited to 'japanese/vftool/Makefile')
-rw-r--r--japanese/vftool/Makefile54
1 files changed, 27 insertions, 27 deletions
diff --git a/japanese/vftool/Makefile b/japanese/vftool/Makefile
index 6cb52f2bcba4..6ebb146432c1 100644
--- a/japanese/vftool/Makefile
+++ b/japanese/vftool/Makefile
@@ -1,48 +1,50 @@
-# New ports collection makefile for: virtual fonts tools
+# New ports collection makefile for: virtual fonts tools(n2a,a2n,a2bk,p2pn)
# Version required: 1.2
# Date created: 12 September 1997
# Whom: KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
-# $Id: Makefile,v 1.3 1998/03/22 07:58:44 asami Exp $
+# $Id: Makefile,v 1.4 1998/07/20 03:15:17 steve Exp $
#
DISTNAME= vftool-1.2
PKGNAME= ja-vftool-1.2
CATEGORIES= print japanese
-MASTER_SITES= ftp://ftp.math.s.chiba-u.ac.jp/tex/
+MASTER_SITES= ftp://ftp.math.s.chiba-u.ac.jp/tex/ \
+ ftp://bash.cc.keio.ac.jp/pub/TeX/ASCII/ \
+ ftp://ftp.iis.u-tokyo.ac.jp/TeX/NTT-JTeX/:old/ \
+ ftp://ftp.iis.u-tokyo.ac.jp/TeX/fonts/pk/ \
+ ftp://ftp.waseda.ac.jp/pub/tex/ascii-OLD/
+DISTFILES= vftool-1.2.tar.gz plib13-euc.tar.gz jtex-1.52.tar.gz
MAINTAINER= kiri@kiri.toba-cmt.ac.jp
-BUILD_DEPENDS= ${JFMDIR}/goth10.tfm:${PORTSDIR}/japanese/ptex-${JACODE} \
- ${AFMDIR}/GothicBBB-Medium-H:${PORTSDIR}/japanese/japaneseAFM \
- ${GOTTFMDIR}/dgjgreek10.tfm:${PORTSDIR}/japanese/jtex209-${JTEX} \
- ${PKDIR}/dmjsy10.${RESOLUTION}pk:${PORTSDIR}/japanese/pkfonts
+BUILD_DEPENDS= ${AFMDIR}/GothicBBB-Medium-H:${PORTSDIR}/japanese/japaneseAFM
-ALL_TARGET= n2a a2n a2bk p2pn tjsy tjsypk rot
-SCRIPTS_ENV= SED=${SED} \
- PKDIR=${PKDIR} WRKSRC=${WRKSRC} \
- AFMDIR=${AFMDIR} GOTTFMDIR=${GOTTFMDIR} \
- JFMDIR=${JFMDIR} MINTFMDIR=${MINTFMDIR}
-MAKE_ENV= AFM=${AFMDIR} GOTTFM=${GOTTFMDIR} JFM=${JFMDIR} \
- MINTFM=${MINTFMDIR} PK=${PKDIR}
+EXTRACT_ONLY= vftool-1.2.tar.gz
+
+ALL_TARGET= n2a a2n a2bk p2pn
+SCRIPTS_ENV= MV=${MV} SED=${SED} AFMDIR=${AFMDIR} JFMDIR=${JFMDIR}
+MAKE_ENV= AFM=${AFMDIR} JFM=${JFMDIR}
AFMDIR= ${PREFIX}/share/fonts/afm
FONTSDIR= ${PREFIX}/share/fonts
-GOTTFMDIR= ${PREFIX}/share/tex/jfonts/gothic
-JFMDIR= ${PREFIX}/share/texmf/fonts/tfm/ptex
-MINTFMDIR= ${PREFIX}/share/tex/jfonts/mincho
-PKDIR= ${PREFIX}/lib/fonts/pk${RESOLUTION}J
+JFMDIR= ${WRKDIR}/share/texmf/fonts/tfm/ptex
PORTSDOCDIR= ${PREFIX}/share/doc/vftool
-TARGETDIRS= vf-n2a vf-a2n vf-a2bk vf-p2pn vf-tjsy pk-tjsy
-
-pre-configure:
- @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.tmpl
+TARGETDIRS= vf-n2a vf-a2n vf-a2bk vf-p2pn
+
+post-extract:
+ (cd ${WRKDIR}; \
+ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/plib13-euc.tar.gz \
+ share/texmf/fonts/tfm/ptex; \
+ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/jtex-1.52.tar.gz \
+ jtex-1.52/JTeXfonts/dnpfonts/mincho/tfm \
+ jtex-1.52/JTeXfonts/dnpfonts/gothic/tfm; \
+ )
do-install:
@(cd ${FONTSDIR}; ${MKDIR} ${TARGETDIRS})
@(cd ${WRKSRC}; \
- ${INSTALL_PROGRAM} mka2bkvf mka2nvf mkn2avf mkp2nvf mktjsyvf \
- mktjsygf mkrotvf mkrotgf ${PREFIX}/bin; \
+ ${INSTALL_PROGRAM} mka2bkvf mka2nvf mkn2avf mkp2nvf ${PREFIX}/bin; \
)
.for t in ${TARGETDIRS}
@${INSTALL_DATA} ${WRKSRC}/${t}/* ${FONTSDIR}/${t}
@@ -51,11 +53,9 @@ do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PORTSDOCDIR}
@(cd ${WRKSRC}; \
- ${INSTALL_SCRIPT} MKASC2BKall MKASC2NTT MKNTT2ASC MKPTEX2PNTT \
- MKTJSY MKTJSYPK ${PORTSDOCDIR}; \
+ ${INSTALL_SCRIPT} MKASC2BKall MKASC2NTT MKNTT2ASC MKPTEX2PNTT ${PORTSDOCDIR}; \
${INSTALL_DATA} Makefile README vfdata.doc ${PORTSDOCDIR}; \
)
.endif
-.include "${.CURDIR}/Makefile.inc"
.include <bsd.port.mk>