1997-10-05 19:29:34 +00:00
|
|
|
# New ports collection makefile for: platex2e-common
|
1998-02-22 21:55:33 +00:00
|
|
|
# Version required: <1998/02/17>+0
|
1997-10-05 19:29:34 +00:00
|
|
|
# Date created: 05 Oct 1997
|
|
|
|
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
|
1995-11-15 10:27:39 +00:00
|
|
|
#
|
1998-06-10 07:48:03 +00:00
|
|
|
# $Id: Makefile,v 1.23 1998/02/22 21:54:52 max Exp $
|
1995-11-15 10:27:39 +00:00
|
|
|
#
|
|
|
|
|
1998-02-22 21:55:33 +00:00
|
|
|
DISTNAME= base-9712
|
|
|
|
PKGNAME= ja-platex2e-common-1998.02.17.0
|
1996-11-11 08:11:50 +00:00
|
|
|
CATEGORIES= japanese print
|
1998-02-22 21:55:33 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/platex/1998-02-17/ \
|
1997-10-05 19:29:34 +00:00
|
|
|
ftp://ftp.ams.org/pub/tex/ \
|
1997-04-30 03:18:09 +00:00
|
|
|
${MASTER_SITE_LOCAL}
|
1997-10-05 19:29:34 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ecfonts-1.0.tar.gz tfm.tar \
|
|
|
|
amsfonts-sources.tar.Z
|
1995-11-15 10:27:39 +00:00
|
|
|
|
1996-09-17 15:07:58 +00:00
|
|
|
MAINTAINER= max@FreeBSD.ORG
|
1995-11-15 10:27:39 +00:00
|
|
|
|
1997-10-05 19:29:34 +00:00
|
|
|
BUILD_DEPENDS= ptex-common:${PORTSDIR}/japanese/ptex-common
|
1997-10-05 21:33:09 +00:00
|
|
|
RUN_DEPENDS= ptex-common:${PORTSDIR}/japanese/ptex-common
|
1995-11-15 10:27:39 +00:00
|
|
|
|
1997-11-22 01:38:55 +00:00
|
|
|
MANUAL_PACKAGE_BUILD= incompatible with other versions of ptex-*
|
1997-10-05 19:29:34 +00:00
|
|
|
WRKSRC= ${WRKDIR}/base
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} ecfonts-1.0.tar.gz \
|
|
|
|
amsfonts-sources.tar.Z
|
1997-02-09 00:40:55 +00:00
|
|
|
DIST_SUBDIR= platex2e
|
1995-11-15 10:27:39 +00:00
|
|
|
|
1997-10-05 19:29:34 +00:00
|
|
|
TEXMF= ${PREFIX}/share/texmf
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@tar -C ${WRKDIR} -xf ${DISTDIR}/${DIST_SUBDIR}/tfm.tar
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@(cd ${WRKSRC}; tex -ini unpack.ins ; tex -ini latex.ltx)
|
1995-11-15 10:27:39 +00:00
|
|
|
|
|
|
|
do-install:
|
1997-10-05 19:29:34 +00:00
|
|
|
@${RM} -rf ${TEXMF}/tex/latex/base
|
|
|
|
@${MKDIR} ${TEXMF}/tex/latex/base
|
|
|
|
${CP} ${WRKSRC}/* ${TEXMF}/tex/latex/base
|
|
|
|
${MV} -f ${TEXMF}/tex/latex/base/latex.fmt ${TEXMF}/web2c
|
|
|
|
${MKDIR} ${TEXMF}/fonts/tfm/public/ams
|
|
|
|
${CP} ${WRKDIR}/tfm/* ${TEXMF}/fonts/tfm/public/ams
|
|
|
|
${MKDIR} ${TEXMF}/fonts/source/public/ams
|
|
|
|
${CP} -R ${WRKDIR}/amsfonts/sources/* ${TEXMF}/fonts/source/public/ams
|
|
|
|
${MKDIR} ${TEXMF}/fonts/tfm/public/ec
|
|
|
|
${CP} ${WRKDIR}/ec/tfm/* ${TEXMF}/fonts/tfm/public/ec
|
|
|
|
${MKDIR} ${TEXMF}/fonts/source/public/ec
|
|
|
|
${CP} ${WRKDIR}/ec/src/* ${TEXMF}/fonts/source/public/ec
|
1997-10-05 21:07:13 +00:00
|
|
|
@/bin/ln -fs tex ${PREFIX}/bin/latex
|
1998-06-10 07:48:03 +00:00
|
|
|
@/bin/ln -fs latex ${PREFIX}/bin/platex-common
|
1995-11-15 10:27:39 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|