freebsd-ports/japanese/platex209/Makefile
Hiroki Sato c2600cea60 - Fix web2c directory (s,web2c-ptex,web2c/ptex,).
- Fix style directory (s,tex/platex209,ptex/platex209,).
- Some style changes.
- Bump PORTREVISION.
2005-02-10 18:08:09 +00:00

49 lines
1.4 KiB
Makefile

# New ports collection makefile for: platex209-euc
# Date created: 01 Jan 1998
# Whom: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
#
# $FreeBSD$
#
PORTNAME= platex209
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/platex/
DISTNAME= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Old version of ASCII Japanese pLaTeX (based on LaTeX 2.09)
BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-tetex
RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-tetex
CONFLICTS= ja-ptex-[0-9]*
TEXMFDIR= share/texmf
WEB2CDIR= ${TEXMFDIR}/web2c/ptex
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
PLATEX209DIR= ${TEXMFDIR}/ptex/platex209
PLIST_SUB= TEXMFDIR=${TEXMFDIR} \
MKTEXLSR=${MKTEXLSR} \
WEB2CDIR=${WEB2CDIR} \
PLATEX209DIR=${PLATEX209DIR}
do-build:
@(cd ${WRKSRC}; ${LOCALBASE}/bin/ptex -ini 'plplain.tex\dump')
do-install:
${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
${INSTALL_DATA} ${WRKSRC}/plplain.fmt ${PREFIX}/${WEB2CDIR}/platex209.fmt
${LN} -f -s ${PREFIX}/bin/ptex ${PREFIX}/bin/platex209
${MKTEXLSR}
.include <bsd.port.mk>