From c48718d7eb8f71cc88f8b9aebcaf701bea7b5d94 Mon Sep 17 00:00:00 2001 From: Herve Quiroz Date: Tue, 8 Feb 2005 18:18:05 +0000 Subject: [PATCH] - Update to bsd.java.mk 2.0 [1] - Add 'java' category PR: 77040 [1] Submitted by: maintainer [1] --- science/ovt/Makefile | 17 +++++++++-------- 1 file 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 # 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\