pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/tex-pdftools Let tex-pdftools honor the x11 option.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/639705d22438
branches:  trunk
changeset: 602971:639705d22438
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Apr 24 20:27:18 2012 +0000

description:
Let tex-pdftools honor the x11 option.

Based on patches from Volkmar Seifert.

diffstat:

 print/tex-pdftools/Makefile   |   4 ++--
 print/tex-pdftools/options.mk |  11 +++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 49db041eac6e -r 639705d22438 print/tex-pdftools/Makefile
--- a/print/tex-pdftools/Makefile       Tue Apr 24 15:43:32 2012 +0000
+++ b/print/tex-pdftools/Makefile       Tue Apr 24 20:27:18 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2011/10/27 19:03:24 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2012/04/24 20:27:18 minskim Exp $
 
 DISTNAME=      pdftools
 PKGNAME=       tex-${DISTNAME}-0.82
@@ -13,7 +13,6 @@
 DEPENDS+=      tex-oberdiek>=2011:../../print/tex-oberdiek
 DEPENDS+=      tex-pst-pdf-[0-9]*:../../graphics/tex-pst-pdf
 DEPENDS+=      web2c-[0-9]*:../../print/web2c
-DEPENDS+=      xpdfopen-[0-9]*:../../print/xpdfopen
 
 EVAL_PREFIX+=  EPSTOPDF_PREFIX=tex-epstopdf
 USE_TOOLS+=    perl:run
@@ -29,6 +28,7 @@
 INSTALLATION_DIRS+=    bin
 TEX_TEXMF_DIRS=                # empty
 
+.include "options.mk"
 .include "../../print/texlive/package.mk"
 
 post-extract:
diff -r 49db041eac6e -r 639705d22438 print/tex-pdftools/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-pdftools/options.mk     Tue Apr 24 20:27:18 2012 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1 2012/04/24 20:27:18 minskim Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.tex-pdftools
+PKG_SUPPORTED_OPTIONS+= x11
+PKG_SUGGESTED_OPTIONS+= x11
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mx11)
+DEPENDS+=      xpdfopen-[0-9]*:../../print/xpdfopen
+.endif



Home | Main Index | Thread Index | Old Index