summaryrefslogtreecommitdiff
path: root/lang/jdk-openjit/Makefile.common
blob: b00837fbf5a90cacfbd49bf5250ff351a5f3e4d0 (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.10 2005/12/05 23:55:10 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:Q}

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"