From a258564a25a09be7edf1d52735811069eae4ea8a Mon Sep 17 00:00:00 2001 From: miwi Date: Fri, 2 May 2008 10:09:47 +0000 Subject: viking is a free/open source program to manage GPS data. You can import and plot tracks and waypoints, show Google maps and/or Terraserver maps under it, download geocaches for an area on the map, make new tracks and waypoints, see real-time GPS position, etc. It is written in C with the GTK+ 2 toolkit, available for Linux, other POSIX operating systems, and Windows, and is licensed under the GNU GPL. WWW: http://viking.sourceforge.net PR: ports/123238 Submitted by: David Le Brun --- astro/Makefile | 1 + astro/viking/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ astro/viking/distinfo | 3 +++ astro/viking/pkg-descr | 10 ++++++++++ astro/viking/pkg-plist | 9 +++++++++ 5 files changed, 68 insertions(+) create mode 100644 astro/viking/Makefile create mode 100644 astro/viking/distinfo create mode 100644 astro/viking/pkg-descr create mode 100644 astro/viking/pkg-plist (limited to 'astro') diff --git a/astro/Makefile b/astro/Makefile index 38f53535f27..f7a0214b0b1 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -71,6 +71,7 @@ SUBDIR += sunclock SUBDIR += tclgeomap SUBDIR += tkgeomap + SUBDIR += viking SUBDIR += weatherget SUBDIR += weatherspect SUBDIR += wmglobe diff --git a/astro/viking/Makefile b/astro/viking/Makefile new file mode 100644 index 00000000000..070bdbd02da --- /dev/null +++ b/astro/viking/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: viking +# Date created: 29 April 2008 +# Whom: David Le Brun +# +# $FreeBSD$ +# + +PORTNAME= viking +PORTVERSION= 0.9.4 +CATEGORIES= astro +MASTER_SITES= SF + +MAINTAINER= david@trucs.org +COMMENT= Program to manage GPS data (tracks, waypoints, etc) + +LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl \ + expat.6:${PORTSDIR}/textproc/expat2 +RUN_DEPENDS= gpsbabel:${PORTSDIR}/astro/gpsbabel + +USE_PERL5_RUN= yes +USE_GMAKE= yes +USE_GNOME= gtk20 libglade2 +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +OPTIONS= GPSD "Enable realtime GPS tracking" off + +.include + +.if defined(WITH_GPSD) +LIB_DEPENDS+= gps.17:${PORTSDIR}/astro/gpsd +.else +CONFIGURE_ARGS+= --disable-realtime-gps-tracking +.endif + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +.include diff --git a/astro/viking/distinfo b/astro/viking/distinfo new file mode 100644 index 00000000000..dbdc06a877a --- /dev/null +++ b/astro/viking/distinfo @@ -0,0 +1,3 @@ +MD5 (viking-0.9.4.tar.gz) = 2bbd80435535a4be897ac56c8bf5f8ae +SHA256 (viking-0.9.4.tar.gz) = 14b65e33eb0b02ce05962f516a4b5c96ff078e646ba4f482e30975dc3b33e3e3 +SIZE (viking-0.9.4.tar.gz) = 585989 diff --git a/astro/viking/pkg-descr b/astro/viking/pkg-descr new file mode 100644 index 00000000000..a2187e38317 --- /dev/null +++ b/astro/viking/pkg-descr @@ -0,0 +1,10 @@ +viking is a free/open source program to manage GPS data. + +You can import and plot tracks and waypoints, show Google maps and/or +Terraserver maps under it, download geocaches for an area on the map, make new +tracks and waypoints, see real-time GPS position, etc. + +It is written in C with the GTK+ 2 toolkit, available for Linux, other POSIX +operating systems, and Windows, and is licensed under the GNU GPL. + +WWW: http://viking.sourceforge.net diff --git a/astro/viking/pkg-plist b/astro/viking/pkg-plist new file mode 100644 index 00000000000..96d525faad0 --- /dev/null +++ b/astro/viking/pkg-plist @@ -0,0 +1,9 @@ +bin/viking +bin/viking-remote +%%NLS%%share/locale/cs/LC_MESSAGES/viking.mo +%%NLS%%share/locale/da/LC_MESSAGES/viking.mo +%%NLS%%share/locale/de/LC_MESSAGES/viking.mo +%%NLS%%share/locale/es/LC_MESSAGES/viking.mo +%%NLS%%share/locale/fr/LC_MESSAGES/viking.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/viking.mo +%%NLS%%share/locale/sv/LC_MESSAGES/viking.mo -- cgit