pkgsrc/x11/libxkbcommon/options.mk
wiz ac00580261 Improve doc handling, from Niclas Rosenvik in PR 48454.
Really fixes packaging when doxygen already is installed.

No change by default, so no PKGREVISION++.
2013-12-18 18:51:03 +00:00

16 lines
365 B
Makefile

# $NetBSD: options.mk,v 1.1 2013/12/18 18:51:03 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libxkbcommon
PKG_SUPPORTED_OPTIONS= doc
PLIST_VARS+= doc
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdoc)
BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
PLIST.doc= yes
CONFIGURE_ARGS+= --enable-docs=yes
.else
CONFIGURE_ARGS+= --enable-docs=no
.endif