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
|
|
|
|
PKGNAMESUFFIX= -euc
|
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
|
|
|
|
|
|
|
MAINTAINER= watanabe@zlab.phys.nagoya-u.ac.jp
|
|
|
|
|
2000-04-12 16:38:12 +02:00
|
|
|
BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex${PKGNAMESUFFIX} \
|
1998-06-12 17:39:10 +02:00
|
|
|
nkf:${PORTSDIR}/japanese/nkf
|
2000-04-12 16:38:12 +02:00
|
|
|
RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex${PKGNAMESUFFIX}
|
1998-06-12 17:39:10 +02:00
|
|
|
|
|
|
|
MANUAL_PACKAGE_BUILD= incompatible with other versions of platex209-*
|
|
|
|
|
|
|
|
TEXMF= ${PREFIX}/share/texmf
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@(cd ${WRKSRC} ; \
|
|
|
|
for i in * ; do ${MV} $$i $$i.orig ; nkf -e $$i.orig > $$i ; done)
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@(cd ${WRKSRC}; ptex -ini 'plplain.tex \dump')
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${TEXMF}/tex/platex209/doc
|
|
|
|
${MKDIR} ${TEXMF}/tex/platex209/general
|
|
|
|
${MKDIR} ${TEXMF}/tex/platex209/sty
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README.txt ${TEXMF}/tex/platex209
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/*.doc ${TEXMF}/tex/platex209/doc
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/*.tex ${TEXMF}/tex/platex209/general
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/*.sty ${TEXMF}/tex/platex209/sty
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/plplain.fmt ${TEXMF}/web2c/platex209.fmt
|
1999-08-28 03:58:05 +02:00
|
|
|
${LN} -fs ptex ${PREFIX}/bin/platex209
|
1998-06-12 17:39:10 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|