diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-03-20 21:33:26 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-03-20 21:33:26 +0000 |
commit | bd1075b399cb33ea838bd8959a1c1c0bb606dd24 (patch) | |
tree | 4e54484391f0be7b1e2dbd5db367073123b39c13 /cad/kaskade | |
parent | Update port to 0.84 (diff) |
* Support CXX/CXXFLAGS properly
* Add WWW
PR: 17458
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=26850
Diffstat (limited to 'cad/kaskade')
-rw-r--r-- | cad/kaskade/Makefile | 4 | ||||
-rw-r--r-- | cad/kaskade/files/patch-aa | 30 | ||||
-rw-r--r-- | cad/kaskade/pkg-descr | 4 |
3 files changed, 22 insertions, 16 deletions
diff --git a/cad/kaskade/Makefile b/cad/kaskade/Makefile index 5bcd0ec823c2..39b5d44e4a52 100644 --- a/cad/kaskade/Makefile +++ b/cad/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/cad/kaskade/files/patch-aa b/cad/kaskade/files/patch-aa index de27472acfb0..08db5888cb1f 100644 --- a/cad/kaskade/files/patch-aa +++ b/cad/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/cad/kaskade/pkg-descr b/cad/kaskade/pkg-descr index 34bffa2ed308..e474032ab952 100644 --- a/cad/kaskade/pkg-descr +++ b/cad/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/ |