1998-06-12 17:39:10 +02:00
|
|
|
# New ports collection makefile for: platex209-euc
|
|
|
|
# Date created: 01 Jan 1998
|
|
|
|
# Whom: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
|
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1998-06-12 17:39:10 +02:00
|
|
|
#
|
|
|
|
|
2000-04-12 16:38:12 +02:00
|
|
|
PORTNAME= platex209
|
|
|
|
PORTVERSION= 1.0
|
2005-02-10 19:08:09 +01:00
|
|
|
PORTREVISION= 2
|
1998-06-12 17:39:10 +02:00
|
|
|
CATEGORIES= japanese print
|
|
|
|
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/platex/
|
2000-04-12 16:38:12 +02:00
|
|
|
DISTNAME= ${PORTNAME}
|
1998-06-12 17:39:10 +02:00
|
|
|
|
2004-02-27 11:59:20 +01:00
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
2004-08-20 18:24:29 +02:00
|
|
|
COMMENT= Old version of ASCII Japanese pLaTeX (based on LaTeX 2.09)
|
1998-06-12 17:39:10 +02:00
|
|
|
|
2004-08-20 18:24:29 +02:00
|
|
|
BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-tetex
|
|
|
|
RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-tetex
|
|
|
|
|
|
|
|
CONFLICTS= ja-ptex-[0-9]*
|
1998-06-12 17:39:10 +02:00
|
|
|
|
2005-02-10 19:08:09 +01:00
|
|
|
TEXMFDIR= share/texmf
|
|
|
|
WEB2CDIR= ${TEXMFDIR}/web2c/ptex
|
2004-08-20 18:24:29 +02:00
|
|
|
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
|
2005-02-10 19:08:09 +01:00
|
|
|
PLATEX209DIR= ${TEXMFDIR}/ptex/platex209
|
2004-08-20 18:24:29 +02:00
|
|
|
|
2005-02-10 19:08:09 +01:00
|
|
|
PLIST_SUB= TEXMFDIR=${TEXMFDIR} \
|
2004-08-20 18:24:29 +02:00
|
|
|
MKTEXLSR=${MKTEXLSR} \
|
2005-02-10 19:08:09 +01:00
|
|
|
WEB2CDIR=${WEB2CDIR} \
|
|
|
|
PLATEX209DIR=${PLATEX209DIR}
|
1998-06-12 17:39:10 +02:00
|
|
|
|
|
|
|
do-build:
|
2005-02-10 19:08:09 +01:00
|
|
|
@(cd ${WRKSRC}; ${LOCALBASE}/bin/ptex -ini 'plplain.tex\dump')
|
1998-06-12 17:39:10 +02:00
|
|
|
|
|
|
|
do-install:
|
2005-02-10 19:08:09 +01:00
|
|
|
${MKDIR} ${PREFIX}/${PLATEX209DIR}/doc
|
|
|
|
${MKDIR} ${PREFIX}/${PLATEX209DIR}/general
|
|
|
|
${MKDIR} ${PREFIX}/${PLATEX209DIR}/sty
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/${PLATEX209DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.doc ${PREFIX}/${PLATEX209DIR}/doc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.tex ${PREFIX}/${PLATEX209DIR}/general
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.sty ${PREFIX}/${PLATEX209DIR}/sty
|
2004-08-20 18:24:29 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/plplain.fmt ${PREFIX}/${WEB2CDIR}/platex209.fmt
|
|
|
|
${LN} -f -s ${PREFIX}/bin/ptex ${PREFIX}/bin/platex209
|
|
|
|
${MKTEXLSR}
|
1998-06-12 17:39:10 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|