aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-05-06 21:45:22 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-05-06 21:45:22 +0000
commit60828c4c3195e293a00f516ece96dc9ecfb1b527 (patch)
tree969f71a78413ad2ffd04a1aa1a591c41d7097cda /math
parent2abbb9a69b07f14b470c552e04eed212a803dc60 (diff)
downloadports-60828c4c3195e293a00f516ece96dc9ecfb1b527.tar.gz
ports-60828c4c3195e293a00f516ece96dc9ecfb1b527.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/freefem++/Makefile5
-rw-r--r--math/freefem++/distinfo4
-rw-r--r--math/freefem++/files/patch-src::AnyType.hpp12
-rw-r--r--math/freefem++/files/patch-src::Makefile-linux11
-rw-r--r--math/freefem++/pkg-plist1
5 files changed, 11 insertions, 22 deletions
diff --git a/math/freefem++/Makefile b/math/freefem++/Makefile
index 649f24dcb3c1..53f5a56deb82 100644
--- a/math/freefem++/Makefile
+++ b/math/freefem++/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= freefem++
-PORTVERSION= 1.38
-PORTREVISION= 1
+PORTVERSION= 1.40
CATEGORIES= math science
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/Gamma/freefem/ \
http://mule.ann.jussieu.fr/~hecht/ftp/freefem/
@@ -36,7 +35,7 @@ USE_GCC= 3.2
HOSTTYPE!= ${UNAME} -s
-post-patch:
+pre-configure:
@${MV} ${WRKSRC}/src/Makefile-linux ${WRKSRC}/src/Makefile-${HOSTTYPE}
@${MV} ${WRKSRC}/src/Makefile-linux.orig ${WRKSRC}/src/Makefile-linux
diff --git a/math/freefem++/distinfo b/math/freefem++/distinfo
index 3664303c2535..6dd7ffd4650d 100644
--- a/math/freefem++/distinfo
+++ b/math/freefem++/distinfo
@@ -1,2 +1,2 @@
-MD5 (FreeFem++v1.38.tar.gz) = f43b5331afe0991a2b4455bb64d1ac66
-SIZE (FreeFem++v1.38.tar.gz) = 4335787
+MD5 (FreeFem++v1.40.tar.gz) = 23bdded2db3745a5c93109e12ddd9684
+SIZE (FreeFem++v1.40.tar.gz) = 4422321
diff --git a/math/freefem++/files/patch-src::AnyType.hpp b/math/freefem++/files/patch-src::AnyType.hpp
deleted file mode 100644
index 1b26f3907ef5..000000000000
--- a/math/freefem++/files/patch-src::AnyType.hpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./src/AnyType.hpp.orig Sat May 31 11:53:05 2003
-+++ ./src/AnyType.hpp Sun Feb 29 16:13:27 2004
-@@ -5,7 +5,8 @@
- class basicForEachType;
- typedef const basicForEachType * aType;
-
--typedef unsigned char AnyData[24];
-+//typedef unsigned char AnyData[24];
-+typedef unsigned char AnyData[2*(sizeof(void*)+2*sizeof(double))];
-
- extern map<const string,basicForEachType *> map_type;
-
diff --git a/math/freefem++/files/patch-src::Makefile-linux b/math/freefem++/files/patch-src::Makefile-linux
index e28f885684f2..b2605b9e1eca 100644
--- a/math/freefem++/files/patch-src::Makefile-linux
+++ b/math/freefem++/files/patch-src::Makefile-linux
@@ -1,7 +1,8 @@
---- src/Makefile-linux.orig Fri Jan 9 09:17:19 2004
-+++ src/Makefile-linux Sat Jan 10 17:52:42 2004
-@@ -1,18 +1,18 @@
--LIBLOCAL = -ldl # for dlopen (see load.cpp and man dlopen)
+--- src/Makefile-linux.orig Tue Feb 10 13:23:56 2004
++++ src/Makefile-linux Thu May 6 21:52:05 2004
+@@ -1,19 +1,18 @@
+-LIBLOCAL = -ldl -rdynamic # for dlopen (see load.cpp)
+-# for dlopen (see load.cpp and man dlopen)
-LIBX11= -L/usr/X11R6/lib -lX11 -lm
-INCLUDEX11 = /usr/X11R6/include
-CXX=g++ #C++ compiler
@@ -29,7 +30,7 @@
# ------------------------------
# compilation flags of FreeFem++
# ------------------------------
-@@ -31,7 +31,7 @@
+@@ -32,7 +31,7 @@
# ---------------------------
# install and compile dir.
# ----------------------
diff --git a/math/freefem++/pkg-plist b/math/freefem++/pkg-plist
index 4f2da67191a3..f869a060af30 100644
--- a/math/freefem++/pkg-plist
+++ b/math/freefem++/pkg-plist
@@ -98,6 +98,7 @@ bin/FreeFem++-nw
%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/schwarz-gc.edp
%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/schwarz-no-overlap.edp
%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/schwarz-overlap.edp
+%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/sparce-matrix.edp
%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/tablefunction.edp
%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/xyf
%%PORTDOCS%%%%EXAMPLESDIR%%/wafer-heating-laser-axi.edp