freebsd-ports/graphics/jave6/Makefile
Mark Linimon 06e6677793 Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
remove support for them from bsd.java.mk.  As Jikes is not available in Java 1.5
or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports
which used it (only occurences were USE_JIKES=no).  Support for the Blackdown VM
is also removed, as it is not available in Java 1.5 and higher.

Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect
old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5.
While here, replace static values of JAVA_VERSION in files/*.in by
%%JAVA_VERSION%% .

PR:		ports/158969
Submitted by:	rene
Tested on:	pointyhat-west -exp
2011-07-21 05:03:02 +00:00

43 lines
1.2 KiB
Makefile

# Ports collection makefile for: Jave
# Date created: 29 January 2006
# Whom: Andreas Daehn <ad001@uni-rostock.de>
#
# $FreeBSD$
PORTNAME= jave6
PORTVERSION= 0.1
PORTREVISION= 3
CATEGORIES= graphics java
MASTER_SITES= http://www.jave.de/developer/\
http://ikaria.informatik.uni-rostock.de/public_bsd/FreeBSD/
DISTNAME= jave_6.0_i20060105
EXTRACT_SUFX= .zip
MAINTAINER= ad001@uni-rostock.de
COMMENT= Java ASCII-Art-Generator
USE_JAVA= YES
USE_ZIP= YES
JAVA_VERSION= 1.5+
NO_BUILD= YES
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
LNKTARGET= ${PREFIX}/bin/jave6
HLPSKRIPT= jave6
PLIST_SUB+=DATADIR=%%JAVASHAREDIR%%/${PORTNAME}
do-install:
@${ECHO} "Installing JavE6 files in ${DATADIR}..."
@${MKDIR} ${DATADIR}
@${CP} -rv ${WRKDIR}/* ${DATADIR}
@${ECHO} "creating start script ${LNKTARGET}..."
@${ECHO} "#!/bin/sh" > ${DATADIR}/${HLPSKRIPT}
@${ECHO} "JAVA_VERSION=${JAVA_VERSION} exec ${LOCALBASE}/bin/java -jar ${DATADIR}/jave.jar" >> ${DATADIR}/${HLPSKRIPT}
@${CHMOD} a+x ${DATADIR}/${HLPSKRIPT}
@${LN} -sf ${DATADIR}/${HLPSKRIPT} ${LNKTARGET}
@${ECHO} "done."
post-install:
@${ECHO} "Errors may occur while running the program, as it will try to access ${DATADIR}/tmp/ for output."
.include <bsd.port.mk>