aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-08-08 20:37:58 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-08-08 20:37:58 +0000
commit0185e9e539f6f38811b83f83bdfd2f0d452592c0 (patch)
treedd820544b748258b7572fe68246500b6352a6145 /graphics
parentc2bb2fbfadf539ad3d6a5120f559342bfa9a2f1d (diff)
downloadports-0185e9e539f6f38811b83f83bdfd2f0d452592c0.tar.gz
ports-0185e9e539f6f38811b83f83bdfd2f0d452592c0.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/jumpgis/Makefile71
-rw-r--r--graphics/jumpgis/distinfo6
-rw-r--r--graphics/jumpgis/pkg-descr8
-rw-r--r--graphics/jumpgis/pkg-plist14
5 files changed, 100 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 3b703ca25243..46e74e9b3da5 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -194,6 +194,7 @@
SUBDIR += jpgraph
SUBDIR += jpgtn
SUBDIR += jslice
+ SUBDIR += jumpgis
SUBDIR += juno-2
SUBDIR += k3d
SUBDIR += kalbum
diff --git a/graphics/jumpgis/Makefile b/graphics/jumpgis/Makefile
new file mode 100644
index 000000000000..cd3d5ab50222
--- /dev/null
+++ b/graphics/jumpgis/Makefile
@@ -0,0 +1,71 @@
+# New ports collection makefile for: JUMP Unified Mapping Platform
+# Date created: June 16 2004
+# Whom: Sam Lawrance <boris@brooknet.com.au>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jumpgis
+PORTVERSION= 1.1.1
+CATEGORIES= graphics java
+MASTER_SITES= http://www.jump-project.org/downloads/jump/:main \
+ http://sam.stral.net/freebsd/:extra
+DISTFILES= jump-${PORTVERSION}.zip:main \
+ jump.png:extra jump.desktop:extra
+EXTRACT_ONLY= jump-${PORTVERSION}.zip
+
+MAINTAINER= boris@brooknet.com.au
+COMMENT= A GUI based application for viewing and processing spatial data
+
+WRKSRC= ${WRKDIR}/jump
+EXTRACT_AFTER_ARGS= -d ${WRKSRC}
+TARGET_DIR= ${PREFIX}/${PORTNAME}
+
+USE_JAVA= yes
+JAVA_VERSION= 1.3+
+USE_ZIP= yes
+USE_REINPLACE= yes
+NO_BUILD= yes
+WANT_GNOME= yes
+PORTDOCS= *
+
+USE_REINPLACE= yes
+REINPLACE_ARGS= -i ""
+
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mgnomelibs}!=""
+PLIST_SUB+= GNOMELINKS=""
+.else
+PLIST_SUB+= GNOMELINKS="@comment "
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e "s,#!sh,#!/bin/sh,g" \
+ -e "s,^set LIB=../lib,LIB=${TARGET_DIR}/lib,g" \
+ -e "s,workbench-properties.xml,~/.jump-workbench-properties.xml,g" \
+ ${WRKSRC}/bin/JUMPWorkbench-unix.sh
+
+do-install:
+ @${ECHO_CMD} "---> Installing JAR files"
+ ${MKDIR} ${TARGET_DIR}/lib
+ ${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${TARGET_DIR}/lib
+ ${INSTALL_DATA} -d ${TARGET_DIR}/lib/ext
+ @${ECHO_MSG} "Installing startup script"
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/JUMPWorkbench-unix.sh ${PREFIX}/bin/jumpgis
+
+.if !defined(NOPORTDOCS)
+ @${ECHO_MSG} "---> Installing documentation"
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+.else
+ @${ECHO_MSG} "---> Skipping documentation"
+.endif
+
+.if ${HAVE_GNOME:Mgnomelibs}!=""
+ @${ECHO_MSG} "---> Installing GNOME application links"
+ ${INSTALL_DATA} ${DISTDIR}/jump.desktop ${X11BASE}/share/gnome/applications/
+ ${INSTALL_DATA} ${DISTDIR}/jump.png ${X11BASE}/share/gnome/pixmaps/
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/jumpgis/distinfo b/graphics/jumpgis/distinfo
new file mode 100644
index 000000000000..21906d8bdf34
--- /dev/null
+++ b/graphics/jumpgis/distinfo
@@ -0,0 +1,6 @@
+MD5 (jump-1.1.1.zip) = 0caa05e49036baedba8b61f06ced600c
+SIZE (jump-1.1.1.zip) = 8524734
+MD5 (jump.png) = d9f137f2afd0c1a1c2e109a3360f9e06
+SIZE (jump.png) = 786
+MD5 (jump.desktop) = e9f066dca2aea1f809764a33c1d021fc
+SIZE (jump.desktop) = 232
diff --git a/graphics/jumpgis/pkg-descr b/graphics/jumpgis/pkg-descr
new file mode 100644
index 000000000000..acf84b7a1c7d
--- /dev/null
+++ b/graphics/jumpgis/pkg-descr
@@ -0,0 +1,8 @@
+The JUMP Unified Mapping Platform (JUMP) is a GUI-based application for
+viewing and processing spatial data. It includes many functions common
+to other popular GIS products for the analysis and manipulation of
+geospatial data. The JUMP also provides a highly extensible framework
+for the development and execution of custom spatial data processing
+applications.
+
+WWW: http://www.jump-project.org/
diff --git a/graphics/jumpgis/pkg-plist b/graphics/jumpgis/pkg-plist
new file mode 100644
index 000000000000..b3015da9f2f4
--- /dev/null
+++ b/graphics/jumpgis/pkg-plist
@@ -0,0 +1,14 @@
+bin/jumpgis
+jumpgis/lib/Jama-1.0.1.jar
+jumpgis/lib/jdom.jar
+jumpgis/lib/jts-1.4.0.jar
+jumpgis/lib/jump-1.1.1.jar
+jumpgis/lib/junit.jar
+jumpgis/lib/xercesImpl.jar
+jumpgis/lib/xml-apis.jar
+@dirrm jumpgis/lib/ext
+@dirrm jumpgis/lib
+@dirrm jumpgis
+@cwd %%X11BASE%%
+%%GNOMELINKS%%share/gnome/applications/jump.desktop
+%%GNOMELINKS%%share/gnome/pixmaps/jump.png