From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 2 13:10:28 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 808AE16A4CE for ; Fri, 2 Jan 2004 13:10:28 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2545B43D68 for ; Fri, 2 Jan 2004 13:10:19 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i02LAIFR089470 for ; Fri, 2 Jan 2004 13:10:18 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i02LAI4h089469; Fri, 2 Jan 2004 13:10:18 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 2 Jan 2004 13:10:18 -0800 (PST) Resent-Message-Id: <200401022110.i02LAI4h089469@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thierry Thomas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D94D16A4CF for ; Fri, 2 Jan 2004 13:08:57 -0800 (PST) Received: from ws90bj.pompo.net (graf.pompo.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CC3443D49 for ; Fri, 2 Jan 2004 13:08:50 -0800 (PST) (envelope-from thierry@pompo.net) Received: by ws90bj.pompo.net (Postfix, from userid 1001) id C103B22BF18; Fri, 2 Jan 2004 22:08:49 +0100 (CET) Message-Id: <20040102210849.C103B22BF18@ws90bj.pompo.net> Date: Fri, 2 Jan 2004 22:08:49 +0100 (CET) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/60836: New port: math/nsc2ke, a Navier-Stokes solver. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2004 21:10:28 -0000 >Number: 60836 >Category: ports >Synopsis: New port: math/nsc2ke, a Navier-Stokes solver. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jan 02 13:10:18 PST 2004 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 5.2-RC i386 >Organization: Kabbale Eros >Environment: System: FreeBSD ws90bj.pompo.net 5.2-RC FreeBSD 5.2-RC #0: Fri Jan 2 18:13:49 CET 2004 thierry@ws90bj.pompo.net:/usr/obj/usr/src/sys/WS90BJ-040102 i386 >Description: An add-on for the ports math/bamg and math/emc2 (submitted in separate PRs). >How-To-Repeat: N/A. >Fix: Please execute the following shar file: --- nsc2ke.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # math/nsc2ke # math/nsc2ke/files # math/nsc2ke/files/patch-makefile # math/nsc2ke/Makefile # math/nsc2ke/distinfo # math/nsc2ke/pkg-descr # math/nsc2ke/pkg-plist # math/nsc2ke/pkg-message # echo c - math/nsc2ke mkdir -p math/nsc2ke > /dev/null 2>&1 echo c - math/nsc2ke/files mkdir -p math/nsc2ke/files > /dev/null 2>&1 echo x - math/nsc2ke/files/patch-makefile sed 's/^X//' >math/nsc2ke/files/patch-makefile << 'END-of-math/nsc2ke/files/patch-makefile' X--- makefile.orig Tue Feb 7 14:00:19 1995 X+++ makefile Thu Jan 1 21:40:26 2004 X@@ -1,6 +1,4 @@ X-F77=f77 X-LINK=f77 -O X-FLAGS=-c -O X+# $FreeBSD$ X X OBJS=nsc2ke.o config.o mailla.o aires.o seg2d.o\ X clhaut.o init.o calprc.o result.o fluosh.o flucin.o\ X@@ -9,7 +7,7 @@ X loglaw.o isovat.o gravity.o X X .f.o: X- $(F77) $(FLAGS) $*.f X+ $(F77) -c $(FFLAGS) $*.f X X NSC2KE:$(OBJS) X- $(LINK) $(OBJS) -o NSC2KE X+ $(F77) $(FFLAGS) $(OBJS) -o NSC2KE END-of-math/nsc2ke/files/patch-makefile echo x - math/nsc2ke/Makefile sed 's/^X//' >math/nsc2ke/Makefile << 'END-of-math/nsc2ke/Makefile' X# New ports collection makefile for: nsc2ke X# Date created: 16 December 2003 X# Whom: thierry@pompo.net X# X# $FreeBSD$ X# X XPORTNAME= nsc2ke XPORTVERSION= 1.0 XCATEGORIES= math science XMASTER_SITES= http://www-rocq1.inria.fr/gamma/cdrom/ftp/nsc2ke/ XDISTNAME= ${PORTNAME} X.if !defined(NOPORTDOCS) XDISTFILES= ${DISTNAME}${EXTRACT_SUFX} nsc2ke.ps.gz XEXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} X.endif X XMAINTAINER= ports@FreeBSD.org XCOMMENT= A Navier-Stokes solver X XRESTRICTED= No resale, contact author for commercial usage X XF77?= f77 XFFLAGS?= -O2 # Note: FFLAGS is set to -O in /usr/share/mk/sys.mk X XWRKSRC= ${WRKDIR} X XMAKEFILE= makefile XALL_TARGET= NSC2KE XMAKE_ENV= F77="${F77}" FFLAGS="${FFLAGS}" X XEXEMPLES= DATA MESH gnu.data XTESTDIR?= /tmp/testnsc2ke X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/NSC2KE ${PREFIX}/bin X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/READ_ME ${DOCSDIR} X @${INSTALL_DATA} ${DISTDIR}/nsc2ke.ps.gz ${DOCSDIR} X @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." X @${MKDIR} ${EXAMPLESDIR} X.for fich in ${EXEMPLES} X @${INSTALL_DATA} ${WRKSRC}/${fich} ${EXAMPLESDIR} X.endfor X @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." X.endif X Xpost-install: X @${ECHO} X @${CAT} ${PKGMESSAGE} X @${ECHO} X X.if defined(MAINTAINER_MODE) Xtest: install X ${MKDIR} ${TESTDIR} X.for fich in ${EXEMPLES} X ${INSTALL_DATA} ${WRKSRC}/${fich} ${TESTDIR} X.endfor X (cd ${TESTDIR}; \ X NSC2KE; \ X gnuplot < gnu.data) X.endif X X.include END-of-math/nsc2ke/Makefile echo x - math/nsc2ke/distinfo sed 's/^X//' >math/nsc2ke/distinfo << 'END-of-math/nsc2ke/distinfo' XMD5 (nsc2ke.tar.gz) = 4a7e7739fd50fe7493a6ef909c621503 XMD5 (nsc2ke.ps.gz) = 4302ec130267d2391f27be3855a015c9 END-of-math/nsc2ke/distinfo echo x - math/nsc2ke/pkg-descr sed 's/^X//' >math/nsc2ke/pkg-descr << 'END-of-math/nsc2ke/pkg-descr' XNSC2KE is a Finite-Volume Galerkin program computing 2D and axisymmetric Xflows on unstructured meshes. X XSuggested add-on: the ports math/bamg or math/emc2. X XWWW: http://www-rocq1.inria.fr/gamma/cdrom/www/nsc2ke/eng.htm END-of-math/nsc2ke/pkg-descr echo x - math/nsc2ke/pkg-plist sed 's/^X//' >math/nsc2ke/pkg-plist << 'END-of-math/nsc2ke/pkg-plist' Xbin/NSC2KE X%%PORTDOCS%%%%DOCSDIR%%/READ_ME X%%PORTDOCS%%%%DOCSDIR%%/nsc2ke.ps.gz X%%PORTDOCS%%%%EXAMPLESDIR%%/DATA X%%PORTDOCS%%%%EXAMPLESDIR%%/MESH X%%PORTDOCS%%%%EXAMPLESDIR%%/gnu.data X%%PORTDOCS%%@dirrm %%DOCSDIR%% X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% END-of-math/nsc2ke/pkg-plist echo x - math/nsc2ke/pkg-message sed 's/^X//' >math/nsc2ke/pkg-message << 'END-of-math/nsc2ke/pkg-message' XThe names of the input and output files are hard-coded. You must have: X X- the computation configuration (Mach, Reynolds,...) in file a 'DATA'; X X- the mesh in a file 'MESH'. X XPut these files in a working directory (see the examples), cd to this Xdirectory, and run NSC2KE. The example gnu.data shows you how to visualize Xthe results by typing 'gnuplot < gnu.data'. END-of-math/nsc2ke/pkg-message exit --- nsc2ke.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: