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