summaryrefslogtreecommitdiff
path: root/japanese/latex-jlisting/Makefile
blob: 14cb303da2d7c81604294ca62f306099ce9261aa (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
28
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>