mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
65ab34a667
Prompted by PR: 13476, 13477 Submitted by: KATO Tsuguru
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# New ports collection makefile for: platex2e-jis
|
|
# Version required: <1998/09/01>
|
|
# Date created: 05 Oct 1997
|
|
# Whom: Masafumi NAKANE <max@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= pl19980901j
|
|
PKGNAME= ja-platex2e-jis-1998.09.01
|
|
CATEGORIES= japanese print
|
|
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/platex/1998-09-01/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
plpatch.ltx jclasses.dtx tascmac.sty
|
|
|
|
MAINTAINER= max@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-jis \
|
|
platex-common:${PORTSDIR}/japanese/platex-common
|
|
RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-jis \
|
|
platex-common:${PORTSDIR}/japanese/platex-common
|
|
|
|
MANUAL_PACKAGE_BUILD= incompatible with other versions of ptex-*
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
WRKSRC= ${WRKDIR}/19980901
|
|
DIST_SUBDIR= platex2e
|
|
|
|
TEXMF= ${PREFIX}/share/texmf
|
|
|
|
post-extract:
|
|
.for f in plpatch.ltx jclasses.dtx tascmac.sty
|
|
@${CP} ${DISTDIR}/${DIST_SUBDIR}/$f ${WRKSRC}
|
|
.endfor
|
|
|
|
do-build:
|
|
@(cd ${WRKSRC}; ptex -ini plcore.ins; ptex -ini platex.ltx)
|
|
|
|
do-install:
|
|
${MKDIR} ${TEXMF}/tex/platex/base
|
|
@${CP} ${WRKSRC}/* ${TEXMF}/tex/platex/base
|
|
${MV} -f ${TEXMF}/tex/platex/base/platex.fmt ${TEXMF}/web2c
|
|
@${LN} -fs ptex ${PREFIX}/bin/platex
|
|
|
|
.include <bsd.port.mk>
|