summaryrefslogtreecommitdiff
path: root/print/tex-kotex-utils/Makefile
blob: 66c1f566c09863998253ca7b817145e13f12ba1e (plain)
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
30
31
# $NetBSD: Makefile,v 1.9 2015/05/28 11:49:45 markd Exp $

DISTNAME=	kotex-utils
PKGNAME=	tex-${DISTNAME}-2.0.1
TEXLIVE_REV=	36210

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://ctan.org/pkg/kotex-utils
COMMENT=	Utility scripts and support files for typesetting Korean
LICENSE=	lppl-1.3c

DEPENDS+=	tex-kotex-utf-[0-9]*:../../print/tex-kotex-utf

USE_TOOLS+=	perl:run
REPLACE_PERL=	bin/jamo-normalize bin/komkindex bin/ttf2kotexfont

INSTALLATION_DIRS+=	bin

.include "../../print/texlive/package.mk"

post-extract:
	${MKDIR} ${WRKSRC}/bin
	${MV} ${WRKSRC}/texmf-dist/scripts/kotex-utils/jamo-normalize.pl \
		${WRKSRC}/bin/jamo-normalize
	${MV} ${WRKSRC}/texmf-dist/scripts/kotex-utils/komkindex.pl \
		${WRKSRC}/bin/komkindex
	${MV} ${WRKSRC}/texmf-dist/scripts/kotex-utils/ttf2kotexfont.pl \
		${WRKSRC}/bin/ttf2kotexfont
	${RM} -rf ${WRKSRC}/texmf-dist/scripts

.include "../../mk/bsd.pkg.mk"