mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
320704ccfa
- Update to 2.4.0 [1] - Reset maintainer to ports@ PR: 190365 [1] Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> [1]
32 lines
730 B
Makefile
32 lines
730 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rpy2
|
|
PORTVERSION= 2.4.0
|
|
CATEGORIES= math
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Python interface to the R Programming Language
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \
|
|
R:${PORTSDIR}/math/R
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \
|
|
R:${PORTSDIR}/math/R
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
|
|
|
|
pre-configure:
|
|
@(if [ ! -e ${LOCALBASE}/lib/R/lib/libR.so ] ; then \
|
|
${ECHO_MSG} "==> ${PKGNAME} requires math/R to be built WITH_LIBR" ; \
|
|
exit 1; fi)
|
|
|
|
.include <bsd.port.mk>
|