aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-04-05 18:30:21 +0800
committerantoine <antoine@FreeBSD.org>2014-04-05 18:30:21 +0800
commit4982143ba79f2e77497c2c989677d108ed142a0b (patch)
tree42914681ed5779583b399e7119c226faeafcff29 /math
parent816ea24996eab348a138c8c61384431bba03165f (diff)
downloadfreebsd-ports-gnome-4982143ba79f2e77497c2c989677d108ed142a0b.tar.gz
freebsd-ports-gnome-4982143ba79f2e77497c2c989677d108ed142a0b.tar.zst
freebsd-ports-gnome-4982143ba79f2e77497c2c989677d108ed142a0b.zip
Stage support
With hat: portmgr
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"