1997-10-05 19:36:04 +00:00
|
|
|
# New ports collection makefile for: platex2e-sjis
|
1999-02-12 17:02:33 +00:00
|
|
|
# Version required: <1998/09/01>
|
1997-10-05 19:36:04 +00:00
|
|
|
# Date created: 05 Oct 1997
|
|
|
|
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
|
|
|
|
#
|
1999-02-12 17:02:33 +00:00
|
|
|
# $Id: Makefile,v 1.8 1998/06/27 09:24:28 asami Exp $
|
1997-10-05 19:36:04 +00:00
|
|
|
#
|
|
|
|
|
1999-02-12 17:02:33 +00:00
|
|
|
DISTNAME= pl19980901s
|
|
|
|
PKGNAME= ja-platex2e-sjis-1998.09.01
|
1997-10-05 19:36:04 +00:00
|
|
|
CATEGORIES= japanese print
|
1999-02-12 17:02:33 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/platex/1998-09-01/
|
1998-06-24 02:53:01 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
1999-02-12 17:02:33 +00:00
|
|
|
plpatch.ltx jclasses.dtx tascmac.sty
|
1997-10-05 19:36:04 +00:00
|
|
|
|
|
|
|
MAINTAINER= max@FreeBSD.ORG
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-sjis \
|
1998-06-24 02:53:01 +00:00
|
|
|
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-*
|
1998-06-24 02:53:01 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
1999-02-12 17:02:33 +00:00
|
|
|
WRKSRC= ${WRKDIR}/19980901
|
1997-10-05 19:36:04 +00:00
|
|
|
DIST_SUBDIR= platex2e
|
|
|
|
|
|
|
|
TEXMF= ${PREFIX}/share/texmf
|
|
|
|
|
1999-02-12 17:02:33 +00:00
|
|
|
post-extract:
|
|
|
|
.for f in plpatch.ltx jclasses.dtx tascmac.sty
|
|
|
|
@nkf -s ${DISTDIR}/${DIST_SUBDIR}/$f > ${WRKSRC}/$f
|
1998-06-24 02:53:01 +00:00
|
|
|
.endfor
|
|
|
|
|
1997-10-05 19:36:04 +00:00
|
|
|
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
|
1999-02-12 17:02:33 +00:00
|
|
|
@${LN} -fs ptex ${PREFIX}/bin/platex
|
1997-10-05 19:36:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|