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 9869016A4CF 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 C64BA43D4C for ; Fri, 2 Jan 2004 13:10:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i02LAIFR089457 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 i02LAI3m089455; 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.i02LAI3m089455@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 C4C3916A4CE for ; Fri, 2 Jan 2004 13:08:51 -0800 (PST) Received: from ws90bj.pompo.net (graf.pompo.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1318243D5F for ; Fri, 2 Jan 2004 13:08:47 -0800 (PST) (envelope-from thierry@pompo.net) Received: by ws90bj.pompo.net (Postfix, from userid 1001) id 32DBD22BEF7; Fri, 2 Jan 2004 22:08:46 +0100 (CET) Message-Id: <20040102210846.32DBD22BEF7@ws90bj.pompo.net> Date: Fri, 2 Jan 2004 22:08:46 +0100 (CET) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/60835: New port: math/emc2, a graphic editor of two dimensional geometry and mesh. 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: 60835 >Category: ports >Synopsis: New port: math/emc2, a graphic editor of two dimensional geometry and mesh. >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: Yet another add-on for the port math/freefem++. >How-To-Repeat: N/A. >Fix: Please execute the following shar file: --- emc2.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/emc2 # math/emc2/Makefile # math/emc2/distinfo # math/emc2/pkg-descr # math/emc2/pkg-plist # math/emc2/files # math/emc2/files/patch-Makefile # math/emc2/files/patch-libI77::fio.h # echo c - math/emc2 mkdir -p math/emc2 > /dev/null 2>&1 echo x - math/emc2/Makefile sed 's/^X//' >math/emc2/Makefile << 'END-of-math/emc2/Makefile' X# New ports collection makefile for: emc2 X# Date created: 16 December 2003 X# Whom: thierry@pompo.net X# X# $FreeBSD$ X# X XPORTNAME= emc2 XPORTVERSION= 2.15 XCATEGORIES= math science XMASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/Gamma/emc2/ XDISTNAME= ${PORTNAME}-v${PORTVERSION}c X.if !defined(NOPORTDOCS) XDISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ X ${PORTNAME}.doc.en.ps.gz ${PORTNAME}.doc.fr.ps.gz XEXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} X.endif X XMAINTAINER= ports@FreeBSD.org XCOMMENT= A graphic editor of two dimensional geometry and mesh X XRESTRICTED= No resale, contact author for commercial usage X XWRKSRC= ${WRKDIR}/${PORTNAME} X XUSE_XLIB= yes XUSE_GMAKE= yes XALL_TARGET= ${PORTNAME} X X.if defined(LANG) && ${LANG:Mfr*} != "" XCFLAGS+= -DFRENCH X.endif X Xpost-install: X @${STRIP_CMD} ${PREFIX}/bin/emc2 X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} ${EXAMPLESDIR} X @${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCSDIR} X.for doc in ${PORTNAME}.doc.en.ps.gz ${PORTNAME}.doc.fr.ps.gz X @${INSTALL_DATA} ${DISTDIR}/${doc} ${DOCSDIR} X.endfor X @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." X @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} X @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." X.endif X X.include END-of-math/emc2/Makefile echo x - math/emc2/distinfo sed 's/^X//' >math/emc2/distinfo << 'END-of-math/emc2/distinfo' XMD5 (emc2-v2.15c.tar.gz) = 28452afd8e734e9fb27783fcc4df6fac XMD5 (emc2.doc.en.ps.gz) = 5056bcca5d12d2410c121778404ab40c XMD5 (emc2.doc.fr.ps.gz) = 9c65a98f9926eb85e51c651aa9ee4488 END-of-math/emc2/distinfo echo x - math/emc2/pkg-descr sed 's/^X//' >math/emc2/pkg-descr << 'END-of-math/emc2/pkg-descr' XEmc2 is a portable, interactive and graphic software Edition of two Xdimensional geometry and mesh. We can create and modify the geometry X(CAD), define the discretization on the lines, define the subdomains, Xand define some reference numbers to take into account the boundary Xconditions and material properties. The elements of the mesh are triangles Xand quadrilaterals. We have two kind of meshes: grid mesh and Delaunay XVoronoï (automatic mesh). We make the edition of the mesh by moving, Xremoving, adding vertices, by regularization, or by transformations X(symmetry, rotation,..), etc. X XSuggested add-on: the port math/bamg. X XWWW: http://www-rocq1.inria.fr/gamma/cdrom/www/emc2/eng.htm END-of-math/emc2/pkg-descr echo x - math/emc2/pkg-plist sed 's/^X//' >math/emc2/pkg-plist << 'END-of-math/emc2/pkg-plist' Xbin/emc2 Xbin/prf_f3d X%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT X%%PORTDOCS%%%%DOCSDIR%%/emc2.doc.en.ps.gz X%%PORTDOCS%%%%DOCSDIR%%/emc2.doc.fr.ps.gz X%%PORTDOCS%%%%EXAMPLESDIR%%/c.emc2_bd X%%PORTDOCS%%%%EXAMPLESDIR%%/cooler.emc2_bd X%%PORTDOCS%%%%EXAMPLESDIR%%/culot1.emc2_bd X%%PORTDOCS%%%%EXAMPLESDIR%%/demi_carre.emc2_bd X%%PORTDOCS%%%%EXAMPLESDIR%%/fissure.emc2_bd X%%PORTDOCS%%%%EXAMPLESDIR%%/gruyere.emc2_bd X%%PORTDOCS%%%%EXAMPLESDIR%%/houman.emc2_bd X%%PORTDOCS%%%%EXAMPLESDIR%%/levier.emc2_bd X%%PORTDOCS%%%%EXAMPLESDIR%%/mos.emc2_bd X%%PORTDOCS%%%%EXAMPLESDIR%%/naca.f X%%PORTDOCS%%%%EXAMPLESDIR%%/naca.pts X%%PORTDOCS%%%%EXAMPLESDIR%%/naca012.emc2_bd X%%PORTDOCS%%%%EXAMPLESDIR%%/q.emc2_bd X%%PORTDOCS%%%%EXAMPLESDIR%%/rotor.emc2_bd X%%PORTDOCS%%@dirrm %%DOCSDIR%% X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% END-of-math/emc2/pkg-plist echo c - math/emc2/files mkdir -p math/emc2/files > /dev/null 2>&1 echo x - math/emc2/files/patch-Makefile sed 's/^X//' >math/emc2/files/patch-Makefile << 'END-of-math/emc2/files/patch-Makefile' X--- Makefile.orig Mon Feb 10 09:17:51 2003 X+++ Makefile Tue Dec 16 23:22:42 2003 X@@ -8,9 +8,9 @@ X # for IBM RS6000 X #CC=xlc X #CFLAGS=-O X-BIN=/usr/local/bin X-X11INCLUDEDIR=/usr/include/X11R6 X-X11LIBDIR=/usr/lib/X11R6 X+BIN=$(PREFIX)/bin X+X11INCLUDEDIR=$(X11BASE)/include X+X11LIBDIR=$(X11BASE)/lib X X11LIB= -L$(X11LIBDIR) -lX11 X MATHLIB= -lm X END-of-math/emc2/files/patch-Makefile echo x - math/emc2/files/patch-libI77::fio.h sed 's/^X//' >math/emc2/files/patch-libI77::fio.h << 'END-of-math/emc2/files/patch-libI77::fio.h' X--- libI77/fio.h.orig Tue Nov 9 15:58:43 1999 X+++ libI77/fio.h Tue Dec 16 23:53:43 2003 X@@ -17,6 +17,12 @@ X #endif X #endif X X+#ifdef __FreeBSD__ X+#ifndef NON_UNIX_STDIO X+#define NON_UNIX_STDIO X+#endif X+#endif X+ X #ifdef UIOLEN_int X typedef int uiolen; X #else END-of-math/emc2/files/patch-libI77::fio.h exit --- emc2.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: