-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
-IUSE=""
+IUSE="gps"
RDEPEND="~sci-libs/grits-9999
x11-libs/gtk+:2
- sci-libs/rsl"
+ sci-libs/rsl
+ gps? ( >=sci-geosciences/gpsd-3 )"
DEPEND="${RDEPEND}"
DOCS="ChangeLog README TODO"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ $(use_enable gps)"
+}