pkgsrc/graphics/tex-epstopdf/Makefile
markd eabc2f7c17 tex-epstopdf{,-doc}: update to 2.27
epstopdf 2.27 contains bug fixes for parsing and checking of the
--gsopt value. For exampole, --gsopt -dAutoFilterColorImages=true
previously incorrectly failed, but now (I hope) works. Thanks to
Yannick Berker for the report, analysis, and fix.
2017-10-23 01:31:30 +00:00

38 lines
950 B
Makefile

# $NetBSD: Makefile,v 1.13 2017/10/23 01:31:30 markd Exp $
DISTNAME= epstopdf
PKGNAME= tex-${DISTNAME}-2.27
TEXLIVE_REV= 45323
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://ctan.org/pkg/epstopdf
COMMENT= Convert EPS to 'encapsulated' PDF using Ghostscript
LICENSE= modified-bsd
CONFLICTS= texlive-pdftools<2011
USE_TOOLS+= gs:run perl:run
REPLACE_PERL= bin/epstopdf
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Setting paths to commands.
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= bin/epstopdf
SUBST_SED.paths+= -e 's,@GHOSTSCRIPT@,${TOOLS_PATH.gs},g'
SUBST_SED.paths+= -e 's,@KPSEWHICH@,${LOCALBASE}/bin/kpsewhich,g'
INSTALLATION_DIRS= bin
TEX_TEXMF_DIRS= # empty
.include "../../print/texlive/package.mk"
post-extract:
${MKDIR} ${WRKSRC}/bin
${MV} ${WRKSRC}/texmf-dist/scripts/epstopdf/epstopdf.pl \
${WRKSRC}/bin/epstopdf
post-install:
${LN} -sf epstopdf ${DESTDIR}${PREFIX}/bin/repstopdf
.include "../../mk/bsd.pkg.mk"