mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
42 lines
944 B
Makefile
42 lines
944 B
Makefile
# Created by: Choe, Cheng-Dae
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jep
|
|
PORTVERSION= 3.8.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel java python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= dbaio@FreeBSD.org
|
|
COMMENT= Java Embedded Python
|
|
|
|
LICENSE= ZLIB
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils
|
|
|
|
CONFIGURE_ENV= JAVA_HOME=${JAVA_HOME}
|
|
MAKE_ENV= JAVA_HOME=${JAVA_HOME}
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.7+
|
|
USE_LDCONFIG= yes
|
|
PLIST_SUB+= VERSION=${PORTVERSION}
|
|
|
|
# Necessary, since the configure script does the LIBS and
|
|
# LDFLAGS detection wrong
|
|
CFLAGS+= -I${JAVA_HOME}/include/freebsd
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= NUMPY
|
|
OPTIONS_DEFAULT= NUMPY
|
|
NUMPY_BUILD_DEPENDS= ${PYNUMPY}
|
|
NUMPY_RUN_DEPENDS= ${PYNUMPY}
|
|
|
|
post-install:
|
|
${LN} -s ${PYTHON_SITELIBDIR}/jep/jep-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/jep.jar
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/jep/jep.so
|
|
|
|
.include <bsd.port.mk>
|