[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pTeX
print/ptex として作っています。print/texfamily/Makefile をもとにしつつ、
teTeX-bin/Makefile.common をインクルードしたらすっきり書けて、ビルドま
で簡単に通りました。
ASCII さんは dvipsk と mendex を配布していますが、dvipdfmx があるので
dvipsk はあまりいらないかもしれませんね。
# $NetBSD$
DISTNAME= #
PKGNAME= ptex-${PTEX_VERS}
CATEGORIES= japanese print
MASTER_SITES_PTEX= \
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ \
ftp://ftp.ring.gr.jp/pub/text/TeX/ascii-ptex/ \
ftp://ftp.media.kyoto-u.ac.jp/TeX/ASCII-pTeX/ \
ftp://bash.cc.keio.ac.jp/pub/TeX/ascii-ptex/ \
ftp://ftp.cs.titech.ac.jp/pub/text/TeX/ASCII-pTeX/ \
ftp://ftp.tut.ac.jp/TeX/ASCII-pTeX/ \
ftp://ftp.u-aizu.ac.jp/pub/tex/ASCII-pTeX/ \
ftp://ftp.foretune.co.jp/pub/TeX/ascii-ptex/
DISTFILES= ptex-src-${PTEX_VERS}${EXTRACT_SUFX} \
ptex-texmf-${PTEX_VERS.texmf}${EXTRACT_SUFX} \
dvipsk-jpatch-p${PTEX_VERS.dvips}${EXTRACT_SUFX} \
standard.tar.gz \
mendexk${PTEX_VERS.mendex}${EXTRACT_SUFX} \
tetex-src-${PTEX_VERS.tetex}${EXTRACT_SUFX} \
tetex-texmf-${PTEX_VERS.tetex}${EXTRACT_SUFX}
MAINTAINER= kei@NetBSD.org
COMMENT= ASCII Japanese TeX
DEPENDS+= teTeX-bin>=${PTEX_VERS.tetex}:../../print/teTeX-bin
DEPENDS+= teTeX-share>=${PTEX_VERS.tetex}:../../print/teTeX-share
# Include teTeX definitions, and override below.
.include "../../print/teTeX-bin/Makefile.common"
EXTRACT_ONLY= # none
WRKSRC= ${WRKDIR}/tetex-src-${PTEX_VERS.tetex}
BUILD_DIRS= ${WRKSRC}/texk/web2c/ptex-src-${PTEX_VERS}
ALL_TARGET= programs
PTEX_VERS= 3.1.4
PTEX_VERS.texmf= 2.2
PTEX_VERS.dvips= 1.6a
PTEX_VERS.mendex= 2.5a
PTEX_VERS.tetex= 2.0.2
# XXX
# Should extract a part of teTeX-src-*, which is needed for pTeX build.
do-extract:
${GUNZIP_CMD} -cd ${_DISTDIR}/tetex-src-${PTEX_VERS.tetex}${EXTRACT_SUFX} | \
{ cd ${WRKDIR}; ${PAX} -O -r; }
${GUNZIP_CMD} -cd ${_DISTDIR}/ptex-src-${PTEX_VERS}${EXTRACT_SUFX} | \
{ cd ${WRKSRC}/texk/web2c; ${PAX} -O -r; }
post-configure:
cd ${WRKSRC}/texk/web2c/ptex-src-${PTEX_VERS}; \
${SETENV} ${CONFIGURE_ENV} ${SH} configure euc
# XXX Not yet.
do-install:
XXX
# XXX Not yet.
post-install:
XXX
.include "../../mk/bsd.pkg.mk"
- Follow-Ups:
- Re: pTeX
- From: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
- References:
- Re: pTeX
- From: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
- Re: pTeX
- From: Masao Uebayashi <uebayasi@pultek.co.jp>
- Re: pTeX
- From: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>