Wed Apr 24 10:16:08 2013 UTC ()
Instead of having a DEPENDS+=ghostscript... have USE_TOOLS+=gs:run

Bump PKGREVISION


(sbd)
diff -r1.2 -r1.3 pkgsrc/graphics/tex-pst-pdf/Makefile

cvs diff -r1.2 -r1.3 pkgsrc/graphics/tex-pst-pdf/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/tex-pst-pdf/Makefile 2013/03/16 22:53:52 1.2
+++ pkgsrc/graphics/tex-pst-pdf/Makefile 2013/04/24 10:16:08 1.3
@@ -1,33 +1,35 @@ @@ -1,33 +1,35 @@
1# $NetBSD: Makefile,v 1.2 2013/03/16 22:53:52 dholland Exp $ 1# $NetBSD: Makefile,v 1.3 2013/04/24 10:16:08 sbd Exp $
2 2
3DISTNAME= pst-pdf 3DISTNAME= pst-pdf
4PKGNAME= tex-${DISTNAME}-1.1v 4PKGNAME= tex-${DISTNAME}-1.1v
5TEXLIVE_REV= 15878 5TEXLIVE_REV= 15878
6PKGREVISION= 1 6PKGREVISION= 2
7 7
8MAINTAINER= minskim@NetBSD.org 8MAINTAINER= minskim@NetBSD.org
9COMMENT= Make PDF versions of graphics by processing between runs 9COMMENT= Make PDF versions of graphics by processing between runs
10 10
11CONFLICTS= texlive-pdftools<2011 11CONFLICTS= texlive-pdftools<2011
12DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk 12DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
13DEPENDS+= tex-environ-[0-9]*:../../print/tex-environ 13DEPENDS+= tex-environ-[0-9]*:../../print/tex-environ
14DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics 14DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics
15DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin 15DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
16DEPENDS+= tex-pdfcrop-[0-9]*:../../graphics/tex-pdfcrop 16DEPENDS+= tex-pdfcrop-[0-9]*:../../graphics/tex-pdfcrop
17DEPENDS+= tex-pdftex-def-[0-9]*:../../print/tex-pdftex-def 17DEPENDS+= tex-pdftex-def-[0-9]*:../../print/tex-pdftex-def
18DEPENDS+= tex-preview-[0-9]*:../../print/tex-preview 18DEPENDS+= tex-preview-[0-9]*:../../print/tex-preview
19DEPENDS+= tex-pstricks-[0-9]*:../../graphics/tex-pstricks 19DEPENDS+= tex-pstricks-[0-9]*:../../graphics/tex-pstricks
20 20
 21USE_TOOLS+= gs:run
 22
21EVAL_PREFIX+= DVIPS_PREFIX=dvipsk 23EVAL_PREFIX+= DVIPS_PREFIX=dvipsk
22EVAL_PREFIX+= PS2PDF_PREFIX=ghostscript 24EVAL_PREFIX+= PS2PDF_PREFIX=ghostscript
23EVAL_PREFIX+= LATEX_PREFIX=tex-latex-bin 25EVAL_PREFIX+= LATEX_PREFIX=tex-latex-bin
24EVAL_PREFIX+= PDFCROP_PREFIX=tex-pdfcrop 26EVAL_PREFIX+= PDFCROP_PREFIX=tex-pdfcrop
25USE_TOOLS+= sed:run sh:run 27USE_TOOLS+= sed:run sh:run
26 28
27REPLACE_SH= bin/ps4pdf 29REPLACE_SH= bin/ps4pdf
28 30
29SUBST_CLASSES+= paths 31SUBST_CLASSES+= paths
30SUBST_MESSAGE.paths= Setting paths to commands. 32SUBST_MESSAGE.paths= Setting paths to commands.
31SUBST_STAGE.paths= pre-configure 33SUBST_STAGE.paths= pre-configure
32SUBST_FILES.paths= bin/ps4pdf 34SUBST_FILES.paths= bin/ps4pdf
33SUBST_SED.paths+= -e 's,@DVIPS@,${DVIPS_PREFIX}/bin/dvips,g' 35SUBST_SED.paths+= -e 's,@DVIPS@,${DVIPS_PREFIX}/bin/dvips,g'
@@ -37,15 +39,14 @@ SUBST_SED.paths+= -e 's,@PDFLATEX@,${LAT @@ -37,15 +39,14 @@ SUBST_SED.paths+= -e 's,@PDFLATEX@,${LAT
37SUBST_SED.paths+= -e 's,@PS2PDF@,${PS2PDF_PREFIX}/bin/ps2pdf,g' 39SUBST_SED.paths+= -e 's,@PS2PDF@,${PS2PDF_PREFIX}/bin/ps2pdf,g'
38SUBST_SED.paths+= -e 's,@SED@,${TOOLS_PATH.sed},g' 40SUBST_SED.paths+= -e 's,@SED@,${TOOLS_PATH.sed},g'
39 41
40INSTALLATION_DIRS+= bin 42INSTALLATION_DIRS+= bin
41 43
42TEXLIVE_IGNORE_PATTERNS= scripts/pst-pdf/ps4pdf.bat* 44TEXLIVE_IGNORE_PATTERNS= scripts/pst-pdf/ps4pdf.bat*
43 45
44.include "../../print/texlive/package.mk" 46.include "../../print/texlive/package.mk"
45 47
46post-extract: 48post-extract:
47 ${MKDIR} ${WRKSRC}/bin 49 ${MKDIR} ${WRKSRC}/bin
48 ${MV} ${WRKSRC}/scripts/pst-pdf/ps4pdf ${WRKSRC}/bin/ 50 ${MV} ${WRKSRC}/scripts/pst-pdf/ps4pdf ${WRKSRC}/bin/
49 51
50.include "../../print/ghostscript/ghostscript.mk" 
51.include "../../mk/bsd.pkg.mk" 52.include "../../mk/bsd.pkg.mk"