summaryrefslogtreecommitdiff
path: root/textproc/dblatex/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-12-10 12:27:27 +0000
committerwiz <wiz@pkgsrc.org>2014-12-10 12:27:27 +0000
commit8c50c658ce574c6c2a648e85408c771617ba81d5 (patch)
treeb3d7b3c3eb9604022b23785571f9f59f29580f6d /textproc/dblatex/options.mk
parent04e8abd4b8a16c0e8bd4482d563b6adb9cac76fe (diff)
downloadpkgsrc-8c50c658ce574c6c2a648e85408c771617ba81d5.tar.gz
Add a default-on dblatex-fig option to make transfig dependency optional.
Requested by Mark Meyer on pkgsrc-users.
Diffstat (limited to 'textproc/dblatex/options.mk')
-rw-r--r--textproc/dblatex/options.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/dblatex/options.mk b/textproc/dblatex/options.mk
new file mode 100644
index 00000000000..de2d5a562bf
--- /dev/null
+++ b/textproc/dblatex/options.mk
@@ -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