summaryrefslogtreecommitdiff
path: root/textproc/asciidoc
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
commit1386bc8a9e378669cd226fede911ef426d7af7b6 (patch)
treeb15c7e17a59f4285533417800abffcd7153da5bf /textproc/asciidoc
parenta64e71e9335a97559f156be662e0a37106a832bf (diff)
downloadpkgsrc-1386bc8a9e378669cd226fede911ef426d7af7b6.tar.gz
options.mk was left aside the previous commit
Diffstat (limited to 'textproc/asciidoc')
-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