36 lines
978 B
Makefile
36 lines
978 B
Makefile
# $NetBSD: Makefile,v 1.15 2020/03/20 11:57:55 nia Exp $
|
|
#
|
|
|
|
DISTNAME= jamvm-1.5.4
|
|
PKGREVISION= 1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jamvm/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://jamvm.sourceforge.net/
|
|
COMMENT= Compact Java Virtual Machine
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DEPENDS+= classpath>=0.19:../../lang/classpath
|
|
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_PREFIX= ${JAVA_HOME}
|
|
GNU_CONFIGURE_MANDIR= ${PREFIX}/${PKGMANDIR}
|
|
USE_TOOLS+= gmake
|
|
USE_LIBTOOL= yes
|
|
CONFIGURE_ARGS+= --with-classpath-install-dir=${PREFIX}/
|
|
|
|
.include "../../mk/compiler.mk"
|
|
.if !empty(PKGSRC_COMPILER:Mclang) && ${MACHINE_CPU:U} == "arm"
|
|
CFLAGS+= -O0
|
|
.endif
|
|
|
|
JAVA_NAME= jamvm
|
|
JAVA_HOME= ${PREFIX}/java/jamvm
|
|
JAVA_WRAPPERS+= java
|
|
JAVA_WRAPPER_BIN.java= ${JAVA_HOME}/bin/jamvm
|
|
.include "../../devel/libffi/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/java-env.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|