diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2004-12-29 20:46:47 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2004-12-29 20:46:47 +0000 |
commit | 5b2aa28c65d21562ab17d4f29778ea8f2346ecc5 (patch) | |
tree | cbfb00526ce849cb3f0bca6f79b0f02cdec85074 /science | |
parent | 866ee92c168610beb137a1a475b925b9214a6d08 (diff) | |
download | ports-5b2aa28c65d21562ab17d4f29778ea8f2346ecc5.tar.gz ports-5b2aa28c65d21562ab17d4f29778ea8f2346ecc5.zip |
Notes
Diffstat (limited to 'science')
-rw-r--r-- | science/Makefile | 1 | ||||
-rw-r--r-- | science/isaac-cfd/Makefile | 59 | ||||
-rw-r--r-- | science/isaac-cfd/distinfo | 8 | ||||
-rw-r--r-- | science/isaac-cfd/files/patch-makefile | 23 | ||||
-rw-r--r-- | science/isaac-cfd/files/patch-turb+turb.mk | 8 | ||||
-rw-r--r-- | science/isaac-cfd/pkg-descr | 13 | ||||
-rw-r--r-- | science/isaac-cfd/pkg-plist | 69 |
7 files changed, 181 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile index 835f9563cde1..1bd280bc8027 100644 --- a/science/Makefile +++ b/science/Makefile @@ -28,6 +28,7 @@ SUBDIR += gsystem SUBDIR += hdf SUBDIR += hdf5 + SUBDIR += isaac-cfd SUBDIR += kmovisto SUBDIR += kst SUBDIR += libctl diff --git a/science/isaac-cfd/Makefile b/science/isaac-cfd/Makefile new file mode 100644 index 000000000000..25ef3c87ac0e --- /dev/null +++ b/science/isaac-cfd/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: isaac-cfd +# Date created: 19 October 2004 +# Whom: Pedro F. Giffuni +# +# $FreeBSD$ +# + +PORTNAME= isaac +PORTVERSION= 4.2 +CATEGORIES= science +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= isaac-cfd +DISTFILES= ${PORTNAME}src.4_2${EXTRACT_SUFX} ${PORTNAME}mk.4_2${EXTRACT_SUFX} +.ifndef NOPORTDOCS +DISTFILES+= man.4_2.ps.gz +.endif +.ifdef WITH_EXAMPLES +DISTFILES+= example_cases${EXTRACT_SUFX} +.endif +DIST_SUBDIR= isaac-cfd +EXTRACT_ONLY= ${PORTNAME}src.4_2${EXTRACT_SUFX} ${PORTNAME}mk.4_2${EXTRACT_SUFX} + +MAINTAINER= ports@FreeBSD.org +COMMENT= Integrated Solution Algorithm for Arbitrary Configuration + +NO_WRKSUBDIR= yes +USE_REINPLACE= yes +USE_GMAKE= yes +MAKEFILE= makefile +MAKE_FLAGS= CPPFLAGS=-I. + +FFLAGS?= -O2 + +.if !defined(WITH_EXAMPLES) +PLIST_SUB= WITH_EXAMPLES="@comment " +.else +PLIST_SUB= WITH_EXAMPLES="" +.endif + +pre-configure: + @${REINPLACE_CMD} -e 's+%%FC%%+${FC}+g ; s+%%FFLAGS%%+${FFLAGS}+;' \ + ${WRKSRC}/makefile + ${FIND} ${WRKSRC} -name "*.mk" -exec \ + ${REINPLACE_CMD} -e 's|SRC= $$(HOME)/ISAAC/src|SRC= ${WRKSRC}|; \ + s|$$(FFLAGS)|${FFLAGS} -I.|' {} \; + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/isaac ${PREFIX}/bin/isaac +.ifndef NOPORTDOCS + @${MKDIR} ${DOCSDIR} + @${CP} ${DISTDIR}/${DIST_SUBDIR}/man.4_2.ps.gz ${DOCSDIR} +.endif +.ifdef WITH_EXAMPLES + @${MKDIR} ${EXAMPLESDIR} + @${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/example_cases${EXTRACT_SUFX} \ + -C ${EXAMPLESDIR}/ +.endif + +.include <bsd.port.mk> diff --git a/science/isaac-cfd/distinfo b/science/isaac-cfd/distinfo new file mode 100644 index 000000000000..13e2144f510c --- /dev/null +++ b/science/isaac-cfd/distinfo @@ -0,0 +1,8 @@ +MD5 (isaac-cfd/isaacsrc.4_2.tar.gz) = 91e854054e1c4bad06ee91c3bb50dd70 +SIZE (isaac-cfd/isaacsrc.4_2.tar.gz) = 261643 +MD5 (isaac-cfd/isaacmk.4_2.tar.gz) = 5c9f4f8fefeaa596b4b3df5d526992d2 +SIZE (isaac-cfd/isaacmk.4_2.tar.gz) = 1623 +MD5 (isaac-cfd/man.4_2.ps.gz) = 5a31968844f6db2c34443c321ac7401a +SIZE (isaac-cfd/man.4_2.ps.gz) = 1472879 +MD5 (isaac-cfd/example_cases.tar.gz) = e5c0344437c7ad8fa7758fed79f339e2 +SIZE (isaac-cfd/example_cases.tar.gz) = 3127203 diff --git a/science/isaac-cfd/files/patch-makefile b/science/isaac-cfd/files/patch-makefile new file mode 100644 index 000000000000..9c0f92a15ec9 --- /dev/null +++ b/science/isaac-cfd/files/patch-makefile @@ -0,0 +1,23 @@ +--- makefile.orig Mon Jun 18 02:54:29 2001 ++++ makefile Tue Dec 28 16:14:53 2004 +@@ -1,7 +1,6 @@ +-MAKE=make +- +-FC = f77 ++MAKE?=gmake + ++F77 = %%FC%% + #SRC= $(HOME)/CFD/ISAAC/src + SRC= $(CURDIR) + SRCTARFILE= isaacsrc.tar +@@ -20,8 +19,8 @@ + #####FFLAGS= -mips2 -O2 -Olimit 3000 -noisam + + #g77 flags +-FFLAGS= -O2 +-CPPFLAGS = -DCPU_TIME ++FFLAGS = %%FFLAGS%% ++CPPFLAGS += -DCPU_TIME + + OBJ= main.o \ + bc.o \ diff --git a/science/isaac-cfd/files/patch-turb+turb.mk b/science/isaac-cfd/files/patch-turb+turb.mk new file mode 100644 index 000000000000..042ce588beec --- /dev/null +++ b/science/isaac-cfd/files/patch-turb+turb.mk @@ -0,0 +1,8 @@ +--- turb/turb.mk.orig Fri Jun 8 04:24:24 2001 ++++ turb/turb.mk Sun Dec 26 21:25:24 2004 +@@ -1,4 +1,4 @@ +-MAKE=make ++MAKE?=gmake + + SRC= $(HOME)/ISAAC/src + TURB= $(SRC)/turb diff --git a/science/isaac-cfd/pkg-descr b/science/isaac-cfd/pkg-descr new file mode 100644 index 000000000000..fa8eb6494b47 --- /dev/null +++ b/science/isaac-cfd/pkg-descr @@ -0,0 +1,13 @@ +ISAAC (Integrated Solution Algorithm for Arbitrary Configurations) is a +compressible Euler/Navier-Stokes computational fluid dynamics code. ISAAC +includes the capability of calculating the Euler equations for inviscid +flow or the Navier-Stokes equations for viscous flows. ISAAC uses a domain +decomposition structure to accomodate complex physical configurations. +ISAAC can calculate either steady-state or time dependent flow. + +ISAAC was designed to test turbulence models. Various two equation +turbulence models, explicit algebraic Reynolds stress models, and full +differential Reynolds stress models are implemented in ISAAC. Several test +cases are documented in the User's Guide. + +WWW: http://isaac-cfd.sourceforge.net/ diff --git a/science/isaac-cfd/pkg-plist b/science/isaac-cfd/pkg-plist new file mode 100644 index 000000000000..b6fdbb97c3c6 --- /dev/null +++ b/science/isaac-cfd/pkg-plist @@ -0,0 +1,69 @@ +bin/isaac +%%PORTDOCS%%%%DOCSDIR%%/man.4_2.ps.gz +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Experimental_Data/klebanoff.data +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Experimental_Data/klebanoff.wall +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Experimental_Data/klebwall.f +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Grid/flatplate.f +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Grid/flatplate.grd +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/asm.dat +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/asm.dat2 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/asm.dat3 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/asm.out1 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/asm.out2 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/asm.out3 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/flatplate.grd +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/ke.dat +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/ke.dat2 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/ke.dat3 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/ke.out1 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/ke.out2 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/ke.out3 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/kw.dat +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/kw.dat2 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/kw.dat3 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/kw.out1 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/kw.out2 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/kw.out3 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/rs.dat +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/rs.dat2 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/rs.dat3 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/rs.out1 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/rs.out2 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/Klebanoff/Results/rs.out3 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/NACA0012/Grid/cnvrtgrd.f +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/NACA0012/Grid/gr224n20 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/NACA0012/Results/n12_225_33.grd +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/NACA0012/Results/naca0012.g.fmt +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/NACA0012/Results/naca0012.q.fmt +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/NACA0012/Results/naca0012.rst1 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/NACA0012/Results/naca0012_mg.cl +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/NACA0012/Results/naca0012_mg.dat +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/NACA0012/Results/naca0012_mg.out1 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/NACA0012/Results/naca0012_mg.resid +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/NACA0012/Results/naca0012_nomg.cl +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/NACA0012/Results/naca0012_nomg.dat +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/NACA0012/Results/naca0012_nomg.out1 +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/NACA0012/Results/naca0012_nomg.resid +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/RAE2822/Case_9/Data/rae2822_case9.cf +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/RAE2822/Case_9/Data/rae2822_case9.up +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/RAE2822/Case_9/Results/saa.profs +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/RAE2822/Case_9/Results/saa.surf +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/RAE2822/Case_9/Results/saa.vel +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/RAE2822/Grid/cbin2fmt.f +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/RAE2822/Grid/rae2822_grd.ps +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/RAE2822/Grid/rae9_257.grd +%%WITH_EXAMPLES%%%%EXAMPLESDIR%%/RAE2822/Grid/rae_257x97.fmt +%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/Klebanoff/Experimental_Data +%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/Klebanoff/Grid +%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/Klebanoff/Results +%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/Klebanoff +%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/NACA0012/Grid +%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/NACA0012/Results +%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/NACA0012 +%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/RAE2822/Case_9/Data +%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/RAE2822/Case_9/Results +%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/RAE2822/Case_9 +%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/RAE2822/Grid +%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/RAE2822 +%%WITH_EXAMPLES%%@dirrm %%EXAMPLESDIR%% |