summaryrefslogtreecommitdiff
path: root/print/tex-bin-latex/Makefile
blob: 54d42af77f70a095fa16987ab3aca29880e47cd7 (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
# $NetBSD: Makefile,v 1.4 2009/04/29 21:38:28 minskim Exp $
# TeX Live Revision 12778

DISTNAME=	bin-latex
PKGNAME=	tex-${DISTNAME}-2008.12778
PKGREVISION=	2
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-bin-kpathsea-[0-9]*:../../print/tex-bin-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

.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"