summaryrefslogtreecommitdiff
path: root/japanese/latex-jlisting/Makefile
blob: c7de5d98c03861bf2d160c1c4ffd4e16ff3f6237 (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
PORTNAME=	jlisting
PORTVERSION=	0.2
CATEGORIES=	japanese print
MASTER_SITES=	OSDN/mytexpert
PKGNAMEPREFIX=	latex-
DISTFILES=	jlisting.sty.bz2

MAINTAINER=	hiroto.kagotani@gmail.com
COMMENT=	Support for Japanese text within lstlisting environment
WWW=		https://sourceforge.jp/projects/mytexpert/

NO_BUILD=	yes
USE_TEX=	latex texhash
JLDIR=		${TEXMFLOCALDIR}/tex/latex/jlisting
PLIST_FILES=	${JLDIR}/jlisting.sty

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>