blob: 672fc20adac0ea7f67b936368cf865b08936989b (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# $NetBSD: Makefile,v 1.6 2006/01/26 03:57:55 minskim Exp $
DISTNAME= HLaTeX-1.0.1
PKGNAME= tex-hlatex-${DISTNAME:S/HLaTeX-//}
PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= ftp://ftp.ktug.or.kr/pub/ktug/hlatex/
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://project.ktug.or.kr/hlatex/
COMMENT= LaTeX package to typeset Hangul
DEPENDS+= tex-uhc-fonts-base>=1.0:../../fonts/tex-uhc-fonts-base
WRKSRC= ${WRKDIR}/HLaTeX
.include "../../print/teTeX/module.mk"
do-build:
${CC} ${CPPFLAGS} ${CFLAGS} -o ${WRKSRC}/hbibtex \
${WRKSRC}/contrib/hbibtex.c
${CC} ${CPPFLAGS} ${CFLAGS} -o ${WRKSRC}/hmakeindex \
${WRKSRC}/contrib/hmakeindex.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hbibtex ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/hmakeindex ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/hlatex
${INSTALL_DATA} ${WRKSRC}/latex/* \
${PKG_LOCALTEXMFPREFIX}/tex/latex/hlatex/
${INSTALL_DATA} ${WRKSRC}/contrib/hbname-k.tex \
${PKG_LOCALTEXMFPREFIX}/tex/latex/hlatex/
${INSTALL_DATA} ${WRKSRC}/contrib/*.sty ${WRKSRC}/contrib/hfn-k.tex \
${PKG_LOCALTEXMFPREFIX}/tex/latex/hlatex/
${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/lambda/hlatex
.for f in u8hangul.tex uhc-test.tex uhc*.fd
${INSTALL_DATA} ${WRKSRC}/lambda/${f} \
${PKG_LOCALTEXMFPREFIX}/tex/lambda/hlatex/
.endfor
${INSTALL_DATA} ${WRKSRC}/contrib/hbname-u.tex \
${PKG_LOCALTEXMFPREFIX}/tex/lambda/hlatex/
${INSTALL_DATA} ${WRKSRC}/contrib/hfn-u.tex \
${PKG_LOCALTEXMFPREFIX}/tex/lambda/hlatex/
${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/omega/ocp/hlatex
${INSTALL_DATA} ${WRKSRC}/lambda/hlatex.ocp \
${PKG_LOCALTEXMFPREFIX}/omega/ocp/hlatex/
${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/omega/otp/hlatex
${INSTALL_DATA} ${WRKSRC}/lambda/hlatex.otp \
${PKG_LOCALTEXMFPREFIX}/omega/otp/hlatex/
${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/bibtex/bst/hlatex
${INSTALL_DATA} ${WRKSRC}/contrib/halpha.bst \
${PKG_LOCALTEXMFPREFIX}/bibtex/bst/hlatex/
${INSTALL_DATA} ${WRKSRC}/contrib/*.ist \
${PKG_LOCALTEXMFPREFIX}/makeindex/
.include "../../mk/bsd.pkg.mk"
|