2018-07-03 05:48:38 +02:00
|
|
|
# $NetBSD: options.mk,v 1.3 2018/07/03 03:48:38 adam Exp $
|
2010-08-25 04:17:27 +02:00
|
|
|
|
2018-07-03 05:48:38 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.asciidoc
|
2012-02-13 23:38:06 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= pdf epub highlight
|
2010-08-25 04:17:27 +02:00
|
|
|
|
|
|
|
.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
|
2012-02-13 23:38:06 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mhighlight)
|
|
|
|
DEPENDS+= source-highlight-[0-9]*:../../textproc/source-highlight
|
|
|
|
.endif
|