aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/platex-jis/Makefile
blob: 0f6e3676c525f0f3b25be682f86f56f70e97a9c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    platex2e-jis
# Date created:         05 Oct 1997
# Whom:             Masafumi NAKANE <max@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   platex2e
PKGNAMESUFFIX=  -jis
PORTVERSION=    1999.08.09
CATEGORIES= japanese print
MASTER_SITES=   ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/platex/${PORTVERSION:S/./-/g}/
DISTNAME=   pl${PORTVERSION:S/.//g}j

MAINTAINER= max@FreeBSD.org

BUILD_DEPENDS=  ptex:${PORTSDIR}/japanese/ptex${PKGNAMESUFFIX} \
        platex-common:${PORTSDIR}/japanese/platex-common
RUN_DEPENDS=    ptex:${PORTSDIR}/japanese/ptex${PKGNAMESUFFIX} \
        platex-common:${PORTSDIR}/japanese/platex-common

MANUAL_PACKAGE_BUILD=   incompatible with other versions of ptex-*
WRKSRC=     ${WRKDIR}/${PORTVERSION:S/.//g}
DIST_SUBDIR=    ${PORTNAME}

TEXMF=      ${PREFIX}/share/texmf

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>