[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / print / tex-pdftex

File: [cvs.NetBSD.org] / pkgsrc / print / tex-pdftex / Makefile (download)

Revision 1.24, Sat Jan 26 08:39:32 2019 UTC (5 months, 3 weeks ago) by markd
Branch: MAIN
Changes since 1.23: +4 -3 lines

tex-pdftex{,-doc}: update to 2018

add dependency on tex-dehyph

2018/09/19 Added --distilleropts optlist command line flag for
           options to be added to the distiller application;
           e.g. "-dCompatibilityLevel=1.5 -dNOSAFER".
           Removed uses of echo -n.
2018/09/24 Added -dCompatibilityLevel=15 into the distillerprog definition
           and removed quotes around execution of ${distillerprog} so it can
           contain options.

# $NetBSD: Makefile,v 1.24 2019/01/26 08:39:32 markd Exp $

DISTNAME=	pdftex
PKGNAME=	tex-${DISTNAME}-2018
TEXLIVE_REV=	48752

MAINTAINER=	minskim@NetBSD.org
HOMEPAGE=	http://ctan.org/pkg/pdftex
COMMENT=	TeX extension for direct creation of PDF
LICENSE=	gnu-gpl-v2

DEPENDS+=	tex-dehyph-[0-9]*:../../print/tex-dehyph
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+=	tex-tex-ini-files-[0-9]*:../../print/tex-tex-ini-files
DEPENDS+=	tex-updmap-map-[0-9]*:../../print/tex-updmap-map
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"

TEX_MAP_FILES+= dummy-space.map

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