diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2012-12-04 07:20:38 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2012-12-04 07:20:38 +0800 |
commit | 2ed490f79379ddbd29afcdae494377f1eec6736d (patch) | |
tree | e68f2b5229e45e6335e0d561203e5e6f1aa8e242 /astro/gpsprune | |
parent | d2763d507287dd75d2deff0672cdf173b5e05f4c (diff) | |
download | freebsd-ports-gnome-2ed490f79379ddbd29afcdae494377f1eec6736d.tar.gz freebsd-ports-gnome-2ed490f79379ddbd29afcdae494377f1eec6736d.tar.zst freebsd-ports-gnome-2ed490f79379ddbd29afcdae494377f1eec6736d.zip |
- 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 <c.petrik.sosa@gmail.com>
Feature safe: yes
Diffstat (limited to 'astro/gpsprune')
-rw-r--r-- | astro/gpsprune/Makefile | 41 | ||||
-rw-r--r-- | astro/gpsprune/distinfo | 2 | ||||
-rw-r--r-- | astro/gpsprune/files/gpsprune.sh.in | 9 | ||||
-rw-r--r-- | astro/gpsprune/pkg-descr | 14 |
4 files changed, 66 insertions, 0 deletions
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 <amdmi3@FreeBSD.org> +# $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 <bsd.port.options.mk> + +.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 <bsd.port.mk> 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/ |