diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-31 11:33:40 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-31 11:33:40 +0800 |
commit | 8b0fd4cb6cd425ca2add3e6746883bc1d9aa40c4 (patch) | |
tree | e8c6fab731960fdb48be15c6a2ac0a0d77881344 /graphics/jumpgis/Makefile | |
parent | 25d1a3033fc1968628c7a7224c345b656bef0984 (diff) | |
download | marcuscom-ports-8b0fd4cb6cd425ca2add3e6746883bc1d9aa40c4.tar marcuscom-ports-8b0fd4cb6cd425ca2add3e6746883bc1d9aa40c4.tar.gz marcuscom-ports-8b0fd4cb6cd425ca2add3e6746883bc1d9aa40c4.tar.bz2 marcuscom-ports-8b0fd4cb6cd425ca2add3e6746883bc1d9aa40c4.tar.lz marcuscom-ports-8b0fd4cb6cd425ca2add3e6746883bc1d9aa40c4.tar.xz marcuscom-ports-8b0fd4cb6cd425ca2add3e6746883bc1d9aa40c4.tar.zst marcuscom-ports-8b0fd4cb6cd425ca2add3e6746883bc1d9aa40c4.zip |
X11BASE -> LOCALBASE, share/gnome lives in LOCALBASE. Bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6900 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/jumpgis/Makefile')
-rw-r--r-- | graphics/jumpgis/Makefile | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/graphics/jumpgis/Makefile b/graphics/jumpgis/Makefile new file mode 100644 index 000000000..8bb9c5d41 --- /dev/null +++ b/graphics/jumpgis/Makefile @@ -0,0 +1,70 @@ +# 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.2 +PORTREVISION= 2 +CATEGORIES= graphics java +MASTER_SITES= http://www.jump-project.org/downloads/jump/:main \ + http://people.tecnik93.com/~sam/ports/:extra +DISTFILES= jump-${PORTVERSION}.zip:main \ + jump.png:extra jump.desktop:extra +EXTRACT_ONLY= jump-${PORTVERSION}.zip + +MAINTAINER= lawrance@FreeBSD.org +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 +NO_BUILD= yes +WANT_GNOME= yes +PORTDOCS= * + +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,^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 + ${MKDIR} ${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 ${LOCALBASE}/share/gnome/applications/ + ${INSTALL_DATA} ${DISTDIR}/jump.png ${LOCALBASE}/share/gnome/pixmaps/ +.endif + +.include <bsd.port.post.mk> |