summaryrefslogtreecommitdiff
path: root/audio/amarok-kde3/options.mk
blob: a0fe44afde9a55693d801e381c36a1107387531d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: options.mk,v 1.1.1.1 2010/02/16 08:59:13 wiz Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.amarok
PKG_SUPPORTED_OPTIONS=	libgpod libmtp mysql pgsql

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

PLIST_VARS+=	ipod libmtp

.if !empty(PKG_OPTIONS:Mlibgpod)
PLIST.ipod=		yes
CONFIGURE_ARGS+=	--enable-libgpod
BUILDLINK_API_DEPENDS.libgpod+=	libgpod>=0.4.2
.  include "../../audio/libgpod/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mlibmtp)
PLIST.libmtp=		yes
.  include "../../devel/libmtp/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mmysql)
CONFIGURE_ARGS+=	--enable-mysql
.  include "../../mk/mysql.buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mpgsql)
CONFIGURE_ARGS+=	--enable-postgresql
.  include "../../mk/pgsql.buildlink3.mk"
.endif