aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/platex-jsclasses/Makefile
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2004-05-12 05:27:58 +0800
committerhrs <hrs@FreeBSD.org>2004-05-12 05:27:58 +0800
commita120301a2bf6d5e06fdcd6959cf92c5b28fda3fe (patch)
tree29291597fa4405491c5af3d227362adebb94497c /japanese/platex-jsclasses/Makefile
parentf550ae5528b9862a08dce6110696f96e539ed7ee (diff)
downloadfreebsd-ports-gnome-a120301a2bf6d5e06fdcd6959cf92c5b28fda3fe.tar.gz
freebsd-ports-gnome-a120301a2bf6d5e06fdcd6959cf92c5b28fda3fe.tar.zst
freebsd-ports-gnome-a120301a2bf6d5e06fdcd6959cf92c5b28fda3fe.zip
Add japanese/platex-jsclasses, which is a set of new document classes
for ASCII pLaTeX2e. It is based on standard class files of pLaTeX but has lots of improvements and new features. PR: ports/62740 Approved by: linimon (mentor)
Diffstat (limited to 'japanese/platex-jsclasses/Makefile')
-rw-r--r--japanese/platex-jsclasses/Makefile58
1 files changed, 58 insertions, 0 deletions
diff --git a/japanese/platex-jsclasses/Makefile b/japanese/platex-jsclasses/Makefile
new file mode 100644
index 000000000000..b8c81c67e767
--- /dev/null
+++ b/japanese/platex-jsclasses/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: platex-jsclasses
+# Date created: 24 Jan 2004
+# Whom: hrs@FreeBSD.org
+#
+# $FreeBSD$
+
+PORTNAME= platex-jsclasses
+PORTVERSION= 1.0.20040429
+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
+
+BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX \
+ ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
+
+USE_ZIP= YES
+NO_BUILD= YES
+PLIST_SUB= CLASSDIR=${CLASSDIR} TFMDIR=${TFMDIR} \
+ PLDIR=${PLDIR} MKTEXLSR=${MKTEXLSR}
+WRKSRC= ${WRKDIR}
+
+TEXMFLOCAL= share/texmf-local
+TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+
+CLASSDIR= ${TEXMFLOCAL}/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= ${TEXMFLOCAL}/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= ${TEXMFLOCAL}/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}
+
+.include <bsd.port.mk>