1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/japanese/platex209-sjis/Makefile
Jun Kuriyama ad8532f3ba ASCII Japanese pLaTeX 2.09 with Shift-JIS code support.
Submitted by:	Makoto WATANABE <watanabe@z.phys.nagoya-u.ac.jp>
PR:		ports/5878
1998-06-08 11:13:47 +00:00

43 lines
1.2 KiB
Makefile

# New ports collection makefile for: platex209-sjis
# Version required: 2.09
# Date created: 01 Jan 1998
# Whom: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
#
# $Id$
#
DISTNAME= platex209
PKGNAME= ja-platex209-sjis-1.0
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/platex/
MAINTAINER= watanabe@zlab.phys.nagoya-u.ac.jp
BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-sjis \
nkf:${PORTSDIR}/japanese/nkf
RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-sjis
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 -s $$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>