1ec282abdb
I am committing this since the maintainer did not respond to my request to check on this problem in past two days, this can be a temporary fix. Submitted by: Harold Gutch <logix@foobar.franken.de>
45 lines
1.3 KiB
Makefile
45 lines
1.3 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
|
|
PKGNAMESUFFIX= -euc
|
|
CATEGORIES= japanese print
|
|
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/platex/
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= watanabe@zlab.phys.nagoya-u.ac.jp
|
|
COMMENT= ASCII Japanese pLaTeX 2.09 with Japanese EUC code support
|
|
|
|
BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex \
|
|
nkf:${PORTSDIR}/japanese/nkf
|
|
RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex
|
|
|
|
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
|
|
${LN} -fs ptex ${PREFIX}/bin/platex209
|
|
|
|
.include <bsd.port.mk>
|