summaryrefslogtreecommitdiff
path: root/print/tex-bin-latex/Makefile
blob: 8ad53f6242c4c6f6664bd35de853eec6ebc35ef9 (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
# $NetBSD: Makefile,v 1.7 2010/01/30 15:46:51 minskim Exp $
# TeX Live Revision 12778

DISTNAME=	bin-latex
PKGNAME=	tex-${DISTNAME}-2008.12778
PKGREVISION=	5
DIST_SUBDIR=	${PKGNAME_NOREV}nb1

MAINTAINER=	minskim@NetBSD.org
COMMENT=	TeX macro package that defines LaTeX

CONFLICTS+=	teTeX-bin<=3.0nb31
DEPENDS+=	tex-babel-[0-9]*:../../print/tex-babel
DEPENDS+=	tex-kpathsea-[0-9]*:../../print/tex-kpathsea
DEPENDS+=	tex-hyphen-base-[0-9]*:../../print/tex-hyphen-base
DEPENDS+=	tex-latex-[0-9]*:../../print/tex-latex
DEPENDS+=	tex-latexconfig-[0-9]*:../../print/tex-latexconfig
DEPENDS+=	tex-luatex-[0-9]*:../../print/tex-luatex
DEPENDS+=	tex-pdftex-[0-9]*:../../print/tex-pdftex

INSTALLATION_DIRS+=	bin

TEX_FORMAT_NAMES+=	latex
TEX_TEXMF_DIRS+=	${PREFIX}/share/texmf

TEXLIVE_IGNORE_PATTERNS=	texmf/tex

.include "../../print/texlive/module.mk"

post-install:
	${LN} -sf pdftex ${DESTDIR}${PREFIX}/bin/latex
	${LN} -sf pdftex ${DESTDIR}${PREFIX}/bin/pdflatex
	${LN} -sf luatex ${DESTDIR}${PREFIX}/bin/lualatex
	${LN} -sf luatex ${DESTDIR}${PREFIX}/bin/pdflualatex

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