diff options
author | jperkin <jperkin> | 2015-11-25 12:50:43 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2015-11-25 12:50:43 +0000 |
commit | 43680f8153e06ee0f2889fd8a929c68f80aa3bd6 (patch) | |
tree | 86eb059496354ccd274b3fd95c2821669fe397fd /graphics/tex-pst-pdf | |
parent | 8b766eebf86aa37d91d14fe111fde6db343d185a (diff) | |
download | pkgsrc-43680f8153e06ee0f2889fd8a929c68f80aa3bd6.tar.gz |
Remove mk/find-prefix.mk usage from the graphics category.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.
Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.
Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
Diffstat (limited to 'graphics/tex-pst-pdf')
-rw-r--r-- | graphics/tex-pst-pdf/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/graphics/tex-pst-pdf/Makefile b/graphics/tex-pst-pdf/Makefile index 214413eac06..27bc5f9ffe8 100644 --- a/graphics/tex-pst-pdf/Makefile +++ b/graphics/tex-pst-pdf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2013/04/24 10:16:08 sbd Exp $ +# $NetBSD: Makefile,v 1.4 2015/11/25 12:50:44 jperkin Exp $ DISTNAME= pst-pdf PKGNAME= tex-${DISTNAME}-1.1v @@ -20,10 +20,6 @@ DEPENDS+= tex-pstricks-[0-9]*:../../graphics/tex-pstricks USE_TOOLS+= gs:run -EVAL_PREFIX+= DVIPS_PREFIX=dvipsk -EVAL_PREFIX+= PS2PDF_PREFIX=ghostscript -EVAL_PREFIX+= LATEX_PREFIX=tex-latex-bin -EVAL_PREFIX+= PDFCROP_PREFIX=tex-pdfcrop USE_TOOLS+= sed:run sh:run REPLACE_SH= bin/ps4pdf @@ -32,11 +28,11 @@ 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@,${DVIPS_PREFIX}/bin/dvips,g' -SUBST_SED.paths+= -e 's,@LATEX@,${LATEX_PREFIX}/bin/latex,g' -SUBST_SED.paths+= -e 's,@PDFCROP@,${PDFCROP_PREFIX}/bin/pdfcrop,g' -SUBST_SED.paths+= -e 's,@PDFLATEX@,${LATEX_PREFIX}/bin/pdflatex,g' -SUBST_SED.paths+= -e 's,@PS2PDF@,${PS2PDF_PREFIX}/bin/ps2pdf,g' +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 |