aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2005-02-09 02:18:05 +0800
committerhq <hq@FreeBSD.org>2005-02-09 02:18:05 +0800
commit8121d9133fba424f951640924c67fab3c69be245 (patch)
tree4b7c04ab3c8a145ab5c58f5420e4e29a5a59fede
parentccd97ad4e71c06eefa5b92fa29b9ee36a062e1e8 (diff)
downloadfreebsd-ports-gnome-8121d9133fba424f951640924c67fab3c69be245.tar.gz
freebsd-ports-gnome-8121d9133fba424f951640924c67fab3c69be245.tar.zst
freebsd-ports-gnome-8121d9133fba424f951640924c67fab3c69be245.zip
- Update to bsd.java.mk 2.0 [1]
- Add 'java' category PR: 77040 [1] Submitted by: maintainer [1]
-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\