aboutsummaryrefslogtreecommitdiff
path: root/math/rkward
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2009-01-21 10:33:14 +0000
committerThierry Thomas <thierry@FreeBSD.org>2009-01-21 10:33:14 +0000
commit9cdc2994e4f95b8604672c44b1a0248171b536fc (patch)
tree70064032fc5ba322d1a9844215178289207e7661 /math/rkward
parentb8a0041171d69ca8ee365024332c1cb7c25f4c1e (diff)
downloadports-9cdc2994e4f95b8604672c44b1a0248171b536fc.tar.gz
ports-9cdc2994e4f95b8604672c44b1a0248171b536fc.zip
Notes
Diffstat (limited to 'math/rkward')
-rw-r--r--math/rkward/Makefile7
-rw-r--r--math/rkward/files/patch-rkward_rbackend_rembedinternal.cpp13
-rw-r--r--math/rkward/pkg-plist14
3 files changed, 23 insertions, 11 deletions
diff --git a/math/rkward/Makefile b/math/rkward/Makefile
index 15a43b22e81d..dce9a3892c88 100644
--- a/math/rkward/Makefile
+++ b/math/rkward/Makefile
@@ -7,7 +7,7 @@
PORTNAME= rkward
DISTVERSION= 0.4.9a
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 3
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -18,8 +18,6 @@ COMMENT= IDE/GUI for the R-project
LIB_DEPENDS= R.0:${PORTSDIR}/math/R
-BROKEN= does not compile
-
USE_KDELIBS_VER=3
USE_PHP= yes
WANT_PHP_CLI= yes
@@ -31,8 +29,7 @@ CONFIGURE_ARGS= --disable-fast-perl
INSTALLS_ICONS= yes
USE_FORTRAN= yes
-FORTRANLIBDIR2= `${DIRNAME} \\`gfortran42 -print-libgcc-file-name\\``/../../../
-CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
+FORTRANLIBDIR2= `${DIRNAME} \\`${FC} -print-libgcc-file-name\\``/../../../
DOCSDIR= ${PREFIX}/share/doc/HTML/en/rkward
diff --git a/math/rkward/files/patch-rkward_rbackend_rembedinternal.cpp b/math/rkward/files/patch-rkward_rbackend_rembedinternal.cpp
new file mode 100644
index 000000000000..ff283dc0187d
--- /dev/null
+++ b/math/rkward/files/patch-rkward_rbackend_rembedinternal.cpp
@@ -0,0 +1,13 @@
+--- ./rkward/rbackend/rembedinternal.cpp.orig 2008-04-10 15:19:08.000000000 +0200
++++ ./rkward/rbackend/rembedinternal.cpp 2009-01-21 10:27:25.000000000 +0100
+@@ -87,7 +87,9 @@
+ #include "R.h"
+ #include "Rinternals.h"
+ #include "Rinterface.h"
+-#include "Rdevices.h"
++#if (R_VERSION < R_Version(2, 8, 1))
++# include "Rdevices.h"
++#endif
+ #include "R_ext/Parse.h"
+
+ #ifdef R_2_4
diff --git a/math/rkward/pkg-plist b/math/rkward/pkg-plist
index 1e738269a06c..f90076f3c115 100644
--- a/math/rkward/pkg-plist
+++ b/math/rkward/pkg-plist
@@ -472,21 +472,23 @@ share/icons/locolor/32x32/apps/rkward.png
@dirrmtry share/apps/katepart/syntax
@dirrmtry share/apps/katepart
@cwd %%LOCALBASE%%
+lib/R/library/rkward/CONTENTS
lib/R/library/rkward/DESCRIPTION
-lib/R/library/rkward/Meta/package.rds
+lib/R/library/rkward/INDEX
lib/R/library/rkward/Meta/Rd.rds
lib/R/library/rkward/Meta/hsearch.rds
-lib/R/library/rkward/libs/rkward.so
+lib/R/library/rkward/Meta/package.rds
+lib/R/library/rkward/R-ex/public.R
lib/R/library/rkward/R/rkward
-lib/R/library/rkward/man/rkward.Rd.gz
+lib/R/library/rkward/R/rkward.rdb
+lib/R/library/rkward/R/rkward.rdx
lib/R/library/rkward/help/AnIndex
lib/R/library/rkward/help/public
lib/R/library/rkward/html/00Index.html
lib/R/library/rkward/html/public.html
lib/R/library/rkward/latex/public.tex
-lib/R/library/rkward/R-ex/public.R
-lib/R/library/rkward/CONTENTS
-lib/R/library/rkward/INDEX
+lib/R/library/rkward/libs/rkward.so
+lib/R/library/rkward/man/rkward.Rd.gz
@dirrm lib/R/library/rkward/man
@dirrm lib/R/library/rkward/libs
@dirrm lib/R/library/rkward/latex