Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2004 02:25:55 +1000 (EST)
From:      Sam Lawrance <boris@brooknet.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68052: [NEW PORT] graphics/jumpgis: A GUI based application for viewing and processing spatial data
Message-ID:  <20040617162555.1FA52402@localhost>
Resent-Message-ID: <200406171630.i5HGUaYu019495@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68052
>Category:       ports
>Synopsis:       [NEW PORT] graphics/jumpgis: A GUI based application for viewing and processing spatial data
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 17 16:30:35 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Sam Lawrance
>Release:        FreeBSD 5.2.1-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD dirk.no.domain 5.2.1-RELEASE-p6 FreeBSD 5.2.1-RELEASE-p6 #0: Tue May 11 19:56:34 EST 2004
>Description:
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/

>How-To-Repeat:
>Fix:

Notes -
* I've added a couple of sections to look whether gnomelibs are
installed, and if so install Gnome application links (which I
supplied as PATCHFILES). If this is bad let me know. Last minute
thought - maybe it should just install them unconditionally.
* There's already a java port called "jump" so I renamed this port,
its directories and executables to "jumpgis".
* Feedback always welcome

--- jumpgis-1.1.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	jumpgis
#	jumpgis/Makefile
#	jumpgis/distinfo
#	jumpgis/pkg-descr
#	jumpgis/pkg-plist
#
echo c - jumpgis
mkdir -p jumpgis > /dev/null 2>&1
echo x - jumpgis/Makefile
sed 's/^X//' >jumpgis/Makefile << 'END-of-jumpgis/Makefile'
X# New ports collection makefile for:	JUMP Unified Mapping Platform
X# Date created:				June 16 2004
X# Whom:					Sam Lawrance <boris@brooknet.com.au>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	jumpgis
XPORTVERSION=	1.1.1
XCATEGORIES=	graphics java
XMASTER_SITES=	http://www.jump-project.org/downloads/jump/
XDISTNAME=	jump-${PORTVERSION}
X
XPATCH_SITES=	http://sam.stral.net/freebsd/
XPATCHFILES=	jump.png jump.desktop
X
XMAINTAINER=	boris@brooknet.com.au
XCOMMENT=	A GUI based application for viewing and processing spatial data
X
XWRKSRC=		${WRKDIR}/jump
XTARGET_DIR=	${PREFIX}/${PORTNAME}
XUSE_JAVA=	1.4+
XUSE_ZIP=	yes
XNO_BUILD=	yes
XWANT_GNOME=	yes
XPORTDOCS=	*
X
X.include <bsd.port.pre.mk>
X
X.if ${HAVE_GNOME:Mgnomelibs}!=""
XPLIST_SUB+=	PREFIX=${PREFIX}
XPLIST_FILES+=	"@cwd %%X11BASE%%" \
X		share/gnome/applications/jump.desktop \
X		share/gnome/pixmaps/jump.png \
X		"@cwd %%PREFIX%%"
X.endif
X
Xdo-extract:
X		@${MKDIR} ${WRKDIR}
X		@${MKDIR} ${WRKSRC}
X		@${UNZIP_CMD} -q ${DISTDIR}/jump-1.1.1.zip -d ${WRKSRC}
X
Xdo-patch:
X		@${REINPLACE_CMD} -i "" -e "s,#!sh,#!/bin/sh,g" ${WRKSRC}/bin/JUMPWorkbench-unix.sh
X		@${REINPLACE_CMD} -i "" -e "s,^set LIB=../lib,LIB=${TARGET_DIR}/lib,g" ${WRKSRC}/bin/JUMPWorkbench-unix.sh
X		@${REINPLACE_CMD} -i "" -e "s,workbench-properties.xml,~/.jump-workbench-properties.xml,g" ${WRKSRC}/bin/JUMPWorkbench-unix.sh
X
Xdo-install:
X		@${ECHO_CMD} "---> Installing JAR files"
X		${MKDIR} ${TARGET_DIR}/lib
X		${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${TARGET_DIR}/lib
X		${INSTALL_DATA} -d ${TARGET_DIR}/lib/ext
X		@${ECHO} "Installing startup script"
X		${INSTALL_SCRIPT} ${WRKSRC}/bin/JUMPWorkbench-unix.sh ${PREFIX}/bin/jumpgis
X
X.if !defined(NOPORTDOCS)
X		@${ECHO} "---> Installing documentation"
X		${MKDIR} ${DOCSDIR}
X		${CP} -r ${WRKSRC}/doc/* ${DOCSDIR}
X.else
X		@${ECHO} "---> Skipping documentation"
X.endif
X
X.if ${HAVE_GNOME:Mgnomelibs}!=""
X		@${ECHO} "---> Installing GNOME application links"
X		${INSTALL_DATA} ${DISTDIR}/jump.desktop ${X11BASE}/share/gnome/applications/
X		${INSTALL_DATA} ${DISTDIR}/jump.png ${X11BASE}/share/gnome/pixmaps/
X.endif
X
X.include <bsd.port.post.mk>
END-of-jumpgis/Makefile
echo x - jumpgis/distinfo
sed 's/^X//' >jumpgis/distinfo << 'END-of-jumpgis/distinfo'
XMD5 (jump-1.1.1.zip) = 0caa05e49036baedba8b61f06ced600c
XSIZE (jump-1.1.1.zip) = 8524734
XMD5 (jump.png) = d9f137f2afd0c1a1c2e109a3360f9e06
XSIZE (jump.png) = 786
XMD5 (jump.desktop) = e9f066dca2aea1f809764a33c1d021fc
XSIZE (jump.desktop) = 232
END-of-jumpgis/distinfo
echo x - jumpgis/pkg-descr
sed 's/^X//' >jumpgis/pkg-descr << 'END-of-jumpgis/pkg-descr'
XThe JUMP Unified Mapping Platform (JUMP) is a GUI-based application for
Xviewing and processing spatial data. It includes many functions common
Xto other popular GIS products for the analysis and manipulation of
Xgeospatial data. The JUMP also provides a highly extensible framework
Xfor the development and execution of custom spatial data processing
Xapplications.
X
XWWW: http://www.jump-project.org/
END-of-jumpgis/pkg-descr
echo x - jumpgis/pkg-plist
sed 's/^X//' >jumpgis/pkg-plist << 'END-of-jumpgis/pkg-plist'
Xbin/jumpgis
Xjumpgis/lib/Jama-1.0.1.jar
Xjumpgis/lib/jdom.jar
Xjumpgis/lib/jts-1.4.0.jar
Xjumpgis/lib/jump-1.1.1.jar
Xjumpgis/lib/junit.jar
Xjumpgis/lib/xercesImpl.jar
Xjumpgis/lib/xml-apis.jar
X@dirrm jumpgis/lib/ext
X@dirrm jumpgis/lib
X@dirrm jumpgis
END-of-jumpgis/pkg-plist
exit
--- jumpgis-1.1.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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