openbsd-ports/lang/jamvm/Makefile
kurt 5b017cae2e - sync ONLY_FOR_ARCHS with classpath's
- add comment to patch-src_hooks_c to document reason for patch
From brad@comstyle.com
2011-10-01 14:31:04 +00:00

51 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.16 2011/10/01 14:31:04 kurt 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= concurrent
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>