pkgsrc/devel/libnet/options.mk
khorben 011ea57c23 libnet: add optional support for generating the documentation
No PKGREVISION bump, as the default remains the same (no documentation).
2021-07-21 22:35:25 +00:00

15 lines
347 B
Makefile

# $NetBSD: options.mk,v 1.1 2021/07/21 22:35:25 khorben Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libnet
PKG_SUPPORTED_OPTIONS= doxygen
PLIST_VARS+= doxygen
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdoxygen)
BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
PLIST.doxygen= yes
.else
CONFIGURE_ARGS+= --disable-doxygen-doc
.endif