summaryrefslogtreecommitdiff
path: root/misc/libcarddav/options.mk
blob: 64deb267690697232dfd9eec65e5519b8ccfe409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: options.mk,v 1.1.1.1 2012/01/08 15:18:40 wiz Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.libcarddav
PKG_SUPPORTED_OPTIONS=	doxygen
PKG_SUGGESTED_OPTIONS=	doxygen

.include "../../mk/bsd.options.mk"

PLIST_VARS+=	doxygen

.if !empty(PKG_OPTIONS:Mdoxygen)
BUILD_DEPENDS+=		doxygen-[0-9]*:../../devel/doxygen
BUILD_DEPENDS+=		tex-ec-[0-9]*:../../fonts/tex-ec
CONFIGURE_ARGS+=	--enable-doc
PLIST.doxygen=		yes
.else
CONFIGURE_ARGS+=	--disable-doxygen-doc
.endif