summaryrefslogtreecommitdiff
path: root/japanese/latex-jlisting/Makefile
blob: 07f92db0a51126fb6c954ac017f3cff96c70e6ad (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
27
# $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

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>