- Update to bsd.java.mk 2.0 [1]

- Add 'java' category

PR:		77040 [1]
Submitted by:	maintainer [1]
This commit is contained in:
Herve Quiroz 2005-02-08 18:18:05 +00:00
parent 8249950b77
commit c48718d7eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128302

View file

@ -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\