summaryrefslogtreecommitdiff
path: root/print/tex-bin-kotex/Makefile
blob: d2ef193c78087b6c270a1f86209a77de6463d6fd (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
32
33
34
35
# $NetBSD: Makefile,v 1.1.1.1 2009/07/20 11:09:02 minskim Exp $

DISTNAME=	ko.tex-macro
PKGNAME=	tex-bin-kotex-0.1.1
CATEGORIES=	print
MASTER_SITES=	http://ftp.ktug.or.kr/KTUG/ko.TeX/

MAINTAINER=	minskim@NetBSD.org
HOMEPAGE=	http://project.ktug.or.kr/ko.TeX/
COMMENT=	Utilities for tex-kotex

PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=	perl:run
WRKSRC=		${WRKDIR}/util

REPLACE_PERL=	*.pl

INSTALLATION_DIRS+=	bin

do-build:
.for f in hbibtex hmakeindex
	cd ${WRKSRC} && ${CC} ${CPPFLAGS} ${CFLAGS} -o ${f} ${f}.c
.endfor

do-install:
.for f in hbibtex hmakeindex
	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/bin
.endfor
.for f in euc-bookmark hypua2jamo insertjamofiller jamo2hypua komkindex \
	ttf2kotexfont
	${INSTALL_SCRIPT} ${WRKSRC}/${f}.pl ${DESTDIR}${PREFIX}/bin/${f}
.endfor

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