1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stage support

With hat:	portmgr
This commit is contained in:
Antoine Brodin 2014-04-05 10:30:21 +00:00
parent 26b2019d74
commit e917242b6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350209
3 changed files with 9 additions and 11 deletions

View File

@ -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 \

View File

@ -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

View File

@ -10,5 +10,4 @@ LIBRMATH_SLAVEPORT= yes
MASTERDIR= ${.CURDIR}/../R
PLIST= ${.CURDIR}/pkg-plist
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"