20 lines
537 B
Makefile
20 lines
537 B
Makefile
# $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
|