summaryrefslogtreecommitdiff
path: root/graphics/tex-pstools/Makefile
blob: 7fb9d0c929702cdb0291ee9fa613db7a60102a1b (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
# $NetBSD: Makefile,v 1.1 2013/12/04 18:34:47 minskim Exp $

DISTNAME=	pstools
PKGNAME=	tex-${DISTNAME}-1.68
TEXLIVE_REV=	29764

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Produce Encapsulated PostScript from PostScript
LICENSE=	lppl-1.3c

DEPENDS+=	ps2eps>=1.68:../../graphics/ps2eps
DEPENDS+=	tex-latex-bin-[0-9]*:../../print/tex-latex-bin
DEPENDS+=	tex-pslatex-[0-9]*:../../print/tex-pslatex

USE_TOOLS+=	sh:run

REPLACE_SH=	bin/ps2frag bin/pslatex

TEX_TEXMF_DIRS=	# none

.include "../../print/texlive/package.mk"

post-extract:
	${MKDIR} ${WRKSRC}/bin
	${MV} ${WRKSRC}/texmf-dist/scripts/texlive/ps2frag.sh \
		${WRKSRC}/bin/ps2frag
	${MV} ${WRKSRC}/texmf-dist/scripts/texlive/pslatex.sh \
		${WRKSRC}/bin/pslatex
	${RM} -r ${WRKSRC}/texmf-dist

.include "../../mk/bsd.pkg.mk"