aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-09-20 23:28:01 +0800
committermarino <marino@FreeBSD.org>2014-09-20 23:28:01 +0800
commit4032e69376bb55bc3fca920e6fbf0bdfcb71a2be (patch)
tree92f4a665693a871980bba2b2d6080212f9e782d4 /japanese
parent57e08420af202c768033acdfc7f9226ff8cc38ad (diff)
downloadfreebsd-ports-graphics-4032e69376bb55bc3fca920e6fbf0bdfcb71a2be.tar.gz
freebsd-ports-graphics-4032e69376bb55bc3fca920e6fbf0bdfcb71a2be.tar.zst
freebsd-ports-graphics-4032e69376bb55bc3fca920e6fbf0bdfcb71a2be.zip
Add new port japanese/latex-jlisting
PR: 188691 Submitted by: Hiroto Kagotani jlisting.sty enhances lstlisting environment provided by listings.sty for handling Japanese text.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/latex-jlisting/Makefile29
-rw-r--r--japanese/latex-jlisting/distinfo2
-rw-r--r--japanese/latex-jlisting/pkg-descr7
4 files changed, 39 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 81fb4da8f3e..e729932c907 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -134,6 +134,7 @@
SUBDIR += kon2-16dot
SUBDIR += kpcal
SUBDIR += kterm
+ SUBDIR += latex-jlisting
SUBDIR += leafrogue
SUBDIR += less
SUBDIR += libreoffice
diff --git a/japanese/latex-jlisting/Makefile b/japanese/latex-jlisting/Makefile
new file mode 100644
index 00000000000..14cb303da2d
--- /dev/null
+++ b/japanese/latex-jlisting/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= jlisting
+PORTVERSION= 0.2
+CATEGORIES= japanese print
+MASTER_SITES= SFJP/mytexpert/26068
+PKGNAMEPREFIX= latex-
+DISTFILES= jlisting.sty.bz2
+
+MAINTAINER= hiroto.kagotani@gmail.com
+COMMENT= Support for Japanese text within lstlisting environment
+
+NO_BUILD= yes
+USE_TEX= latex texhash
+JLDIR= ${TEXMFLOCALDIR}/tex/latex/jlisting
+PLIST_FILES= ${JLDIR}/jlisting.sty
+PLIST_DIRS= ${JLDIR}
+PLIST_DIRSTRY= ${TEXMFLOCALDIR}/tex/latex ${TEXMFLOCALDIR}/tex
+
+do-extract:
+ @${MKDIR} ${WRKSRC}
+ (cd ${DISTDIR}/${DIST_SUBDIR} && ${BZCAT} ${DISTFILES} \
+ > ${WRKSRC}/jlisting.sty)
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${JLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/jlisting.sty ${STAGEDIR}${PREFIX}/${JLDIR}
+
+.include <bsd.port.mk>
diff --git a/japanese/latex-jlisting/distinfo b/japanese/latex-jlisting/distinfo
new file mode 100644
index 00000000000..7676642cc7f
--- /dev/null
+++ b/japanese/latex-jlisting/distinfo
@@ -0,0 +1,2 @@
+SHA256 (jlisting.sty.bz2) = 7e755563bb44750e29d49d2c029fb2af3e46f0c9a8c375da7e691899f69dfa50
+SIZE (jlisting.sty.bz2) = 2269
diff --git a/japanese/latex-jlisting/pkg-descr b/japanese/latex-jlisting/pkg-descr
new file mode 100644
index 00000000000..23330676ff5
--- /dev/null
+++ b/japanese/latex-jlisting/pkg-descr
@@ -0,0 +1,7 @@
+jlisting.sty enhances lstlisting environment provided by listings.sty for
+handling Japanese text.
+
+Use this package with listings.sty as:
+\usepackage{listings,jlisting}
+
+WWW: http://sourceforge.jp/projects/mytexpert/