aboutsummaryrefslogtreecommitdiff
path: root/science/ovt
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-02-08 18:18:05 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-02-08 18:18:05 +0000
commitc48718d7eb8f71cc88f8b9aebcaf701bea7b5d94 (patch)
tree32423d8f2fb4dde23de9834e8866c5ea8b70bfd6 /science/ovt
parent8249950b77b35f9a81673e58d0cb62973ceaf76e (diff)
downloadports-c48718d7eb8f71cc88f8b9aebcaf701bea7b5d94.tar.gz
ports-c48718d7eb8f71cc88f8b9aebcaf701bea7b5d94.zip
Notes
Diffstat (limited to 'science/ovt')
-rw-r--r--science/ovt/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/science/ovt/Makefile b/science/ovt/Makefile
index 39d82df6721d..ff17747f5128 100644
--- a/science/ovt/Makefile
+++ b/science/ovt/Makefile
@@ -7,16 +7,17 @@
PORTNAME= ovt
PORTVERSION= 2.3
-CATEGORIES= science astro
+PORTREVISION= 1
+CATEGORIES= science astro java
MASTER_SITES= # http://ovt.irfu.se/download/
-DISTNAME= ${PKGNAME}_${OVTBUILD}-src
+DISTNAME= ${PORTNAME}-${PORTVERSION}_${OVTBUILD}-src
MAINTAINER= ko@nest.irfu.se
COMMENT= The Orbit Visualization Tool
LIB_DEPENDS= vtkCommonJava:${PORTSDIR}/math/vtk-java
-WRKSRC= ${WRKDIR}/${PKGNAME}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OVTBUILD= 3
USE_BZIP2= yes
USE_GMAKE= yes
@@ -25,11 +26,11 @@ INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
ONLY_FOR_ARCHS= i386
-USE_JAVA= 1.4
-NEED_JAVAC= yes
-USE_JIKES= no
+USE_JAVA= yes
+JAVA_VERSION= 1.4+
+JAVA_OS= native
-CONFIGURE_ARGS= --with-jdk=${_JAVA_HOME_FREEBSD_1_4} --without-jikes
+CONFIGURE_ARGS= --with-jdk=${JAVA_HOME}
PLIST_SUB+= PORTVERSION=${PORTVERSION}
@@ -38,7 +39,7 @@ RESTRICTED= yes
.include <bsd.port.pre.mk>
# Check for OVT distfile
-.if !exists(${DISTDIR}/${DISTFILES}) && !defined(PACKAGE_BUILDING)
+.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\