pkgsrc/devel/editorconfig-core/options.mk
rillig 7724b801cd devel: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 10:39:04 +00:00

19 lines
496 B
Makefile

# $NetBSD: options.mk,v 1.2 2019/11/03 10:39:10 rillig Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.editorconfig-core
PKG_SUPPORTED_OPTIONS= doc
PKG_SUGGESTED_OPTIONS=
PLIST_VARS+= doc
.include "../../mk/bsd.options.mk"
###
### Build and install html documentation and man pages
###
.if !empty(PKG_OPTIONS:Mdoc)
BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
CMAKE_ARGS+= -DBUILD_DOCUMENTATION=ON
CMAKE_ARGS+= -DINSTALL_HTML_DOC=ON
PLIST.doc= yes
.else
CMAKE_ARGS+= -DBUILD_DOCUMENTATION=OFF
.endif