summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/kaskade/Makefile4
-rw-r--r--math/kaskade/files/patch-aa30
-rw-r--r--math/kaskade/pkg-descr4
3 files changed, 22 insertions, 16 deletions
diff --git a/math/kaskade/Makefile b/math/kaskade/Makefile
index 5bcd0ec..39b5d44 100644
--- a/math/kaskade/Makefile
+++ b/math/kaskade/Makefile
@@ -27,11 +27,11 @@ MAKEFILE= makefile
ALL_TARGET= k6
do-install:
- $(INSTALL_PROGRAM) $(WRKSRC)/k6 $(PREFIX)/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/k6 ${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/examples/kaskade
+ @${MKDIR} ${PREFIX}/share/examples/kaskade
${INSTALL_DATA} ${WRKSRC}/*.cmd ${PREFIX}/share/examples/kaskade
${INSTALL_DATA} ${WRKSRC}/*.geo ${PREFIX}/share/examples/kaskade
${INSTALL_DATA} ${WRKSRC}/*.mat ${PREFIX}/share/examples/kaskade
diff --git a/math/kaskade/files/patch-aa b/math/kaskade/files/patch-aa
index de27472..08db588 100644
--- a/math/kaskade/files/patch-aa
+++ b/math/kaskade/files/patch-aa
@@ -1,28 +1,30 @@
---- makefile.orig Wed Sep 25 09:32:22 1996
-+++ makefile Fri Aug 6 19:37:41 1999
-@@ -1,6 +1,6 @@
+--- makefile.orig Wed Sep 25 23:32:22 1996
++++ makefile Mon Mar 13 01:34:19 2000
+@@ -1,7 +1,7 @@
PURIFY = #purify
PURELINK = #purelink
-C++ = $(PURIFY) g++
-+C++ = $(PURIFY) g++ -w -I$(X11BASE)/include
- LD = $(PURELINK) g++
+-LD = $(PURELINK) g++
++C++ = ${CXX}
++LD = ${CXX}
#C++ = $(PURIFY) g++ -w -I/sgisoft/gnu/lib/g++-include # !!! SGI GNU 2.7.1
+ #LD = $(PURIFY) g++ -w
@@ -18,25 +18,33 @@
#FORFLAGS = -O -extend_source # SGI
DEBFLAG = -g
-OPTFLAG = -Wall -O -g
-+#OPTFLAG = -Wall -O -g
++OPTFLAG = ${CXXFLAGS}
LIBS = -lX11 -lm $(F77LIBS)
-#LIBDIR = /usr/X11/lib # PC LINUX, XFree86 3.1.1
+.if ${PORTOBJFORMAT} == "elf"
-+LIBS+=-Wl,-rpath,$(X11BASE)/lib
++LIBS+=-Wl,-rpath,${X11BASE}/lib
+.endif
-F77LIBS = -L/opt/SUNWspro/SC4.0/lib -lF77 -lM77 -lsunmath -lsocket -lnsl # SUN
-+LIBDIR = $(X11BASE)/lib # PC LINUX, XFree86 3.1.1
++LIBDIR = ${X11BASE}/lib
+
+#F77LIBS = -L/opt/SUNWspro/SC4.0/lib -lF77 -lM77 -lsunmath -lsocket -lnsl # SUN
#F77LIBS = -lftn # SGI
@@ -30,17 +32,19 @@
# F77LIBS = -lxlf -lxlf90 -lxlfutil # IBM
# F77LIBS = -lfor # DEC Alpha
-# F77LIBS = -lf2c # PC LINUX, XFree86 3.1.1
+-
+-CFLAGS = -ansi
+-CPPFLAGS =
+-LDFLAGS = $(DEBFLAG)
+.if defined(HAVE_G2C)
+F77LIBS = -lg2c # PC LINUX, XFree86 3.1.1
+.else
+F77LIBS = -lf2c # PC LINUX, XFree86 3.1.1
+.endif
-
--CFLAGS = -ansi
--CPPFLAGS =
++
+#CFLAGS = -ansi
-+CPPFLAGS = $(CFLAGS)
- LDFLAGS = $(DEBFLAG)
++CPPFLAGS = -I${X11BASE}/include
++#LDFLAGS = $(DEBFLAG)
# -------------------------------------------------------------------------
diff --git a/math/kaskade/pkg-descr b/math/kaskade/pkg-descr
index 34bffa2..e474032 100644
--- a/math/kaskade/pkg-descr
+++ b/math/kaskade/pkg-descr
@@ -1,4 +1,4 @@
-The KASKADE 3.1 software package solves linear scalar elliptic and
+The KASKADE software package solves linear scalar elliptic and
parabolic problems in 1, 2, 3 space dimensions with adaptive finite
element methods.
@@ -20,3 +20,5 @@ eLib at the Konrad-Zuse-Zentrum in Berlin.
in the subdirectories
/pub/kaskade/3.x and /pub/kaskade/Manuals/3.x
+
+WWW: http://www.zib.de/SciSoft/kaskade/
OpenPOWER on IntegriCloud