1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/science/ovt/Makefile
Mark Linimon 06e6677793 Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
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
2011-07-21 05:03:02 +00:00

53 lines
1.4 KiB
Makefile

# New ports collection makefile for: ovt
# Date created: 16 Sept 2003
# Whom: Mykola Khotyaintsev <ko@nest.irfu.se>
#
# $FreeBSD$
#
PORTNAME= ovt
PORTVERSION= 2.3
PORTREVISION= 7
CATEGORIES= science astro java
MASTER_SITES= # http://ovt.irfu.se/download/
DISTNAME= ${PORTNAME}-${PORTVERSION}_${OVTBUILD}-src
MAINTAINER= yuri@irfu.se
COMMENT= The Orbit Visualization Tool
LIB_DEPENDS= vtkCommonJava:${PORTSDIR}/math/vtk-java
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OVTBUILD= 3
USE_BZIP2= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
ONLY_FOR_ARCHS= i386
USE_JAVA= yes
JAVA_VERSION= 1.5+
JAVA_OS= native
CONFIGURE_ARGS= --with-jdk=${JAVA_HOME}
PLIST_SUB+= PORTVERSION=${PORTVERSION}
RESTRICTED= yes
.include <bsd.port.pre.mk>
# Check for OVT distfile
.if !exists(${DISTDIR}/${DISTNAME}.tar.bz2) && !defined(PACKAGE_BUILDING)
ECHO_MSG=/usr/bin/printf
IGNORE= :\n\
Because of licensing restrictions, you must fetch the source distribution\n\
manually. Please access http://ovt.irfu.se/download/ with a web browser and\n\
follow the \"Download\" link for the \"OVT ${PORTVERSION} Sources\".\n\
You will be required to log in and register, but you can create an account\n\
on this page. After registration download the source file, ${DISTFILES}.\n\
Please place this file in ${DISTDIR}.\n
.endif
.include <bsd.port.post.mk>