aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences/gpsman/gpsman-6.4.4.2.ebuild')
-rw-r--r--sci-geosciences/gpsman/gpsman-6.4.4.2.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/sci-geosciences/gpsman/gpsman-6.4.4.2.ebuild b/sci-geosciences/gpsman/gpsman-6.4.4.2.ebuild
new file mode 100644
index 0000000..bea103f
--- /dev/null
+++ b/sci-geosciences/gpsman/gpsman-6.4.4.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="A graphical GPS data manager that supports several devices."
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+HOMEPAGE="http://gpsman.sourceforge.net/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc utils"
+
+DEPEND=""
+
+RDEPEND=">=dev-lang/tcl-8.4
+ >=dev-lang/tk-8.4"
+
+GMDIR="/usr/share/gpsman"
+
+src_prepare() {
+ # Set proper GM path:
+ sed -i -e "s:gmsrc:${GMDIR}/gmsrc:" gpsman.tcl
+}
+
+src_install() {
+ newbin gpsman.tcl gpsman
+
+ dodir ${GMDIR}/gmsrc
+ insinto ${GMDIR}/gmsrc
+ doins -r gmsrc/*
+
+ doman man/man1/gpsman.1
+
+ if use utils
+ then
+ dodir ${GMDIR}/util
+ exeinto ${GMDIR}/util
+ doexe util/*
+ fi
+
+ if use doc
+ then
+ dodoc manual/GPSMandoc.pdf
+ dohtml -r manual/html/*
+ fi
+}
+
+pkg_info() {
+ einfo "Support for the Garmin USB protocal requires a"
+ einfo "kernel >= version 2.6.11 and the USB_SERIAL_GARMIN"
+ einfo "option set."
+ use doc && einfo "See /usr/share/doc/${P}/ for more info."
+}