From d15b754f9328c82c002aecd24d109ae4cc8ad668 Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Tue, 9 Dec 2003 19:25:35 +0000 Subject: [PATCH] . Remove metis-edf after a repo copy to the math category. PR: 58178 Submitted by: Pedro F. Giffuni --- cad/Makefile | 1 - cad/metis-edf/Makefile | 54 -------------------- cad/metis-edf/distinfo | 1 - cad/metis-edf/files/patch-CONFIG::configure | 53 ------------------- cad/metis-edf/files/patch-Lib::proto.h | 12 ----- cad/metis-edf/files/patch-Programs::Makefile | 11 ---- cad/metis-edf/files/patch-Test::Makefile | 11 ---- cad/metis-edf/pkg-descr | 8 --- cad/metis-edf/pkg-plist | 7 --- 9 files changed, 158 deletions(-) delete mode 100644 cad/metis-edf/Makefile delete mode 100644 cad/metis-edf/distinfo delete mode 100644 cad/metis-edf/files/patch-CONFIG::configure delete mode 100644 cad/metis-edf/files/patch-Lib::proto.h delete mode 100644 cad/metis-edf/files/patch-Programs::Makefile delete mode 100644 cad/metis-edf/files/patch-Test::Makefile delete mode 100644 cad/metis-edf/pkg-descr delete mode 100644 cad/metis-edf/pkg-plist diff --git a/cad/Makefile b/cad/Makefile index 9ee7e928d449..66f17de7078e 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -30,7 +30,6 @@ SUBDIR += linux-eagle SUBDIR += magic SUBDIR += mars - SUBDIR += metis-edf SUBDIR += ngspice_rework SUBDIR += oregano SUBDIR += pcb diff --git a/cad/metis-edf/Makefile b/cad/metis-edf/Makefile deleted file mode 100644 index 2244d6d29911..000000000000 --- a/cad/metis-edf/Makefile +++ /dev/null @@ -1,54 +0,0 @@ -# New ports collection makefile for: metis-edf -# Date created: Thu Jun 26 2003 -# Whom: thierry@pompo.net -# -# $FreeBSD$ -# - -PORTNAME= metis-edf -PORTVERSION= 3.1 -#PORTREVISION= 1 -CATEGORIES= cad -MASTER_SITES= http://www.code-aster.org/FICHIERS/metis/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Meshes partionning tool used by Code_Aster - -CONFLICTS= metis-[0-9]* - -ALL_TARGET= default -MAKE_ENV+= CC="${CC}" AR="${AR}" F77="${F77}" FFLAGS="${FFLAGS}" -USE_REINPLACE= yes -REINPLACE_ARGS= -i "" - -F77?= f77 -FFLAGS?= -O2 - -post-patch: -.if ${MACHINE_ARCH} != "i386" - @${FIND} ${WRKSRC} -type f -name "*.c" -o -name "*.h" | ${XARGS} \ - ${REINPLACE_CMD} -e "s|long int|int|g" \ - -e "s|long|int|g" \ - -e "s|\(%[[:digit:]]\)ld|\1d|g" \ - -e "s|\(%[[:digit:]]\.[[:digit:]]\)le|\1e|g" \ - -e "s|%ld|%d|g" -.endif - -do-install: - @${CP} ${WRKSRC}/CONFIG/onmetis.in ${WRKSRC}/onmetis - @${REINPLACE_CMD} -e "s#HOME_METIS#${PREFIX}/bin#" ${WRKSRC}/onmetis - ${INSTALL_SCRIPT} ${WRKSRC}/onmetis ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/onmetis.exe ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/libmetis.a ${PREFIX}/lib - -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps ${DOCSDIR} - @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/Test/fort.81 ${EXAMPLESDIR} - @${ECHO_MSG} "===> Test file installed in ${EXAMPLESDIR}." -.endif - -.include diff --git a/cad/metis-edf/distinfo b/cad/metis-edf/distinfo deleted file mode 100644 index 7048bdf4a1df..000000000000 --- a/cad/metis-edf/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (metis-edf-3.1.tar.gz) = 1762b6678d5d017771745c30cf6df0ac diff --git a/cad/metis-edf/files/patch-CONFIG::configure b/cad/metis-edf/files/patch-CONFIG::configure deleted file mode 100644 index 72bc1f1c3d14..000000000000 --- a/cad/metis-edf/files/patch-CONFIG::configure +++ /dev/null @@ -1,53 +0,0 @@ ---- CONFIG/configure.orig Mon Dec 16 18:11:44 2002 -+++ CONFIG/configure Tue Aug 12 22:47:59 2003 -@@ -4,6 +4,7 @@ - # SHELL defined by make (sh) - - OS_TYPE=`uname -s` -+ARCHI=`uname -p` - if [ $OS_TYPE = "SunOS" ]; then - OS_LEVEL=`uname -r` - OS_NIV=`echo $OS_LEVEL | awk -F'.' '{print $2}'` -@@ -18,7 +19,7 @@ - if [ -z "$rtn" ] || [ "$rtn" = "y" -o "$rtn" = "Y" ]; then - OS_TYPE=SunOS64 - fi --elif [ $OS_TYPE != "OSF1" -a $OS_TYPE != "IRIX64" -a $OS_TYPE != "Linux" ]; then -+elif [ $OS_TYPE != "OSF1" -a $OS_TYPE != "IRIX64" -a $OS_TYPE != "Linux" -a $OS_TYPE != "FreeBSD" ]; then - echo " Operating system $OS_TYPE unknown on this distribution" - echo " Installation failed !" - exit 8 -@@ -30,14 +31,25 @@ - # FOPTIONS : Fortran compiler options, - # LDOPTIONS : link options, AR : archiver - --CC="cc" --F90="f90" --LD="$F90" --COPTIONS="" --FOPTIONS="" --LDOPTIONS="-L. -L.." --OPTFLAGS="-O" --AR="ar rv" -+if [ $OS_TYPE = "FreeBSD" ]; then -+ CC="$CC" -+ F90="$F77" -+ LD="$CC -v" -+ COPTIONS="$CFLAGS" -+ OPTFLAGS="" -+ FOPTIONS="$FFLAGS" -+ LDOPTIONS="$LDFLAGS -L. -L.." -+ AR="$AR rv" -+else -+ CC="cc" -+ F90="f90" -+ LD="$F90" -+ COPTIONS="" -+ FOPTIONS="" -+ LDOPTIONS="-L. -L.." -+ OPTFLAGS="-O" -+ AR="ar rv" -+fi - if [ $OS_TYPE = "Linux" ]; then - CC="gcc" - F90="g77" diff --git a/cad/metis-edf/files/patch-Lib::proto.h b/cad/metis-edf/files/patch-Lib::proto.h deleted file mode 100644 index 3b423fff5ae3..000000000000 --- a/cad/metis-edf/files/patch-Lib::proto.h +++ /dev/null @@ -1,12 +0,0 @@ ---- Lib/proto.h.orig Thu Dec 12 13:47:59 2002 -+++ Lib/proto.h Tue Aug 12 22:53:22 2003 -@@ -456,7 +456,9 @@ - void saxpy(long, float, float *, long, float *, long); - void RandomPermute(long, idxtype *, long); - double drand48(); -+#if !defined(__FreeBSD__) - void srand48(long); -+#endif - long ispow2(long); - void InitRandom(long); - long log2(long); diff --git a/cad/metis-edf/files/patch-Programs::Makefile b/cad/metis-edf/files/patch-Programs::Makefile deleted file mode 100644 index fccd5479424e..000000000000 --- a/cad/metis-edf/files/patch-Programs::Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- Programs/Makefile.orig Thu Dec 12 13:47:59 2002 -+++ Programs/Makefile Wed Aug 13 15:10:19 2003 -@@ -5,7 +5,7 @@ - INCLUDES = -I../Lib - CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES) - FFLAGS = $(FOPTIONS) $(OPTFLAGS) $(INCLUDES) --LIBS = -lmetis -lm -+LIBS = -lmetis -lm -lg2c - METISLIB = ../libmetis.a - - diff --git a/cad/metis-edf/files/patch-Test::Makefile b/cad/metis-edf/files/patch-Test::Makefile deleted file mode 100644 index 85f5ddecfed0..000000000000 --- a/cad/metis-edf/files/patch-Test::Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- Test/Makefile.orig Thu Dec 12 13:47:59 2002 -+++ Test/Makefile Sun Jun 29 16:00:25 2003 -@@ -4,7 +4,7 @@ - - vers_check: - @echo "### Test 2 : test --version option, onmetis returns :" -- (../onmetis --version ; exit 0) -+ @echo `../onmetis --version` - @echo " " - - fort.85 : fort.81 diff --git a/cad/metis-edf/pkg-descr b/cad/metis-edf/pkg-descr deleted file mode 100644 index 4b7e87f21edf..000000000000 --- a/cad/metis-edf/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -METIS is a software package for partitioning unstructured graphs, -partitioning meshes, and computing fill-reducing orderings of sparse -matrices. - -Important note: this is not the original METIS, it has been specially -patched by EDF to be used by Code_Aster. - -WWW: http://www-users.cs.umn.edu/~karypis/metis/index.html diff --git a/cad/metis-edf/pkg-plist b/cad/metis-edf/pkg-plist deleted file mode 100644 index 38edff09d865..000000000000 --- a/cad/metis-edf/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -bin/onmetis -bin/onmetis.exe -lib/libmetis.a -%%PORTDOCS%%%%DOCSDIR%%/manual.ps -%%PORTDOCS%%%%EXAMPLESDIR%%/fort.81 -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%