summaryrefslogtreecommitdiff
path: root/multimedia/gnash/options.mk
blob: 8bca3aead02b86fefcdbf7c64443ea4f7be87b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: options.mk,v 1.4 2007/06/12 08:51:14 ghen Exp $
#

PKG_OPTIONS_VAR=	PKG_OPTIONS.gnash
PKG_SUPPORTED_OPTIONS=	klash

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

.if !empty(PKG_OPTIONS:Mklash)
PLIST_SRC+=		${PKGDIR}/PLIST.klash
.include "../../x11/kdebase3/buildlink3.mk"
.include "../../meta-pkgs/kde3/kde3.mk"
CONFIGURE_ARGS+=	--datadir="${PREFIX}/share"
CONFIGURE_ARGS+=	\
	--with-plugindir=${PREFIX}/share/gnash/plugins
CONFIGURE_ARGS+=	--enable-klash
.else
CONFIGURE_ARGS+=	--disable-klash
CONFIGURE_ARGS+=	--disable-plugin
.endif