pkgsrc/print/tex-pdftex/Makefile

38 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.18 2013/11/17 17:17:20 minskim Exp $
DISTNAME= pdftex
PKGNAME= tex-${DISTNAME}-1.40.11pl32132
TEXLIVE_REV= 32132
MAINTAINER= minskim@NetBSD.org
COMMENT= TeX extension for direct creation of PDF
CONFLICTS+= teTeX-bin<=3.0nb29
DEPENDS+= tex-dvips-[0-9]*:../../print/tex-dvips
DEPENDS+= tex-etex-[0-9]*:../../print/tex-etex
DEPENDS+= tex-hyphen-base-[0-9]*:../../print/tex-hyphen-base
DEPENDS+= tex-kpathsea-[0-9]*:../../print/tex-kpathsea
DEPENDS+= tex-plain-[0-9]*:../../print/tex-plain
DEPENDS+= web2c-[0-9]*:../../print/web2c
USE_TOOLS+= sh:run
REPLACE_SH= bin/simpdftex
INSTALLATION_DIRS+= bin
TEX_FORMATS+= "pdftex pdftex language.def -translate-file=cp227.tcx *pdfetex.ini\\netex pdftex language.def -translate-file=cp227.tcx *etex.ini\\npdfetex pdftex language.def -translate-file=cp227.tcx *pdfetex.ini\\n"
.include "../../print/texlive/package.mk"
post-extract:
${MKDIR} ${WRKSRC}/bin
${MV} ${WRKSRC}/texmf-dist/scripts/simpdftex/simpdftex \
${WRKSRC}/bin/
post-install:
${LN} -sf pdftex ${DESTDIR}${PREFIX}/bin/etex
${LN} -sf pdftex ${DESTDIR}${PREFIX}/bin/pdfetex
.include "../../mk/bsd.pkg.mk"