pkgsrc/graphics/tex-epstopdf/Makefile
markd 7c6aa9749f Update some texlive packages to latest versions.
Precise changes unknown
 Updated graphics/tex-animate{,-doc} to 20160727
 Updated graphics/tex-epstopdf{,-doc} to 2.25
 Updated graphics/tex-mcf2graph{,-doc} to 3.95
 Updated graphics/tex-pstricks{,-doc} to 2.68
 Updated graphics/tex-repere{,-doc} to 16.06
2016-08-07 09:01:08 +00:00

38 lines
950 B
Makefile

# $NetBSD: Makefile,v 1.11 2016/08/07 09:01:08 markd Exp $
DISTNAME= epstopdf
PKGNAME= tex-${DISTNAME}-2.25
TEXLIVE_REV= 41607
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"