From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 29 14:50:21 2003 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 703C737B401 for ; Sun, 29 Jun 2003 14:50:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F18B143FDF for ; Sun, 29 Jun 2003 14:50:19 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5TLoJUp027827 for ; Sun, 29 Jun 2003 14:50:19 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5TLoJBY027826; Sun, 29 Jun 2003 14:50:19 -0700 (PDT) Resent-Date: Sun, 29 Jun 2003 14:50:19 -0700 (PDT) Resent-Message-Id: <200306292150.h5TLoJBY027826@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 7954B37B401 for ; Sun, 29 Jun 2003 14:44:56 -0700 (PDT) Received: from ws90bj.pompo.net (lns-th2-2f-81-56-186-139.adsl.proxad.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 375DC43F93 for ; Sun, 29 Jun 2003 14:44:55 -0700 (PDT) (envelope-from thierry@pompo.net) Received: by ws90bj.pompo.net (Postfix, from userid 1001) id BED4A22BDCB; Sun, 29 Jun 2003 23:44:56 +0200 (CEST) Message-Id: <20030629214456.BED4A22BDCB@ws90bj.pompo.net> Date: Sun, 29 Jun 2003 23:44:56 +0200 (CEST) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53909: New port: cad/metis-edf - a meshes partionning tool used by Code_Aster. 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: Sun, 29 Jun 2003 21:50:21 -0000 >Number: 53909 >Category: ports >Synopsis: New port: cad/metis-edf - a meshes partionning tool used by Code_Aster. >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: Sun Jun 29 14:50:19 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 5.1-RELEASE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD ws90bj.pompo.net 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Tue Jun 10 23:15:41 CEST 2003 root@ws90bj.pompo.net:/usr/obj/usr/src/sys/WS90BJ-030610 i386 >Description: METIS is a software package for partitioning unstructured graphs, partitioning meshes, and computing fill-reducing orderings of sparse matrices. This port is not the regular METIS package, but a patched version required by Code_Aster (to be ported). >How-To-Repeat: N/A. >Fix: Please execute the following shar file: --- metis-edf.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: # # cad/metis-edf # cad/metis-edf/Makefile # cad/metis-edf/distinfo # cad/metis-edf/pkg-descr # cad/metis-edf/pkg-plist # cad/metis-edf/files # cad/metis-edf/files/patch-CONFIG::configure # cad/metis-edf/files/patch-Programs::Makefile # cad/metis-edf/files/patch-Test::Makefile # echo c - cad/metis-edf mkdir -p cad/metis-edf > /dev/null 2>&1 echo x - cad/metis-edf/Makefile sed 's/^X//' >cad/metis-edf/Makefile << 'END-of-cad/metis-edf/Makefile' X# New ports collection makefile for: metis-edf X# Date created: Thu Jun 26 2003 X# Whom: thierry@pompo.net X# X# $FreeBSD$ X# X XPORTNAME= metis-edf XPORTVERSION= 3 XCATEGORIES= cad XMASTER_SITES= http://www.code-aster.org/FICHIERS/metis/ X XMAINTAINER= ports@FreeBSD.org XCOMMENT= Meshes partionning tool used by Code_Aster X XALL_TARGET= default XMAKE_ENV+= CC="${CC}" AR="${AR}" LD="${LD}" F77="${F77}" XUSE_REINPLACE= yes X XF77?= f77 X Xdo-install: X @${CP} ${WRKSRC}/CONFIG/onmetis.in ${WRKSRC}/onmetis X @${REINPLACE_CMD} -e "s#HOME_METIS#${PREFIX}/bin#" ${WRKSRC}/onmetis X ${INSTALL_SCRIPT} ${WRKSRC}/onmetis ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/onmetis.exe ${PREFIX}/bin X ${INSTALL_DATA} ${WRKSRC}/libmetis.a ${PREFIX}/lib X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps ${DOCSDIR} X @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." X @${MKDIR} ${EXAMPLESDIR} X @${INSTALL_DATA} ${WRKSRC}/Test/fort.81 ${EXAMPLESDIR} X @${ECHO_MSG} "===> Test file installed in ${EXAMPLESDIR}." X.endif X X.include END-of-cad/metis-edf/Makefile echo x - cad/metis-edf/distinfo sed 's/^X//' >cad/metis-edf/distinfo << 'END-of-cad/metis-edf/distinfo' XMD5 (metis-edf-3.tar.gz) = 1d989afa8bb0686f815eb2e8e71fadbc END-of-cad/metis-edf/distinfo echo x - cad/metis-edf/pkg-descr sed 's/^X//' >cad/metis-edf/pkg-descr << 'END-of-cad/metis-edf/pkg-descr' XMETIS is a software package for partitioning unstructured graphs, Xpartitioning meshes, and computing fill-reducing orderings of sparse Xmatrices. X XImportant note: this is not the original METIS, it has been specially Xpatched by EDF to be used by Code_Aster. X XWWW: http://www-users.cs.umn.edu/~karypis/metis/index.html END-of-cad/metis-edf/pkg-descr echo x - cad/metis-edf/pkg-plist sed 's/^X//' >cad/metis-edf/pkg-plist << 'END-of-cad/metis-edf/pkg-plist' Xbin/onmetis Xbin/onmetis.exe Xlib/libmetis.a X%%PORTDOCS%%%%DOCSDIR%%/manual.ps X%%PORTDOCS%%%%EXAMPLESDIR%%/fort.81 X%%PORTDOCS%%@dirrm %%DOCSDIR%% X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% END-of-cad/metis-edf/pkg-plist echo c - cad/metis-edf/files mkdir -p cad/metis-edf/files > /dev/null 2>&1 echo x - cad/metis-edf/files/patch-CONFIG::configure sed 's/^X//' >cad/metis-edf/files/patch-CONFIG::configure << 'END-of-cad/metis-edf/files/patch-CONFIG::configure' X--- CONFIG/configure.orig Mon Dec 16 18:11:44 2002 X+++ CONFIG/configure Sun Jun 29 14:58:48 2003 X@@ -18,7 +18,7 @@ X if [ -z "$rtn" ] || [ "$rtn" = "y" -o "$rtn" = "Y" ]; then X OS_TYPE=SunOS64 X fi X-elif [ $OS_TYPE != "OSF1" -a $OS_TYPE != "IRIX64" -a $OS_TYPE != "Linux" ]; then X+elif [ $OS_TYPE != "OSF1" -a $OS_TYPE != "IRIX64" -a $OS_TYPE != "Linux" -a $OS_TYPE != "FreeBSD" ]; then X echo " Operating system $OS_TYPE unknown on this distribution" X echo " Installation failed !" X exit 8 X@@ -30,14 +30,23 @@ X # FOPTIONS : Fortran compiler options, X # LDOPTIONS : link options, AR : archiver X X-CC="cc" X-F90="f90" X-LD="$F90" X-COPTIONS="" X-FOPTIONS="" X-LDOPTIONS="-L. -L.." X-OPTFLAGS="-O" X-AR="ar rv" X+if [ $OS_TYPE = "FreeBSD" ]; then X+ CC="$CC" X+ F90="$F77" X+ LD="$LD" X+ COPTIONS="$CFLAGS" X+ LDOPTIONS="$LDFLAGS -lc -lg2c -L. -L.." X+ AR="$AR rv" X+else X+ CC="cc" X+ F90="f90" X+ LD="$F90" X+ COPTIONS="" X+ FOPTIONS="" X+ LDOPTIONS="-L. -L.." X+ OPTFLAGS="-O" X+ AR="ar rv" X+fi X if [ $OS_TYPE = "Linux" ]; then X CC="gcc" X F90="g77" END-of-cad/metis-edf/files/patch-CONFIG::configure echo x - cad/metis-edf/files/patch-Programs::Makefile sed 's/^X//' >cad/metis-edf/files/patch-Programs::Makefile << 'END-of-cad/metis-edf/files/patch-Programs::Makefile' X--- Programs/Makefile.orig Thu Dec 12 13:47:59 2002 X+++ Programs/Makefile Sun Jun 29 15:39:26 2003 X@@ -11,7 +11,7 @@ X X X X-ONMETISOBJS = onmetis.o io.o smbfactor.o ecri11.o lect11.o lect00.o X+ONMETISOBJS = onmetis.o io.o smbfactor.o ecri11.o lect11.o lect00.o /usr/lib/crt1.o X X X END-of-cad/metis-edf/files/patch-Programs::Makefile echo x - cad/metis-edf/files/patch-Test::Makefile sed 's/^X//' >cad/metis-edf/files/patch-Test::Makefile << 'END-of-cad/metis-edf/files/patch-Test::Makefile' X--- Test/Makefile.orig Thu Dec 12 13:47:59 2002 X+++ Test/Makefile Sun Jun 29 16:00:25 2003 X@@ -4,7 +4,7 @@ X X vers_check: X @echo "### Test 2 : test --version option, onmetis returns :" X- (../onmetis --version ; exit 0) X+ @echo `../onmetis --version` X @echo " " X X fort.85 : fort.81 END-of-cad/metis-edf/files/patch-Test::Makefile exit --- metis-edf.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: