openbsd-ports/lang/jamvm/Makefile
sthen 88ea72915d Change SEPARATE_BUILD=(concurrent|simple) to Yes; bsd.port.mk doesn't
make a distinction between these.  ok aja@ dcoppa@
2012-03-29 13:38:12 +00:00

51 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2012/03/29 13:38:40 sthen Exp $
ONLY_FOR_ARCHS= amd64 i386 sparc64
COMMENT= free, standards-compliant jvm with a small footprint
DISTNAME= jamvm-1.5.4
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jamvm/}
SHARED_LIBS= jvm 0.0
HOMEPAGE= http://jamvm.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m pthread z
.if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
WANTLIB+= ffi
LIB_DEPENDS= devel/libffi
.endif
BUILD_DEPENDS= lang/jikes>=1.22 \
lang/classpath>=0.98
RUN_DEPENDS= lang/classpath>=0.98
USE_LIBTOOL= Yes
USE_GMAKE= Yes
SEPARATE_BUILD= Yes
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
post-install:
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share
.include <bsd.port.mk>