1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/devel/py-jcc/Makefile
Baptiste Daroussin 329e3aac0e Decommissioning java 1.5 (EOLed since October 2009) + removing outdated jdk16
vendors:
Remove any reference to bsdjava and freebsd Java Vendors, as the both are
outdated, have security issues and expired.

Mark icedtea6-stubs as broken as it doesn't build with any of the left supported
vendors.
Switch tuxguitar to be able to use openjdk16 [1]

Approved by:	gahr [1]
2012-12-10 16:49:34 +00:00

36 lines
1.1 KiB
Makefile

# Created by: clsung@FreeBSD.org
# $FreeBSD$
PORTNAME= jcc
PORTVERSION= 2.13
CATEGORIES= devel java python
MASTER_SITES= CHEESESHOP
MASTER_SITE_SUBDIR= source/J/JCC
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= JCC-${PORTVERSION}
MAINTAINER= clsung@FreeBSD.org
COMMENT= C++ code generator for calling Java from C++/Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= JCC
USE_JAVA= yes
JAVA_VERSION= 1.6+
JAVA_VENDOR= openjdk
USE_GCC= 4.2+
JCC_INCLUDES= '${JAVA_HOME}/include;${JAVA_HOME}/include/freebsd'
JCC_CFLAGS= '-fno-strict-aliasing;-pipe'
JCC_LFLAGS= '-L${JAVA_HOME}/jre/lib/${ARCH};-ljava;-ljvm;-lverify;-L${JAVA_HOME}/jre/lib/${ARCH}/server;-L${JAVA_HOME}/jre/lib/${ARCH}/client;-Wl,-rpath=${JAVA_HOME}/jre/lib/${ARCH}:${JAVA_HOME}/jre/lib/${ARCH}/server:${JAVA_HOME}/jre/lib/${ARCH}/client'
JCC_DEBUG_CFLAGS= "-O0 -g -DDEBUG"
MAKE_ENV+= JCC_INCLUDES=${JCC_INCLUDES} JCC_CFLAGS=${JCC_CFLAGS} \
JCC_LFLAGS=${JCC_LFLAGS} \
JCC_JDK=${JAVA_HOME} \
JCC_DEBUG_CFLAGS=${JCC_DEBUG_CFLAGS} \
JCC_JAVADOC=${JAVADOC} \
JCC_JAVAC=javac JCC_ARGSEP=";"
.include <bsd.port.mk>