2003-10-31 02:47:04 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: rpy
|
|
|
|
# Date created: Jan 14, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= rpy
|
2008-06-19 02:03:01 +02:00
|
|
|
PORTVERSION= 1.0.3
|
2008-08-04 22:04:42 +02:00
|
|
|
PORTREVISION= 3
|
2003-10-31 02:47:04 +01:00
|
|
|
CATEGORIES= math
|
2008-06-19 02:03:01 +02:00
|
|
|
MASTER_SITES= SF
|
2003-10-31 02:47:04 +01:00
|
|
|
|
2008-06-19 02:03:01 +02:00
|
|
|
MAINTAINER= wenheping@gmail.com
|
2003-10-31 02:47:04 +01:00
|
|
|
COMMENT= Python interface to the R Programming Language
|
|
|
|
|
2008-06-19 02:03:01 +02:00
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \
|
2004-04-30 10:17:36 +02:00
|
|
|
R:${PORTSDIR}/math/R
|
2003-10-31 02:47:04 +01:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
2004-10-15 22:57:23 +02:00
|
|
|
MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib/R/modules -L${LOCALBASE}/lib/R/lib"
|
2003-10-31 02:47:04 +01:00
|
|
|
|
2008-08-03 12:03:40 +02:00
|
|
|
BROKEN= Does not compile
|
|
|
|
|
2007-06-13 17:03:43 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,^statichere ,,' ${WRKSRC}/src/rpymodule.c
|
2008-08-04 22:04:42 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
|
2007-06-13 17:03:43 +02:00
|
|
|
|
2003-10-31 02:47:04 +01:00
|
|
|
.include <bsd.port.mk>
|