pkgsrc/graphics/tex-epstopdf/Makefile
rillig b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00

40 lines
992 B
Makefile

# $NetBSD: Makefile,v 1.18 2020/01/18 23:32:23 rillig Exp $
DISTNAME= epstopdf
PKGNAME= tex-${DISTNAME}-2.28
PKGREVISION= 1
TEXLIVE_REV= 48684
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= https://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
TEXLIVE_UNVERSIONED= yes
.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"