20 lines
546 B
Makefile
20 lines
546 B
Makefile
# $NetBSD: options.mk,v 1.7 2015/05/23 08:53:11 bsiegert Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.tor
|
|
PKG_SUPPORTED_OPTIONS= doc
|
|
PKG_SUGGESTED_OPTIONS+= doc
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### This enables the build of manual pages. It requires asciidoc
|
|
### at build time, which comes with a tail of dependencies and
|
|
### may not be wanted under certain circumstances.
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mdoc)
|
|
BUILD_DEPENDS+= asciidoc>=8.3.3:../../textproc/asciidoc
|
|
CONFIGURE_ARGS+= --enable-asciidoc
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-asciidoc
|
|
.endif
|