1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

. Remove metis-edf after a repo copy to the math category.

PR:		58178
Submitted by:	Pedro F. Giffuni <giffunip@yahoo.com>
This commit is contained in:
Greg Lewis 2003-12-09 19:25:35 +00:00
parent 5977dc1bf2
commit d15b754f93
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95488
9 changed files with 0 additions and 158 deletions

View File

@ -30,7 +30,6 @@
SUBDIR += linux-eagle
SUBDIR += magic
SUBDIR += mars
SUBDIR += metis-edf
SUBDIR += ngspice_rework
SUBDIR += oregano
SUBDIR += pcb

View File

@ -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 <bsd.port.mk>

View File

@ -1 +0,0 @@
MD5 (metis-edf-3.1.tar.gz) = 1762b6678d5d017771745c30cf6df0ac

View File

@ -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"

View File

@ -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);

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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%%