blob: e9346da50a5204fabc028dd744e4f94e53bec4bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.9 2015/11/25 12:50:44 jperkin Exp $
DISTNAME= epstopdf
PKGNAME= tex-${DISTNAME}-2.23
PKGREVISION= 1
TEXLIVE_REV= 36139
MAINTAINER= minskim@NetBSD.org
COMMENT= Convert EPS to 'encapsulated' PDF using Ghostscript
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"
|