summaryrefslogtreecommitdiff
path: root/graphics/jumpgis/Makefile
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/jumpgis/Makefile
parent- Fix build with gcc-3.4 (diff)
Add jumpgis 1.1.1, a GUI based application for viewing and
processing spatial data. PR: 68052 Submitted by: Sam Lawrance
Notes
Notes: svn path=/head/; revision=115681
Diffstat (limited to 'graphics/jumpgis/Makefile')
-rw-r--r--graphics/jumpgis/Makefile71
1 files changed, 71 insertions, 0 deletions
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>