pkgsrc/print/tex-bin-latex/Makefile

36 lines
1.1 KiB
Makefile

# $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"