summaryrefslogtreecommitdiff
path: root/textproc/asciidoc/options.mk
diff options
context:
space:
mode:
authorgls <gls@pkgsrc.org>2010-08-25 02:17:27 +0000
committergls <gls@pkgsrc.org>2010-08-25 02:17:27 +0000
commitb1769a93a6c795c3513e8b43c5e6e479d8bbb7c0 (patch)
treeb15c7e17a59f4285533417800abffcd7153da5bf /textproc/asciidoc/options.mk
parent990259e00df897969b84ea1cc32d1d32223a69e9 (diff)
downloadpkgsrc-b1769a93a6c795c3513e8b43c5e6e479d8bbb7c0.tar.gz
options.mk was left aside the previous commit
Diffstat (limited to 'textproc/asciidoc/options.mk')
-rw-r--r--textproc/asciidoc/options.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/asciidoc/options.mk b/textproc/asciidoc/options.mk
new file mode 100644
index 00000000000..4c5f0b50966
--- /dev/null
+++ b/textproc/asciidoc/options.mk
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.1 2010/08/25 02:17:27 gls Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.asciidoc
+PKG_SUPPORTED_OPTIONS= pdf epub
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpdf)
+DEPENDS+= dblatex-[0-9]*:../../textproc/dblatex
+.endif
+.if !empty(PKG_OPTIONS:Mepub)
+DEPENDS+= libxml2-[0-9]*:../../textproc/libxml2
+DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
+.endif