forked from Lainports/freebsd-ports
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
32 lines
773 B
Makefile
32 lines
773 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rpy2
|
|
DISTVERSION= 2.9.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Python interface to the R Programming Language
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt
|
|
|
|
BUILD_DEPENDS= ${PYNUMPY}
|
|
LIB_DEPENDS= libR.so:math/R \
|
|
libicui18n.so:devel/icu \
|
|
libomp.so:devel/openmp \
|
|
libpcre.so:devel/pcre
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
|
|
${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
|
|
|
|
USES= fortran python:3.5+ readline
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/rpy2/rinterface/*.so
|
|
|
|
.include <bsd.port.mk>
|