aboutsummaryrefslogtreecommitdiff
path: root/science/ovt/Makefile
blob: ca3a95876d632b59de7a363ca5c050933947a60d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Mykola Khotyaintsev <ko@nest.irfu.se>
# $FreeBSD$

PORTNAME=	ovt
PORTVERSION=	2.3
PORTREVISION=	9
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}2g
OVTBUILD=	4
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
ONLY_FOR_ARCHS=	i386

USE_JAVA=	yes
JAVA_VERSION=	1.6+
JAVA_OS=	native

CONFIGURE_ARGS=	--with-jdk=${JAVA_HOME}

PLIST_SUB+=	PORTVERSION=${PORTVERSION}

.include <bsd.port.mk>