diff options
author | Brendan Fabeny <bf@FreeBSD.org> | 2011-05-07 03:29:59 +0000 |
---|---|---|
committer | Brendan Fabeny <bf@FreeBSD.org> | 2011-05-07 03:29:59 +0000 |
commit | f08fd58316b82fa2a71f4f60235324ec73fd239d (patch) | |
tree | 20e4e7386cab19fe15c0d95d4dd1c5bfa6d076e1 /math/rkward-kde4 | |
parent | 0446896d04d241cd9b649a02b5858713327e62c6 (diff) | |
download | ports-f08fd58316b82fa2a71f4f60235324ec73fd239d.tar.gz ports-f08fd58316b82fa2a71f4f60235324ec73fd239d.zip |
Notes
Diffstat (limited to 'math/rkward-kde4')
-rw-r--r-- | math/rkward-kde4/Makefile | 12 | ||||
-rw-r--r-- | math/rkward-kde4/files/patch-rkward_rbackend_FindR.cmake | 11 | ||||
-rw-r--r-- | math/rkward-kde4/pkg-plist | 2 |
3 files changed, 21 insertions, 4 deletions
diff --git a/math/rkward-kde4/Makefile b/math/rkward-kde4/Makefile index 4da0dc857bf5..c5c22521a47b 100644 --- a/math/rkward-kde4/Makefile +++ b/math/rkward-kde4/Makefile @@ -7,7 +7,7 @@ PORTNAME= rkward PORTVERSION= 0.5.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= SF/${PORTNAME}/Current_Stable_Releases PKGNAMESUFFIX= -kde4 @@ -15,8 +15,9 @@ PKGNAMESUFFIX= -kde4 MAINTAINER= thierry@FreeBSD.org COMMENT= IDE/GUI for the R-project -LIB_DEPENDS= R.0:${PORTSDIR}/math/R -RUN_DEPENDS= seq2:${PORTSDIR}/misc/seq2 +BUILD_DEPENDS= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R +RUN_DEPENDS= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R \ + seq2:${PORTSDIR}/misc/seq2 LICENSE= GPLv2 @@ -64,13 +65,16 @@ pre-configure: ${REINPLACE_CMD} -e 's|ADD_SUBDIRECTORY(po)|#ADD_SUBDIRECTORY(po)|' \ ${WRKSRC}/CMakeLists.txt .endif + @(if [ ! -e ${LOCALBASE}/lib/R/lib/libR.so ] ; then \ + ${ECHO_MSG} "==> ${PKGNAME} requires math/R to be built WITH_LIBR" ; \ + exit 1; fi) post-install: ${TOUCH} ${LOCALBASE}/lib/R/library/rkwardtests/doc/.empty .if defined(MAINTAINER_MODE) regression-test: install - @${ECHO_MSG} "To pass the tests, somme CRAN packages like R2HTML" + @${ECHO_MSG} "To pass the tests, some CRAN packages like R2HTML" @${ECHO_MSG} "must be installed." (cd ${WRKSRC}/tests && make plugintests) .endif diff --git a/math/rkward-kde4/files/patch-rkward_rbackend_FindR.cmake b/math/rkward-kde4/files/patch-rkward_rbackend_FindR.cmake new file mode 100644 index 000000000000..3bbf01b81de8 --- /dev/null +++ b/math/rkward-kde4/files/patch-rkward_rbackend_FindR.cmake @@ -0,0 +1,11 @@ +--- rkward/rbackend/FindR.cmake.orig 2011-02-23 06:43:20.000000000 -0500 ++++ rkward/rbackend/FindR.cmake 2011-05-03 01:42:49.000000000 -0400 +@@ -99,7 +99,7 @@ + # needed when linking to Rlapack on linux for some unknown reason. + # apparently not needed on windows (let's see, when it comes back to bite us, though) + # and compiling on windows is hard enough even without requiring libgfortran, too. +- SET(R_USED_LIBS ${R_USED_LIBS} gfortran) ++ #SET(R_USED_LIBS ${R_USED_LIBS} gfortran) + ENDIF(WIN32 OR APPLE) + ENDIF(NOT LIBR_LAPACK) + diff --git a/math/rkward-kde4/pkg-plist b/math/rkward-kde4/pkg-plist index d0c8030f7304..1a4305c7e755 100644 --- a/math/rkward-kde4/pkg-plist +++ b/math/rkward-kde4/pkg-plist @@ -590,6 +590,7 @@ lib/R/library/rkward/help/paths.rds lib/R/library/rkward/help/rkward.rdb lib/R/library/rkward/help/rkward.rdx lib/R/library/rkward/html/00Index.html +lib/R/library/rkward/html/R.css lib/R/library/rkwardtests/DESCRIPTION lib/R/library/rkwardtests/INDEX lib/R/library/rkwardtests/Meta/Rd.rds @@ -608,6 +609,7 @@ lib/R/library/rkwardtests/help/paths.rds lib/R/library/rkwardtests/help/rkwardtests.rdb lib/R/library/rkwardtests/help/rkwardtests.rdx lib/R/library/rkwardtests/html/00Index.html +lib/R/library/rkwardtests/html/R.css @dirrm lib/R/library/rkwardtests/html @dirrm lib/R/library/rkwardtests/help @dirrm lib/R/library/rkwardtests/doc |