pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/dblatex Add a default-on dblatex-fig option t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/91be062e03a3
branches: trunk
changeset: 643048:91be062e03a3
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Dec 10 12:27:27 2014 +0000
description:
Add a default-on dblatex-fig option to make transfig dependency optional.
Requested by Mark Meyer on pkgsrc-users.
diffstat:
textproc/dblatex/Makefile | 6 ++++--
textproc/dblatex/options.mk | 11 +++++++++++
2 files changed, 15 insertions(+), 2 deletions(-)
diffs (39 lines):
diff -r bcdf60ad18d5 -r 91be062e03a3 textproc/dblatex/Makefile
--- a/textproc/dblatex/Makefile Wed Dec 10 11:34:47 2014 +0000
+++ b/textproc/dblatex/Makefile Wed Dec 10 12:27:27 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2014/05/29 08:58:24 darcy Exp $
+# $NetBSD: Makefile,v 1.18 2014/12/10 12:27:27 wiz Exp $
DISTNAME= dblatex-0.3.2
PKGREVISION= 3
@@ -13,11 +13,13 @@
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX3-bin
-DEPENDS+= transfig-[0-9]*:../../print/transfig
DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
DEPENDS+= tex-ifxetex-[0-9]*:../../print/tex-ifxetex
USE_LANGUAGES= # none
+USE_TOOLS+= gmake
+
+.include "options.mk"
REPLACE_PYTHON+= scripts/dblatex lib/dbtexmf/dblatex/xetex/*.py
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 0.3.2
diff -r bcdf60ad18d5 -r 91be062e03a3 textproc/dblatex/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/dblatex/options.mk Wed Dec 10 12:27:27 2014 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1 2014/12/10 12:27:27 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.dblatex
+PKG_SUPPORTED_OPTIONS= dblatex-fig
+PKG_SUGGESTED_OPTIONS= dblatex-fig
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdblatex-fig)
+DEPENDS+= transfig-[0-9]*:../../print/transfig
+.endif
Home |
Main Index |
Thread Index |
Old Index