freebsd-ports/japanese/platex-jsclasses/Makefile
Hiroki Sato b198af1a43 - Update to 110510.
- Some style fixes.

Submitted by:	Shin-ya Murakami
PR:		ports/163849
2012-01-06 07:16:10 +00:00

60 lines
1.7 KiB
Makefile

# New ports collection makefile for: platex-jsclasses
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= jsclasses
PORTVERSION= 1.0.20110510
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= platex-
DISTFILES= ${PORTNAME}-${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 \
jsverb.dtx jsverb.ins jsverb.sty \
kiyou.cls minijs.sty \
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}
cd ${WRKSRC} && ${INSTALL_DATA} ${CLASS_FILES} ${PREFIX}/${CLASSDIR}
${MKDIR} ${PREFIX}/${TFMDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${TFM_FILES} ${PREFIX}/${TFMDIR}
${MKDIR} ${PREFIX}/${PLDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PL_FILES} ${PREFIX}/${PLDIR}
post-install:
${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
.include <bsd.port.mk>