Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2012 23:20:38 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308179 - in head: . astro astro/gpsprune astro/gpsprune/files astro/prune
Message-ID:  <201212032320.qB3NKc1X079922@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec  3 23:20:38 2012
New Revision: 308179
URL: http://svnweb.freebsd.org/changeset/ports/308179

Log:
  - 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

Added:
  head/astro/gpsprune/
     - copied from r301355, head/astro/prune/
  head/astro/gpsprune/files/gpsprune.sh.in
     - copied unchanged from r301355, head/astro/prune/files/prune.sh.in
Deleted:
  head/astro/gpsprune/files/prune.sh.in
  head/astro/prune/
Modified:
  head/MOVED
  head/astro/Makefile
  head/astro/gpsprune/Makefile
  head/astro/gpsprune/distinfo
  head/astro/gpsprune/pkg-descr

Modified: head/MOVED
==============================================================================
--- head/MOVED	Mon Dec  3 22:49:42 2012	(r308178)
+++ head/MOVED	Mon Dec  3 23:20:38 2012	(r308179)
@@ -3940,3 +3940,4 @@ www/jetspeed||2012-11-30|Has expired: De
 deskutils/abacus||2012-12-03|Has expired: Dead upstream
 lang/tcl82||2012-12-03|No longer developed, no more consumers
 x11-toolkits/tk82||2012-12-03|No longer developed, no more consumers
+astro/prune|astro/gpsprune|Project was renamed

Modified: head/astro/Makefile
==============================================================================
--- head/astro/Makefile	Mon Dec  3 22:49:42 2012	(r308178)
+++ head/astro/Makefile	Mon Dec  3 23:20:38 2012	(r308179)
@@ -27,6 +27,7 @@
     SUBDIR += gpsd
     SUBDIR += gpsdrive
     SUBDIR += gpsman
+    SUBDIR += gpsprune
     SUBDIR += gpstk
     SUBDIR += gpxloggerd
     SUBDIR += jday
@@ -80,7 +81,6 @@
     SUBDIR += phoon
     SUBDIR += planets
     SUBDIR += pp3
-    SUBDIR += prune
     SUBDIR += ptiger
     SUBDIR += py-RO
     SUBDIR += py-aipy

Modified: head/astro/gpsprune/Makefile
==============================================================================
--- head/astro/prune/Makefile	Sun Jul 22 22:27:11 2012	(r301355)
+++ head/astro/gpsprune/Makefile	Mon Dec  3 23:20:38 2012	(r308179)
@@ -1,21 +1,17 @@
-# New ports collection makefile for:	prune
-# Date created:		25 Jun 2009
-# Whom:			Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
 # $FreeBSD$
-#
 
-PORTNAME=	prune
-PORTVERSION=	11
+PORTNAME=	gpsprune
+PORTVERSION=	14
 CATEGORIES=	astro java
-MASTER_SITES=	http://activityworkshop.net/software/prune/ \
+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
+COMMENT=	Application for viewing, editing, and converting GPS coordinate data
 
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
@@ -23,22 +19,23 @@ NO_BUILD=	yes
 USE_JAVA=	yes
 JAVA_VERSION=	1.5+
 
-SUB_FILES=	prune.sh
+SUB_FILES=	gpsprune.sh
 SUB_LIST=	JARNAME=${DISTNAME}
 
-PLIST_FILES=	bin/prune-gps-tool ${JAVAJARDIR:C,${PREFIX}/?,,}/${DISTNAME}
+PLIST_FILES=	bin/gpsprune ${JAVAJARDIR:C,${PREFIX}/?,,}/${DISTNAME}
 
-OPTIONS=	THREED "Support for 3D view of track" off
+OPTIONS_DEFINE=	JAVA3D
+JAVA3D_DESC=	Support for 3D view of track
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_THREED)
+.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}/prune.sh ${PREFIX}/bin/prune-gps-tool
+	${INSTALL_SCRIPT} ${WRKDIR}/gpsprune.sh ${PREFIX}/bin/gpsprune
 
 .include <bsd.port.mk>

Modified: head/astro/gpsprune/distinfo
==============================================================================
--- head/astro/prune/distinfo	Sun Jul 22 22:27:11 2012	(r301355)
+++ head/astro/gpsprune/distinfo	Mon Dec  3 23:20:38 2012	(r308179)
@@ -1,2 +1,2 @@
-SHA256 (prune_11.jar) = d1be8333fb6b100134615048f8d6594a785f1251f56ac1d051fdd697673484a9
-SIZE (prune_11.jar) = 646959
+SHA256 (gpsprune_14.jar) = e39eadbbde65510e9d569666f31c2eb0eec40654cd00d0ba3b10bda962ad4e0d
+SIZE (gpsprune_14.jar) = 825614

Copied: head/astro/gpsprune/files/gpsprune.sh.in (from r301355, head/astro/prune/files/prune.sh.in)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/gpsprune/files/gpsprune.sh.in	Mon Dec  3 23:20:38 2012	(r308179, copy of r301355, head/astro/prune/files/prune.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%%" "$@"

Modified: head/astro/gpsprune/pkg-descr
==============================================================================
--- head/astro/prune/pkg-descr	Sun Jul 22 22:27:11 2012	(r301355)
+++ head/astro/gpsprune/pkg-descr	Mon Dec  3 23:20:38 2012	(r308179)
@@ -1,6 +1,6 @@
-Prune 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.
+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
@@ -11,4 +11,4 @@ data (in various text-based formats). It
 Gpx file, or as Kml/Kmz for import into Google Earth, or send it
 to a GPS receiver.
 
-WWW: http://activityworkshop.net/software/prune/
+WWW: http://activityworkshop.net/software/gpsprune/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212032320.qB3NKc1X079922>