pkgsrc/ham/uhd/options.mk
dbj ff6222dc7e fix build without doxygen
bump pkgrevision for removing DEPENDS in favor of BUILD_DEPENDS
2017-07-24 07:30:07 +00:00

20 lines
595 B
Makefile

# $NetBSD: options.mk,v 1.5 2017/07/24 07:30:07 dbj Exp $
### Set options
PKG_OPTIONS_VAR= PKG_OPTIONS.uhd
PKG_SUPPORTED_OPTIONS= doxygen manual
PKG_SUGGESTED_OPTIONS= doxygen manual
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdoxygen)
BUILD_DEPENDS+= doxygen>=1.8.12:../../devel/doxygen
PLIST_SRC+= ${PKGDIR}/PLIST.doxygen
CMAKE_ARGS+= -DENABLE_DOXYGEN:BOOL=ON
.else
CMAKE_ARGS+= -DENABLE_DOXYGEN:BOOL=OFF
.endif
.if !empty(PKG_OPTIONS:Mmanual)
BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
#PLIST_SRC+= ${PKGDIR}/PLIST.manual
.endif