diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-07-07 00:50:20 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-07-07 00:50:20 +0800 |
commit | 496959d117c91ef0a1ce058b0c3b253884eee608 (patch) | |
tree | adf0d08c85131412ec167d057abed0b60950cd12 /math/libRmath | |
parent | 483b49f50fb9a83cb10ee187c5de23072066850f (diff) | |
download | freebsd-ports-gnome-496959d117c91ef0a1ce058b0c3b253884eee608.tar.gz freebsd-ports-gnome-496959d117c91ef0a1ce058b0c3b253884eee608.tar.zst freebsd-ports-gnome-496959d117c91ef0a1ce058b0c3b253884eee608.zip |
- update to 2.9.1
- fix with custom LOCALBASE / PREFIX [1]
PR: ports/135941
Submitted by: maintainer
Reported by: QATty [1]
Diffstat (limited to 'math/libRmath')
-rw-r--r-- | math/libRmath/Makefile | 32 | ||||
-rw-r--r-- | math/libRmath/distinfo | 6 |
2 files changed, 25 insertions, 13 deletions
diff --git a/math/libRmath/Makefile b/math/libRmath/Makefile index 135227bed5ca..abcbec7e795e 100644 --- a/math/libRmath/Makefile +++ b/math/libRmath/Makefile @@ -7,7 +7,7 @@ # PORTNAME= libRmath -PORTVERSION= 2.8.1 +PORTVERSION= 2.9.1 CATEGORIES= math MASTER_SITES= http://cran.r-project.org/src/base/R-2/ \ ftp://cran.r-project.org/pub/R/src/base/R-2/ \ @@ -32,22 +32,34 @@ DISTNAME= R-${PORTVERSION} MAINTAINER= bf1783@gmail.com COMMENT= The standalone math library from R -USE_PERL5= yes -USE_FORTRAN= yes -GNU_CONFIGURE= yes -USE_LDCONFIG= yes -CONFIGURE_ARGS+=--with-readline=no --with-x=no +USE_PERL5_BUILD= yes +USE_FORTRAN= yes +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +CONFIGURE_ARGS+=--with-readline=no --with-x=no --disable-mbcs --disable-nls --with-tcltk=no --with-cairo=no \ + --with-libpng=no --with-jpeglib=no --with-iconv=no --with-ICU=no --without-libintl-prefix +BUILD_WRKSRC= ${WRKSRC}/src/nmath/standalone PLIST_FILES= include/Rmath.h lib/libRmath.a lib/libRmath.so lib/libRmath.so.0 -do-build: - (cd ${WRKSRC}/src/nmath/standalone; ${MAKE}) +post-patch: + @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \ + ${WRKSRC}/src/nmath/standalone/Makefile.in + @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" \ + ${WRKSRC}/configure \ + ${WRKSRC}/config.site do-install: ${INSTALL_DATA} ${WRKSRC}/src/include/Rmath.h ${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/src/nmath/standalone/libRmath.a ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/src/nmath/standalone/libRmath.so \ + ${INSTALL_DATA} ${BUILD_WRKSRC}/libRmath.a ${PREFIX}/lib + ${INSTALL_DATA} ${BUILD_WRKSRC}/libRmath.so \ ${PREFIX}/lib/libRmath.so.0 (cd ${PREFIX}/lib; ${LN} -sf libRmath.so.0 libRmath.so) +test: install + @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \ + ${MAKE_ARGS} test && ${BUILD_WRKSRC}/test) + .include <bsd.port.mk> diff --git a/math/libRmath/distinfo b/math/libRmath/distinfo index a44d1aba164f..ea725b670e38 100644 --- a/math/libRmath/distinfo +++ b/math/libRmath/distinfo @@ -1,3 +1,3 @@ -MD5 (R-2.8.1.tar.gz) = acd40621b8942a2464daa2f9cef3273d -SHA256 (R-2.8.1.tar.gz) = ab488af73ce7a4f2057afcf0e725be96c9ae37f8721143004397b91928ecfa60 -SIZE (R-2.8.1.tar.gz) = 16585380 +MD5 (R-2.9.1.tar.gz) = 54a79eebdf0cec3fd2c489fc94d99b00 +SHA256 (R-2.9.1.tar.gz) = ef981c88b1632bef3359bc3755eed7f7eb38b2fca37e0443e64eb95162d3985a +SIZE (R-2.9.1.tar.gz) = 18620921 |