pkgsrc/graphics/tex-epstopdf/Makefile
wiz d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00

38 lines
948 B
Makefile

# $NetBSD: Makefile,v 1.4 2013/05/31 12:41:09 wiz Exp $
DISTNAME= epstopdf
PKGNAME= tex-${DISTNAME}-2.16
PKGREVISION= 3
TEXLIVE_REV= 19287
MAINTAINER= minskim@NetBSD.org
COMMENT= Convert EPS to 'encapsulated' PDF using GhostScript
CONFLICTS= texlive-pdftools<2011
EVAL_PREFIX+= KPSEWHICH_PREFIX=kpathsea
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@,${KPSEWHICH_PREFIX}/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"