aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2010-07-03 20:07:17 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2010-07-03 20:07:17 +0800
commit77d53c7a6d7b32b0ca061b209acd95c8a534c29c (patch)
tree31950189374de555347ade78b4a6615636963f14 /astro
parentdcd9ea4688977d71ddc85058cf3ad2f0d782e995 (diff)
downloadfreebsd-ports-gnome-77d53c7a6d7b32b0ca061b209acd95c8a534c29c.tar.gz
freebsd-ports-gnome-77d53c7a6d7b32b0ca061b209acd95c8a534c29c.tar.zst
freebsd-ports-gnome-77d53c7a6d7b32b0ca061b209acd95c8a534c29c.zip
- Update to 10
- Add optional java3d dependency Feature safe: yes
Diffstat (limited to 'astro')
-rw-r--r--astro/prune/Makefile12
-rw-r--r--astro/prune/distinfo6
2 files changed, 13 insertions, 5 deletions
diff --git a/astro/prune/Makefile b/astro/prune/Makefile
index 4af5cef08362..43bb18998673 100644
--- a/astro/prune/Makefile
+++ b/astro/prune/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= prune
-PORTVERSION= 9
+PORTVERSION= 10
CATEGORIES= astro java
MASTER_SITES= http://activityworkshop.net/software/prune/ \
http://mirror.amdmi3.ru/distfiles/
-DISTNAME= ${PORTNAME}_0${PORTVERSION}.jar
+DISTNAME= ${PORTNAME}_${PORTVERSION}.jar
EXTRACT_SUFX= # empty
EXTRACT_ONLY= # empty
@@ -28,6 +28,14 @@ SUB_LIST= JARNAME=${DISTNAME}
PLIST_FILES= bin/prune-gps-tool ${JAVAJARDIR:C,${PREFIX}/?,,}/${DISTNAME}
+OPTIONS= THREED "Support for 3D view of track" off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_THREED)
+RUN_DEPENDS+= java3d>=1.5.2:${PORTSDIR}/java/java3d
+.endif
+
do-install:
${MKDIR} ${JAVAJARDIR}/
${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${JAVAJARDIR}/
diff --git a/astro/prune/distinfo b/astro/prune/distinfo
index 67faccfb2bd4..15b3f1a6fdc3 100644
--- a/astro/prune/distinfo
+++ b/astro/prune/distinfo
@@ -1,3 +1,3 @@
-MD5 (prune_09.jar) = 6df78ae78498188f7348c6e9bca9500e
-SHA256 (prune_09.jar) = a91f5c854bfdbd261b7d63ed66255888996307729449d03fac4f37cbe9a47601
-SIZE (prune_09.jar) = 538922
+MD5 (prune_10.jar) = 042a1a8b9d7cf78a90b60ee5d7ae8d4b
+SHA256 (prune_10.jar) = f7be254ed2bfd4f877a05268d4f229c6b86685d4abd66be2e7bbd86b4257d8ed
+SIZE (prune_10.jar) = 581060