12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- # $OpenBSD: Makefile,v 1.11 2017/04/21 13:27:46 kurt Exp $
- BROKEN-i386= java
- COMMENT= Scheme and language framework for the Java platform
- DISTNAME= kawa-2.1
- CATEGORIES= lang java
- REVISION= 0
- HOMEPAGE= https://www.gnu.org/software/kawa/
- # MIT
- PERMIT_PACKAGE_CDROM= Yes
- MASTER_SITES= ${MASTER_SITE_GNU:=kawa/}
- MODULES= java
- MODJAVA_VER= 1.7+
- TEST_DEPENDS= ${BUILD_DEPENDS}
- USE_GMAKE= Yes
- WANTLIB += c ncurses readline
- CONFIGURE_STYLE= gnu
- CONFIGURE_ARGS+= --enable-kawa-frontend
- CONFIGURE_ENV= JAVAC=${JAVA_HOME}/bin/javac \
- JAVA=${JAVA_HOME}/bin/java
- .include <bsd.port.arch.mk>
- # fails with this on i386, fails without this on amd64, unsure about
- # other arch but lp64 is probably not a bad indicator.
- .if ${PROPERTIES:Mlp64}
- MAKE_ENV= SLIB_JAVAFLAGS=-Xmx1200M
- .else
- MAKE_ENV= SLIB_JAVAFLAGS=-Xmx800M
- .endif
- pre-patch:
- find ${WRKSRC} -type f | \
- xargs perl -pi -e 's,^JAR =.*,JAR = ${JAVA_HOME}/bin/jar,g'
- .include <bsd.port.mk>
|