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

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

Revision 1.7, Wed Jun 21 11:45:59 2017 UTC (2 years, 8 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.6: +3 -3 lines

Update to TeXlive 2017

  Updated print/tex-paralist{,-doc} to 2.7
  Updated print/tex-pdfpages{,-doc} to 0.5h
  Updated print/tex-plain to 3.141592653.43076
  Updated print/tex-platex{,-doc} to 2017
  Updated print/tex-polski{,-doc} to 1.3.4
  Updated print/tex-preview{,-doc} to 11.90
  Updated print/tex-program{,-doc} to 3.3.14
  Updated graphics/tex-pst-3dplot{,-doc} to 2.04
  Updated graphics/tex-pst-barcode{,-doc} to 0.16a
  Updated graphics/tex-pst-circ{,-doc} to 2.14
  Updated geography/tex-pst-geo{,-doc} to 2.06
  Updated graphics/tex-pst-node{,-doc} to 1.39
  Updated graphics/tex-pst-pdf{,-doc} to 1.2c
  Updated graphics/tex-pst-plot{,-doc} to 1.79
  Updated graphics/tex-pst-tools{,-doc} to 0.06
  Updated graphics/tex-pst-tree{,-doc} to 1.13
  Updated graphics/tex-pstricks{,-doc} to 2.73a
  Updated graphics/tex-pstricks-add{,-doc} to 3.83
  Updated print/tex-ptex-base{,-doc} to 2017
  Updated fonts/tex-ptex-fonts{,-doc} to 2017

# $NetBSD: Makefile,v 1.7 2017/06/21 11:45:59 markd Exp $

DISTNAME=	pst-pdf
PKGNAME=	tex-${DISTNAME}-1.2c
TEXLIVE_REV=	44047

MAINTAINER=	minskim@NetBSD.org
HOMEPAGE=	http://ctan.org/pkg/pst-pdf
COMMENT=	Make PDF versions of graphics by processing between runs
LICENSE=	lppl-1.3c

CONFLICTS=	texlive-pdftools<2011
DEPENDS+=	dvipsk-[0-9]*:../../print/dvipsk
DEPENDS+=	tex-environ-[0-9]*:../../print/tex-environ
DEPENDS+=	tex-graphics-[0-9]*:../../print/tex-graphics
DEPENDS+=	tex-graphics-def-[0-9]*:../../print/tex-graphics-def
DEPENDS+=	tex-latex-bin-[0-9]*:../../print/tex-latex-bin
DEPENDS+=	tex-pdfcrop-[0-9]*:../../graphics/tex-pdfcrop
DEPENDS+=	tex-preview-[0-9]*:../../print/tex-preview
DEPENDS+=	tex-pstricks-[0-9]*:../../graphics/tex-pstricks

USE_TOOLS+=	gs:run

USE_TOOLS+=	sed:run sh:run

REPLACE_SH=	bin/ps4pdf

SUBST_CLASSES+=		paths
SUBST_MESSAGE.paths=	Setting paths to commands.
SUBST_STAGE.paths=	pre-configure
SUBST_FILES.paths=	bin/ps4pdf
SUBST_SED.paths+=	-e 's,@DVIPS@,${LOCALBASE}/bin/dvips,g'
SUBST_SED.paths+=	-e 's,@LATEX@,${LOCALBASE}/bin/latex,g'
SUBST_SED.paths+=	-e 's,@PDFCROP@,${LOCALBASE}/bin/pdfcrop,g'
SUBST_SED.paths+=	-e 's,@PDFLATEX@,${LOCALBASE}/bin/pdflatex,g'
SUBST_SED.paths+=	-e 's,@PS2PDF@,${LOCALBASE}/bin/ps2pdf,g'
SUBST_SED.paths+=	-e 's,@SED@,${TOOLS_PATH.sed},g'

INSTALLATION_DIRS+=	bin

TEXLIVE_IGNORE_PATTERNS=	texmf-dist/scripts/pst-pdf/ps4pdf.bat*

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

post-extract:
	${MKDIR} ${WRKSRC}/bin
	${MV} ${WRKSRC}/texmf-dist/scripts/pst-pdf/ps4pdf ${WRKSRC}/bin/

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