summaryrefslogtreecommitdiff
path: root/lang/jdk-openjit/Makefile.common
blob: e4ebbf662e7a74bc083276005ebbd7ec85441a51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: Makefile.common,v 1.9 2005/12/05 20:50:25 rillig Exp $

OPENJIT_VERSION=1.1.16

DISTNAME=	OpenJIT-${OPENJIT_VERSION}
CATEGORIES=	lang java
MASTER_SITES=	http://www.openjit.org/dist/

MAINTAINER=	tv@pobox.com
HOMEPAGE=	http://www.openjit.org/
COMMENT=	Reflective JIT compiler for Java

GNU_CONFIGURE=	yes
USE_TOOLS+=	gmake

.include "../../mk/bsd.prefs.mk"
.include "../../mk/java-vm.mk"

CONFIGURE_ARGS+=--with-jdk=${PKG_JAVA_HOME}

PLIST_SUBST+=	CLASSDIR=${CLASSDIR:Q} JRELIB=${JRELIB:Q} JAVADIR=${PKG_JAVA_HOME:C|^${PREFIX}/||}

PKGDIR=		${.CURDIR}/../../lang/jdk-openjit
DISTINFO_FILE=	${PKGDIR}/distinfo
PATCHDIR=	${PKGDIR}/patches

.include "../../mk/bsd.pkg.mk"