Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/cran.mk
| Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
| .if !target(regression-test) | .if !target(regression-test) | ||||
| R_POSTCMD_CHECK_OPTIONS?= --timings | R_POSTCMD_CHECK_OPTIONS?= --timings | ||||
| .if !exists(${LOCALBASE}/bin/pdflatex) | .if !exists(${LOCALBASE}/bin/pdflatex) | ||||
| R_POSTCMD_CHECK_OPTIONS+= --no-manual --no-rebuild-vignettes | R_POSTCMD_CHECK_OPTIONS+= --no-manual --no-rebuild-vignettes | ||||
| .endif | .endif | ||||
| .if defined(NO_STAGE) | |||||
| check-makevars:: | |||||
| @${ECHO_MSG} "Makefile error: USE_R_MOD cannot be used with NO_STAGE" | |||||
| @${FALSE} | |||||
| .endif | |||||
| regression-test: build | regression-test: build | ||||
| @cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} _R_CHECK_FORCE_SUGGESTS_=FALSE \ | @cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} _R_CHECK_FORCE_SUGGESTS_=FALSE \ | ||||
| ${R_COMMAND} ${R_PRECMD_CHECK_OPTIONS} CMD check \ | ${R_COMMAND} ${R_PRECMD_CHECK_OPTIONS} CMD check \ | ||||
| ${R_POSTCMD_CHECK_OPTIONS} ${PORTNAME} | ${R_POSTCMD_CHECK_OPTIONS} ${PORTNAME} | ||||
| .endif | .endif | ||||
| .if !target(do-install) | .if !target(do-install) | ||||
| R_POSTCMD_INSTALL_OPTIONS+= -l ${STAGEDIR}${PREFIX}/${R_LIB_DIR} | R_POSTCMD_INSTALL_OPTIONS+= -l ${STAGEDIR}${PREFIX}/${R_LIB_DIR} | ||||
| Show All 24 Lines | |||||