[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / ham / uhd

File: [cvs.NetBSD.org] / pkgsrc / ham / uhd / options.mk (download)

Revision 1.5, Mon Jul 24 07:30:07 2017 UTC (3 years, 4 months ago) by dbj
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.4: +5 -2 lines

fix build without doxygen
bump pkgrevision for removing DEPENDS in favor of BUILD_DEPENDS

# $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