2012-03-29 13:38:12 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2012/03/29 13:38:40 sthen Exp $
|
2010-10-05 11:51:13 +00:00
|
|
|
|
2011-10-01 14:31:04 +00:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386 sparc64
|
2006-04-11 01:04:15 +00:00
|
|
|
|
2011-03-08 06:44:55 +00:00
|
|
|
COMMENT= free, standards-compliant jvm with a small footprint
|
2006-04-11 01:04:15 +00:00
|
|
|
|
2011-09-23 23:39:57 +00:00
|
|
|
DISTNAME= jamvm-1.5.4
|
2006-04-11 01:04:15 +00:00
|
|
|
CATEGORIES= lang java
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jamvm/}
|
|
|
|
|
2011-09-23 23:39:57 +00:00
|
|
|
SHARED_LIBS= jvm 0.0
|
2006-04-11 01:04:15 +00:00
|
|
|
|
2011-09-23 23:39:57 +00:00
|
|
|
HOMEPAGE= http://jamvm.sourceforge.net/
|
2006-04-11 01:04:15 +00:00
|
|
|
|
2011-09-23 23:39:57 +00:00
|
|
|
# GPLv2
|
2006-04-11 01:04:15 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2011-09-23 23:39:57 +00:00
|
|
|
WANTLIB= c m pthread z
|
2006-04-11 01:04:15 +00:00
|
|
|
|
2011-09-23 23:39:57 +00:00
|
|
|
.if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
|
|
|
|
WANTLIB+= ffi
|
2009-07-22 00:31:57 +00:00
|
|
|
|
2011-09-23 23:39:57 +00:00
|
|
|
LIB_DEPENDS= devel/libffi
|
|
|
|
.endif
|
2009-06-16 15:37:46 +00:00
|
|
|
|
2011-09-23 23:39:57 +00:00
|
|
|
BUILD_DEPENDS= lang/jikes>=1.22 \
|
|
|
|
lang/classpath>=0.98
|
2006-04-11 01:04:15 +00:00
|
|
|
|
2011-09-23 23:39:57 +00:00
|
|
|
RUN_DEPENDS= lang/classpath>=0.98
|
2006-04-11 01:04:15 +00:00
|
|
|
|
2011-09-23 23:39:57 +00:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
USE_GMAKE= Yes
|
2012-03-29 13:38:12 +00:00
|
|
|
SEPARATE_BUILD= Yes
|
2011-09-23 23:39:57 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --includedir=${LOCALBASE}/include/jamvm \
|
|
|
|
--libdir=${LOCALBASE}/lib/jamvm \
|
|
|
|
--with-classpath-install-dir=${LOCALBASE} \
|
|
|
|
--disable-tls
|
|
|
|
.if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
.endif
|
2006-04-11 01:04:15 +00:00
|
|
|
|
2006-10-09 11:34:39 +00:00
|
|
|
post-install:
|
|
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share
|
|
|
|
|
2006-04-11 01:04:15 +00:00
|
|
|
.include <bsd.port.mk>
|