diff options
author | antoine <antoine@FreeBSD.org> | 2014-04-05 18:30:21 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-04-05 18:30:21 +0800 |
commit | 4982143ba79f2e77497c2c989677d108ed142a0b (patch) | |
tree | 42914681ed5779583b399e7119c226faeafcff29 /math/R | |
parent | 816ea24996eab348a138c8c61384431bba03165f (diff) | |
download | freebsd-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/R')
-rw-r--r-- | math/R/Makefile | 17 | ||||
-rw-r--r-- | math/R/pkg-plist | 2 |
2 files changed, 9 insertions, 10 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 |