summaryrefslogtreecommitdiff
path: root/math/R/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-05-30 14:10:18 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-05-30 14:10:18 +0000
commitd825bfaad3abf294f0fe53e44c6ae070f952170c (patch)
tree5c871b349c93e12ef542fc48cd73a8070f3e6ce4 /math/R/Makefile
parent- Update to version 16.1.1 (diff)
- Update to 2.5.0
PR: ports/112713 (based on) Submitted by: Vittorio De Martino <vdemart1 at tin.it> Approved by: Eric van Gyzen (maintainer)
Notes
Notes: svn path=/head/; revision=192394
Diffstat (limited to 'math/R/Makefile')
-rw-r--r--math/R/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/math/R/Makefile b/math/R/Makefile
index 494188856699..c29ff41dd808 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= R
-PORTVERSION= 2.4.1
-PORTREVISION= 1
+PORTVERSION= 2.5.0
CATEGORIES= math lang
MASTER_SITES= http://cran.r-project.org/src/base/R-2/ \
ftp://cran.r-project.org/pub/R/src/base/R-2/ \
@@ -44,7 +43,7 @@ OPTIONS= ATLAS "Use ATLAS instead of BLAS/LAPACK" off \
INFO_MANUALS "Install GNU info manuals" on \
LETTER_PAPER "Use US Letter paper" off
-MAN1= R.1
+MAN1= R.1 Rscript.1
USE_LDCONFIG= yes
INSTALL_TARGET= install install-libR
@@ -57,6 +56,7 @@ USE_PERL5= yes
CONFIGURE_ENV= INSTALL_DATA="${INSTALL} ${COPY} ${_SHROWNGRP} -m 644" F77="${F77}" FC="${FC}"
CONFIGURE_ARGS= --enable-R-shlib --with-system-bzlib --with-system-zlib \
+ --mandir=${MANPREFIX}/man \
rdocdir=${DOCSDIR}
.include <bsd.port.pre.mk>
@@ -168,6 +168,11 @@ CONFIGURE_ENV+= MAKEINFO_CMD=${LOCALBASE}/bin/makeinfo
BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
+ ${WRKSRC}/src/nmath/standalone/Makefile.in \
+ ${WRKSRC}/src/unix/Makefile.in
+
post-install:
${MV} ${PREFIX}/lib/libR.so ${PREFIX}/lib/libR.so.0
${LN} -sf ${PREFIX}/lib/libR.so.0 ${PREFIX}/lib/libR.so