mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-08 02:15:08 +00:00
06e6677793
remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher. Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5. While here, replace static values of JAVA_VERSION in files/*.in by %%JAVA_VERSION%% . PR: ports/158969 Submitted by: rene Tested on: pointyhat-west -exp
71 lines
1.9 KiB
Makefile
71 lines
1.9 KiB
Makefile
# 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= 5
|
|
CATEGORIES= graphics java geography
|
|
MASTER_SITES= http://www.jump-project.org/downloads/jump/:main \
|
|
http://T32.TecNik93.com/FreeBSD/others_ports/${PORTNAME}/sources/:main,extra
|
|
DISTFILES= jump-${PORTVERSION}.zip:main \
|
|
jump.png:extra jump.desktop:main,extra
|
|
EXTRACT_ONLY= jump-${PORTVERSION}.zip
|
|
|
|
MAINTAINER= ports@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.5+
|
|
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/applications/
|
|
${INSTALL_DATA} ${DISTDIR}/jump.png ${LOCALBASE}/share/pixmaps/
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|