aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-04-05 10:30:21 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-04-05 10:30:21 +0000
commite917242b6c7f2ab956d34cf29c13df7b6f9f472e (patch)
tree42914681ed5779583b399e7119c226faeafcff29 /math
parent26b2019d74f814f74120f7b222d46ea113a6af08 (diff)
downloadports-e917242b6c7f2ab956d34cf29c13df7b6f9f472e.tar.gz
ports-e917242b6c7f2ab956d34cf29c13df7b6f9f472e.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/R/Makefile17
-rw-r--r--math/R/pkg-plist2
-rw-r--r--math/libRmath/Makefile1
3 files changed, 9 insertions, 11 deletions
diff --git a/math/R/Makefile b/math/R/Makefile
index 93d8d19b0cb4..c899d221ce40 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -75,8 +75,6 @@ USE_LDCONFIG= ${PREFIX}/lib/R/lib
USES+= perl5
USE_PERL5= build
-MAN1= R.1 Rscript.1
-
OPTIONS_DEFINE+= GHOSTSCRIPT INFO_MANUALS JPEG LETTER_PAPER LIBR \
PANGOCAIRO PDF_MANUALS PNG TCLTK TIFF X11
@@ -370,25 +368,24 @@ check-all: build
post-install:
.for L in R Rblas Rlapack
- @(cd ${PREFIX}/lib/R/lib; if [ -f lib${L}.so ] ; then \
+ @(cd ${STAGEDIR}${PREFIX}/lib/R/lib; if [ -f lib${L}.so ] ; then \
${LN} -sf lib${L}.so lib${L}.so.${${L:U}_SOVERSION} ; fi)
.endfor
.if ${PORT_OPTIONS:MINFO_MANUALS} && ${PORT_OPTIONS:MDOCS}
@(cd ${WRKSRC}/doc/manual; \
for infofile in ${INFO}; do \
- ${INSTALL_DATA} $${infofile}.info* ${PREFIX}/${INFO_PATH}/; \
+ ${INSTALL_DATA} $${infofile}.info* ${STAGEDIR}${PREFIX}/${INFO_PATH}/; \
done)
.endif
.endif # LIBR_SLAVEPORT
.else # !LIBRMATH_SLAVEPORT
do-install:
- @${INSTALL_DATA} ${WRKSRC}/src/include/Rmath.h ${PREFIX}/include
- @${INSTALL_DATA} ${BUILD_WRKSRC}/libRmath.a ${PREFIX}/lib
- @${STRIP_CMD} ${BUILD_WRKSRC}/libRmath.so
- @${INSTALL_DATA} ${BUILD_WRKSRC}/libRmath.so \
- ${PREFIX}/lib/libRmath.so.${RMATH_SOVERSION}
- @(cd ${PREFIX}/lib; ${LN} -sf libRmath.so.${RMATH_SOVERSION} libRmath.so)
+ @${INSTALL_DATA} ${WRKSRC}/src/include/Rmath.h ${STAGEDIR}${PREFIX}/include
+ @${INSTALL_DATA} ${BUILD_WRKSRC}/libRmath.a ${STAGEDIR}${PREFIX}/lib
+ @${INSTALL_LIB} ${BUILD_WRKSRC}/libRmath.so \
+ ${STAGEDIR}${PREFIX}/lib/libRmath.so.${RMATH_SOVERSION}
+ @(cd ${STAGEDIR}${PREFIX}/lib; ${LN} -sf libRmath.so.${RMATH_SOVERSION} libRmath.so)
check regression-test test: build
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} LANGUAGE=en \
diff --git a/math/R/pkg-plist b/math/R/pkg-plist
index 42d6556fbdc6..9ce21d44f495 100644
--- a/math/R/pkg-plist
+++ b/math/R/pkg-plist
@@ -1438,6 +1438,8 @@ lib/R/share/texmf/tex/latex/omscmtt.fd
lib/R/share/texmf/tex/latex/ts1aer.fd
lib/R/share/texmf/tex/latex/ts1aett.fd
%%LIBR%%libdata/pkgconfig/libR.pc
+man/man1/R.1.gz
+man/man1/Rscript.1.gz
%%DOCSDIR%%/html/NEWS.2.html
%%DOCSDIR%%/manual/R-FAQ.html
%%PORTDOCS%%%%PDF_MANUAL%%%%DOCSDIR%%/manual/R-FAQ.pdf
diff --git a/math/libRmath/Makefile b/math/libRmath/Makefile
index 2395ef57709c..1df8c5aab029 100644
--- a/math/libRmath/Makefile
+++ b/math/libRmath/Makefile
@@ -10,5 +10,4 @@ LIBRMATH_SLAVEPORT= yes
MASTERDIR= ${.CURDIR}/../R
PLIST= ${.CURDIR}/pkg-plist
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"