From 46d3e7ba41f3f31d166893fb005ba360b172ba30 Mon Sep 17 00:00:00 2001 From: TAKATSU Tomonari Date: Sun, 26 Sep 2010 07:59:14 +0000 Subject: - Add CRAN_Include_MAINTAINER tag to Mk/bsd.cran.mk - Rename R_MOD to USE_R_MOD to be suitable for bsd.port.mk - Remove math/R-cran-sm/files/bsd.cran.mk to complete the moving Approved by: wen (via e-mail) --- math/R-cran-sm/Makefile | 3 +-- math/R-cran-sm/files/bsd.cran.mk | 38 -------------------------------------- 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 math/R-cran-sm/files/bsd.cran.mk (limited to 'math/R-cran-sm') diff --git a/math/R-cran-sm/Makefile b/math/R-cran-sm/Makefile index cb21435761f6..b616f3718e8d 100644 --- a/math/R-cran-sm/Makefile +++ b/math/R-cran-sm/Makefile @@ -14,8 +14,7 @@ DISTNAME= ${PORTNAME}_2.2-4 MAINTAINER= wen@FreeBSD.org COMMENT= Smoothing methods for nonparametric regression and density estimation -R_MOD= yes +USE_R_MOD= yes R_MOD_AUTOPLIST= yes -.include "${.CURDIR}/files/bsd.cran.mk" .include diff --git a/math/R-cran-sm/files/bsd.cran.mk b/math/R-cran-sm/files/bsd.cran.mk deleted file mode 100644 index 229104978c7d..000000000000 --- a/math/R-cran-sm/files/bsd.cran.mk +++ /dev/null @@ -1,38 +0,0 @@ -# Date created: 2009-01-25 -# Whom: Wen Heping - -.if defined(R_MOD) -MASTER_CRAN_SITES+= http://mirrors.geoexpat.com/cran/src/contrib/ \ - http://cran.rakanu.com/src/contrib/ \ - http://cran.cnr.berkeley.edu/src/contrib/ -.endif - -MASTER_SITES?= ${MASTER_CRAN_SITES} - -.if defined(R_MOD) -BUILD_DEPENDS+= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R -RUN_DEPENDS+= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R -.endif - -R_MOD_DIR?= lib/R/library/${PORTNAME} -PLIST_SUB+= R_MOD_DIR=${R_MOD_DIR} - -NO_BUILD= yes -R_COMMAND= ${LOCALBASE}/bin/R -R_INS= ${R_COMMAND} CMD INSTALL - -do-install: -.if defined(R_MOD) - @cd ${WRKDIR} && ${R_INS} ${PORTNAME} -.endif - -.if defined(R_MOD) && defined(R_MOD_AUTOPLIST) -.if !target(post-install-script) -post-install-script: - @${FIND} -ds ${PREFIX}/${R_MOD_DIR} -type f -print | ${SED} -E -e \ - 's,^${PREFIX}/?,,' > ${TMPPLIST} - @${FIND} -ds ${PREFIX}/${R_MOD_DIR} -type d -print | ${SED} -E -e \ - 's,^${PREFIX}/?,@dirrm ,' >> ${TMPPLIST} -.endif -.endif - -- cgit v1.2.3