From 2ed490f79379ddbd29afcdae494377f1eec6736d Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Mon, 3 Dec 2012 23:20:38 +0000 Subject: - The project was renamed, rename port accordingly (astro/prune -> astro/gpsprune) - Update to version 14 - OptionsNG (1) - Trim header (1) PR: 173817 (1) Submitted by: Chris Petrik Feature safe: yes --- astro/gpsprune/Makefile | 41 +++++++++++++++++++++++++++++++++++++ astro/gpsprune/distinfo | 2 ++ astro/gpsprune/files/gpsprune.sh.in | 9 ++++++++ astro/gpsprune/pkg-descr | 14 +++++++++++++ 4 files changed, 66 insertions(+) create mode 100644 astro/gpsprune/Makefile create mode 100644 astro/gpsprune/distinfo create mode 100644 astro/gpsprune/files/gpsprune.sh.in create mode 100644 astro/gpsprune/pkg-descr (limited to 'astro/gpsprune') diff --git a/astro/gpsprune/Makefile b/astro/gpsprune/Makefile new file mode 100644 index 000000000000..cb49bfffb3f0 --- /dev/null +++ b/astro/gpsprune/Makefile @@ -0,0 +1,41 @@ +# Created by: Dmitry Marakasov +# $FreeBSD$ + +PORTNAME= gpsprune +PORTVERSION= 14 +CATEGORIES= astro java +MASTER_SITES= http://activityworkshop.net/software/${PORTNAME}/ \ + http://mirror.amdmi3.ru/distfiles/ +DISTNAME= ${PORTNAME}_${PORTVERSION}.jar +EXTRACT_SUFX= # empty +EXTRACT_ONLY= # empty + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Application for viewing, editing, and converting GPS coordinate data + +NO_WRKSUBDIR= yes +NO_BUILD= yes + +USE_JAVA= yes +JAVA_VERSION= 1.5+ + +SUB_FILES= gpsprune.sh +SUB_LIST= JARNAME=${DISTNAME} + +PLIST_FILES= bin/gpsprune ${JAVAJARDIR:C,${PREFIX}/?,,}/${DISTNAME} + +OPTIONS_DEFINE= JAVA3D +JAVA3D_DESC= Support for 3D view of track + +.include + +.if ${PORT_OPTIONS:MJAVA3D} +RUN_DEPENDS+= java3d>=1.5.2:${PORTSDIR}/java/java3d +.endif + +do-install: + ${MKDIR} ${JAVAJARDIR}/ + ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${JAVAJARDIR}/ + ${INSTALL_SCRIPT} ${WRKDIR}/gpsprune.sh ${PREFIX}/bin/gpsprune + +.include diff --git a/astro/gpsprune/distinfo b/astro/gpsprune/distinfo new file mode 100644 index 000000000000..ecd0042b9944 --- /dev/null +++ b/astro/gpsprune/distinfo @@ -0,0 +1,2 @@ +SHA256 (gpsprune_14.jar) = e39eadbbde65510e9d569666f31c2eb0eec40654cd00d0ba3b10bda962ad4e0d +SIZE (gpsprune_14.jar) = 825614 diff --git a/astro/gpsprune/files/gpsprune.sh.in b/astro/gpsprune/files/gpsprune.sh.in new file mode 100644 index 000000000000..5a91e4813542 --- /dev/null +++ b/astro/gpsprune/files/gpsprune.sh.in @@ -0,0 +1,9 @@ +#!/bin/sh +# +# $FreeBSD$ + +JAVA="%%LOCALBASE%%/bin/java" +JARPATH="%%JAVALIBDIR%%" +export JAVA_VERSION="%%JAVA_VERSION%%" + +exec "${JAVA}" -jar "${JARPATH}/%%JARNAME%%" "$@" diff --git a/astro/gpsprune/pkg-descr b/astro/gpsprune/pkg-descr new file mode 100644 index 000000000000..601a5a14fc50 --- /dev/null +++ b/astro/gpsprune/pkg-descr @@ -0,0 +1,14 @@ +GpsPrune is an application for viewing, editing and converting +coordinate data from GPS systems. Basically it's a tool to let you +play with your GPS data after you get home from your trip. + +It can load data from arbitrary text-based formats (for example, +any tab-separated or comma-separated file) or Xml, or directly from +a GPS receiver. It can display the data (as map view using openstreetmap +images and as altitude profile), edit this data (for example delete +points and ranges, sort waypoints, compress tracks), and save the +data (in various text-based formats). It can also export data as a +Gpx file, or as Kml/Kmz for import into Google Earth, or send it +to a GPS receiver. + +WWW: http://activityworkshop.net/software/gpsprune/ -- cgit