38bfbe84a1
Add doc option to enable building documentation, defaulting to off. Bump PKGREVISION, even though package didn't package before except if you had doxygen installed.
15 lines
316 B
Makefile
15 lines
316 B
Makefile
# $NetBSD: options.mk,v 1.1 2014/01/05 19:56:50 wiz Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.opus
|
|
PKG_SUPPORTED_OPTIONS= doc
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= doc
|
|
|
|
.if !empty(PKG_OPTIONS:Mdoc)
|
|
BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
|
|
PLIST.doc= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-doc
|
|
.endif
|