pkgsrc/textproc/asciidoc/options.mk
gls 87ed81e549 - Simplify /usr/bin/env handling.
- Add an option to enable source highlighting, dragging in
textproc/source-highlight. Off by default.
2012-02-13 22:38:06 +00:00

18 lines
525 B
Makefile

# $NetBSD: options.mk,v 1.2 2012/02/13 22:38:06 gls Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.asciidoc
PKG_SUPPORTED_OPTIONS= pdf epub highlight
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
.if !empty(PKG_OPTIONS:Mhighlight)
DEPENDS+= source-highlight-[0-9]*:../../textproc/source-highlight
.endif