1997-10-05 19:36:04 +00:00
|
|
|
# New ports collection makefile for: platex2e-sjis
|
|
|
|
# Version required: <1997/07/02>+2
|
|
|
|
# Date created: 05 Oct 1997
|
|
|
|
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
|
|
|
|
#
|
1997-11-22 01:38:55 +00:00
|
|
|
# $Id: Makefile,v 1.4 1997/11/10 11:22:49 asami Exp $
|
1997-10-05 19:36:04 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= pl970702s
|
|
|
|
PKGNAME= ja-platex2e-sjis-97.07.02.2
|
|
|
|
CATEGORIES= japanese print
|
|
|
|
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/platex/1997-07-02/
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} jclasses.dtx.gz plpatch.ltx
|
|
|
|
|
|
|
|
MAINTAINER= max@FreeBSD.ORG
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-sjis \
|
|
|
|
platex-common:${PORTSDIR}/japanese/platex-common \
|
|
|
|
nkf:${PORTSDIR}/japanese/nkf
|
1997-10-05 21:36:11 +00:00
|
|
|
RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-sjis \
|
|
|
|
platex-common:${PORTSDIR}/japanese/platex-common
|
1997-10-05 19:36:04 +00:00
|
|
|
|
1997-11-22 01:38:55 +00:00
|
|
|
MANUAL_PACKAGE_BUILD= incompatible with other versions of ptex-*
|
1997-10-05 19:36:04 +00:00
|
|
|
WRKSRC= ${WRKDIR}/970702
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
DIST_SUBDIR= platex2e
|
|
|
|
|
|
|
|
TEXMF= ${PREFIX}/share/texmf
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@nkf -s ${DISTDIR}/${DIST_SUBDIR}/plpatch.ltx > ${WRKSRC}/plpatch.ltx
|
|
|
|
@${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/jclasses.dtx.gz \
|
|
|
|
| nkf -s > ${WRKSRC}/jclasses.dtx
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@(cd ${WRKSRC}; ptex -ini plcore.ins; ptex -ini platex.ltx)
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${TEXMF}/tex/platex/base
|
|
|
|
@${CP} ${WRKSRC}/* ${TEXMF}/tex/platex/base
|
|
|
|
${MV} -f ${TEXMF}/tex/platex/base/platex.fmt ${TEXMF}/web2c
|
1997-10-05 21:20:43 +00:00
|
|
|
/bin/ln -fs ptex ${PREFIX}/bin/platex
|
1997-10-05 19:36:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|