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
40 lines
944 B
Makefile
40 lines
944 B
Makefile
# New ports collection makefile for: cacao
|
|
# Date created: 2005-04-28
|
|
# Whom: arved
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cacao
|
|
PORTVERSION= 0.98
|
|
PORTREVISION= 6
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PORTVERSION}/
|
|
|
|
MAINTAINER= bkoenig@alpha-tierchen.de
|
|
COMMENT= JIT compiler for JAVA
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/share/classpath/glibj.zip:${PORTSDIR}/java/classpath
|
|
|
|
USE_BZIP2= yes
|
|
USE_AUTOTOOLS= libltdl
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
GNU_CONFIGURE= yes
|
|
MAN1= cacao.1
|
|
CONFIGURE_ARGS+= --with-classpath-prefix=${LOCALBASE}
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == amd64
|
|
IGNORE= unsupported architecture
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s, man,," ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/man/cacao.1 ${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.post.mk>
|