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

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

Revision 1.13, Mon Oct 23 01:31:30 2017 UTC (2 years, 8 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.12: +3 -3 lines

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.

# $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"