mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
60 lines
1.7 KiB
Makefile
60 lines
1.7 KiB
Makefile
# New ports collection makefile for: platex-jsclasses
|
|
# Date created: 24 Jan 2004
|
|
# Whom: hrs@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= platex-jsclasses
|
|
PORTVERSION= 1.0.20060212
|
|
PORTREVISION= 2
|
|
CATEGORIES= japanese print
|
|
MASTER_SITES= http://oku.edu.mie-u.ac.jp/~okumura/jsclasses/:0 \
|
|
http://oku.edu.mie-u.ac.jp/~okumura/texfaq/:1
|
|
PKGNAMEPREFIX= ja-
|
|
DISTFILES= ${PORTNAME:S/^platex-//}-${PORTVERSION:S/^1.0.20//}${EXTRACT_SUFX}:0 \
|
|
jis-tfm${EXTRACT_SUFX}:1 \
|
|
jis-pl${EXTRACT_SUFX}:1
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= New document class files for pLaTeX
|
|
|
|
RUN_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
|
|
ptex:${PORTSDIR}/japanese/ptex
|
|
|
|
USE_ZIP= YES
|
|
NO_BUILD= YES
|
|
PLIST_SUB= CLASSDIR=${CLASSDIR} TFMDIR=${TFMDIR} \
|
|
PLDIR=${PLDIR} MKTEXLSR=${MKTEXLSR} \
|
|
TEXMFDIR=${TEXMFDIR}
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
TEXMFDIR= share/texmf
|
|
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
|
|
|
|
CLASSDIR= ${TEXMFDIR}/ptex/platex/js
|
|
CLASS_FILES= jsarticle.cls jsbook.cls \
|
|
jsclasses.dtx jsclasses.ins jspf.cls \
|
|
morisawa.dtx morisawa.ins morisawa.sty \
|
|
okumacro.dtx okumacro.ins okumacro.sty \
|
|
okuverb.dtx okuverb.ins okuverb.sty \
|
|
|
|
TFMDIR= ${TEXMFDIR}/fonts/tfm/jis
|
|
TFM_FILES= jis-v.tfm jis.tfm jisg-v.tfm jisg.tfm \
|
|
jisgn-v.tfm jisgn.tfm jisn-v.tfm jisn.tfm
|
|
|
|
PLDIR= ${TEXMFDIR}/fonts/source/jis
|
|
PL_FILES= jis-v.pl jis.pl jisn-v.pl jisn.pl
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/${CLASSDIR}
|
|
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
|
|
${MKDIR} ${PREFIX}/${TFMDIR}
|
|
${INSTALL_DATA} ${TFM_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${TFMDIR}
|
|
${MKDIR} ${PREFIX}/${PLDIR}
|
|
${INSTALL_DATA} ${PL_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${PLDIR}
|
|
|
|
post-install:
|
|
${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
|
|
|
|
.include <bsd.port.mk>
|