1998-08-09 00:58:49 +00:00
|
|
|
# New ports collection makefile for: virtual fonts tools(n2a,a2n,a2bk,p2pn)
|
1998-02-28 05:19:01 +00:00
|
|
|
# Version required: 1.2
|
|
|
|
# Date created: 12 September 1997
|
|
|
|
# Whom: KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
|
|
|
|
#
|
1999-02-03 11:12:01 +00:00
|
|
|
# $Id: Makefile,v 1.6 1998/08/24 00:39:46 steve Exp $
|
1998-02-28 05:19:01 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= vftool-1.2
|
|
|
|
PKGNAME= ja-vftool-1.2
|
|
|
|
CATEGORIES= print japanese
|
1998-08-09 00:58:49 +00:00
|
|
|
MASTER_SITES= ftp://ftp.math.s.chiba-u.ac.jp/tex/ \
|
1998-08-24 00:39:48 +00:00
|
|
|
ftp://bash.cc.keio.ac.jp/pub/TeX/ascii-ptex/ptex215/ \
|
1998-08-09 00:58:49 +00:00
|
|
|
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
|
1998-02-28 05:19:01 +00:00
|
|
|
|
|
|
|
MAINTAINER= kiri@kiri.toba-cmt.ac.jp
|
|
|
|
|
1998-08-09 00:58:49 +00:00
|
|
|
BUILD_DEPENDS= ${AFMDIR}/GothicBBB-Medium-H:${PORTSDIR}/japanese/japaneseAFM
|
1998-02-28 05:19:01 +00:00
|
|
|
|
1998-08-09 00:58:49 +00:00
|
|
|
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}
|
1998-02-28 05:19:01 +00:00
|
|
|
|
|
|
|
AFMDIR= ${PREFIX}/share/fonts/afm
|
|
|
|
FONTSDIR= ${PREFIX}/share/fonts
|
1998-08-09 00:58:49 +00:00
|
|
|
JFMDIR= ${WRKDIR}/share/texmf/fonts/tfm/ptex
|
1998-02-28 05:19:01 +00:00
|
|
|
PORTSDOCDIR= ${PREFIX}/share/doc/vftool
|
1998-08-09 00:58:49 +00:00
|
|
|
TARGETDIRS= vf-n2a vf-a2n vf-a2bk vf-p2pn
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
(cd ${WRKDIR}; \
|
|
|
|
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/plib13-euc.tar.gz \
|
1999-02-03 11:12:01 +00:00
|
|
|
${EXTRACT_AFTER_ARGS} \
|
1998-08-09 00:58:49 +00:00
|
|
|
share/texmf/fonts/tfm/ptex; \
|
|
|
|
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/jtex-1.52.tar.gz \
|
1999-02-03 11:12:01 +00:00
|
|
|
${EXTRACT_AFTER_ARGS} \
|
1998-08-09 00:58:49 +00:00
|
|
|
jtex-1.52/JTeXfonts/dnpfonts/mincho/tfm \
|
|
|
|
jtex-1.52/JTeXfonts/dnpfonts/gothic/tfm; \
|
|
|
|
)
|
1998-02-28 05:19:01 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@(cd ${FONTSDIR}; ${MKDIR} ${TARGETDIRS})
|
|
|
|
@(cd ${WRKSRC}; \
|
1998-08-09 00:58:49 +00:00
|
|
|
${INSTALL_PROGRAM} mka2bkvf mka2nvf mkn2avf mkp2nvf ${PREFIX}/bin; \
|
1998-02-28 05:19:01 +00:00
|
|
|
)
|
|
|
|
.for t in ${TARGETDIRS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${t}/* ${FONTSDIR}/${t}
|
|
|
|
.endfor
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/jfm/* ${FONTSDIR}/vf-a2bk
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PORTSDOCDIR}
|
|
|
|
@(cd ${WRKSRC}; \
|
1998-08-09 00:58:49 +00:00
|
|
|
${INSTALL_SCRIPT} MKASC2BKall MKASC2NTT MKNTT2ASC MKPTEX2PNTT ${PORTSDOCDIR}; \
|
1998-02-28 05:19:01 +00:00
|
|
|
${INSTALL_DATA} Makefile README vfdata.doc ${PORTSDOCDIR}; \
|
|
|
|
)
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|