summaryrefslogtreecommitdiffstats
path: root/math/metis4
diff options
context:
space:
mode:
authormph <mph@FreeBSD.org>1998-04-26 03:55:22 +0000
committermph <mph@FreeBSD.org>1998-04-26 03:55:22 +0000
commit4ef891c95f373fde8f56a3061fa99d9970e115c8 (patch)
tree5290eebb2d35886b706b86ff26b4aeba8e3f55f3 /math/metis4
parent72452f755b902ac09b147bdda6b6cae91846d7fe (diff)
downloadFreeBSD-ports-4ef891c95f373fde8f56a3061fa99d9970e115c8.zip
FreeBSD-ports-4ef891c95f373fde8f56a3061fa99d9970e115c8.tar.gz
Import of METIS, a package for unstructured graph partitioning.
At least, that's what the COMMENT says it does... PR: 4920 Submitted by: Pedro Giffuni <giffunip@asme.org>
Diffstat (limited to 'math/metis4')
-rw-r--r--math/metis4/Makefile33
-rw-r--r--math/metis4/distinfo1
-rw-r--r--math/metis4/files/patch-aa27
-rw-r--r--math/metis4/files/patch-ab20
-rw-r--r--math/metis4/files/patch-ac11
-rw-r--r--math/metis4/files/patch-ad11
-rw-r--r--math/metis4/pkg-comment1
-rw-r--r--math/metis4/pkg-descr7
-rw-r--r--math/metis4/pkg-plist11
9 files changed, 122 insertions, 0 deletions
diff --git a/math/metis4/Makefile b/math/metis4/Makefile
new file mode 100644
index 0000000..b8c9952
--- /dev/null
+++ b/math/metis4/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: METIS
+# Version required: 3.0
+# Date created: 26 Oct 97
+# Whom: Pedro Giffuni <giffunip@asme.org>
+#
+# $Id$
+#
+
+DISTNAME= metis-3.0
+CATEGORIES= math
+MASTER_SITES= http://www.cs.umn.edu/~karypis/metis/metis/files/
+
+MAINTAINER= giffunip@asme.org
+
+ALL_TARGET=
+
+do-install:
+ $(INSTALL_PROGRAM) $(WRKSRC)/pmetis $(PREFIX)/bin
+ $(INSTALL_PROGRAM) $(WRKSRC)/kmetis $(PREFIX)/bin
+ $(INSTALL_PROGRAM) $(WRKSRC)/oemetis $(PREFIX)/bin
+ $(INSTALL_PROGRAM) $(WRKSRC)/onmetis $(PREFIX)/bin
+ $(INSTALL_PROGRAM) $(WRKSRC)/partnmesh $(PREFIX)/bin
+ $(INSTALL_PROGRAM) $(WRKSRC)/partdmesh $(PREFIX)/bin
+ $(INSTALL_PROGRAM) $(WRKSRC)/mesh2nodal $(PREFIX)/bin
+ $(INSTALL_PROGRAM) $(WRKSRC)/mesh2dual $(PREFIX)/bin
+ $(INSTALL_PROGRAM) $(WRKSRC)/graphchk $(PREFIX)/bin
+ $(INSTALL_DATA) $(WRKSRC)/libmetis.a $(PREFIX)/lib
+.if !defined(NOPORTDOCS)
+ ${MKDIR} $(PREFIX)/share/doc/METIS
+ $(INSTALL_DATA) ${WRKSRC}/Doc/manual.ps $(PREFIX)/share/doc/METIS
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/metis4/distinfo b/math/metis4/distinfo
new file mode 100644
index 0000000..53594c5
--- /dev/null
+++ b/math/metis4/distinfo
@@ -0,0 +1 @@
+MD5 (metis-3.0.tar.gz) = f547a7e503f497de29e1e54c1c13e91e
diff --git a/math/metis4/files/patch-aa b/math/metis4/files/patch-aa
new file mode 100644
index 0000000..702a963
--- /dev/null
+++ b/math/metis4/files/patch-aa
@@ -0,0 +1,27 @@
+--- Makefile.in.orig Sat Apr 25 23:41:58 1998
++++ Makefile.in Sat Apr 25 23:43:23 1998
+@@ -1,9 +1,9 @@
+
+ # Which compiler to use
+-CC = cc
++# CC = cc
+
+ # What optimization level to use
+-OPTFLAGS = -O2
++# OPTFLAGS = -O2
+
+ # What options to be used by the compiler
+ COPTIONS =
+@@ -12,10 +12,10 @@
+ LDOPTIONS =
+
+ # What archiving to use
+-AR = ar rv
++# AR = ar rv
+
+ # What to use for indexing the archive
+-RANLIB = ranlib
++# RANLIB = ranlib
+ # RANLIB = ar -ts
+ # RANLIB =
+
diff --git a/math/metis4/files/patch-ab b/math/metis4/files/patch-ab
new file mode 100644
index 0000000..6597235
--- /dev/null
+++ b/math/metis4/files/patch-ab
@@ -0,0 +1,20 @@
+--- Lib/Makefile.orig Sat Apr 25 23:43:54 1998
++++ Lib/Makefile Sat Apr 25 23:44:31 1998
+@@ -2,7 +2,7 @@
+
+ INCLUDES = -I./
+
+-CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
++CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
+ LD = $(CC) -L./
+
+
+@@ -17,7 +17,7 @@
+ $(CC) $(CFLAGS) -c $*.c
+
+ ../libmetis.a: $(OBJS)
+- $(AR) $@ $(OBJS)
++ $(AR) $(ARFLAGS) $@ $(OBJS)
+ $(RANLIB) $@
+
+ checkin:
diff --git a/math/metis4/files/patch-ac b/math/metis4/files/patch-ac
new file mode 100644
index 0000000..dca2c77
--- /dev/null
+++ b/math/metis4/files/patch-ac
@@ -0,0 +1,11 @@
+--- Programs/Makefile.orig Sat Apr 25 23:44:50 1998
++++ Programs/Makefile Sat Apr 25 23:46:35 1998
+@@ -3,7 +3,7 @@
+ BINDIR = ..
+
+ INCLUDES = -I../Lib
+-CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
++CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
+
+ LIBS = -lmetis -lm
+ LD = $(CC) $(LDOPTIONS) -L./ -L../
diff --git a/math/metis4/files/patch-ad b/math/metis4/files/patch-ad
new file mode 100644
index 0000000..05210ee
--- /dev/null
+++ b/math/metis4/files/patch-ad
@@ -0,0 +1,11 @@
+--- Test/Makefile.orig Sat Apr 25 23:46:45 1998
++++ Test/Makefile Sat Apr 25 23:46:53 1998
+@@ -3,7 +3,7 @@
+ BINDIR = ./
+
+ INCLUDES = -I../Lib
+-CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
++CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
+
+ LIBS = -lmetis -lm
+ LD = $(CC) $(LDOPTIONS) -L../
diff --git a/math/metis4/pkg-comment b/math/metis4/pkg-comment
new file mode 100644
index 0000000..d15494d
--- /dev/null
+++ b/math/metis4/pkg-comment
@@ -0,0 +1 @@
+A package for unstructured graph partitioning.
diff --git a/math/metis4/pkg-descr b/math/metis4/pkg-descr
new file mode 100644
index 0000000..0c570b9
--- /dev/null
+++ b/math/metis4/pkg-descr
@@ -0,0 +1,7 @@
+METIS is a set of programs for partitioning graphs and for producing fill
+reducing orderings for sparse matrices. The algorithms implemented by METIS
+are based on the multilevel graph partitioning scheme described in [KK95a]
+and [KK95e].
+
+METIS provides high quality partitions, is extremely fast, and produces
+low fill orderings.
diff --git a/math/metis4/pkg-plist b/math/metis4/pkg-plist
new file mode 100644
index 0000000..f564e8a
--- /dev/null
+++ b/math/metis4/pkg-plist
@@ -0,0 +1,11 @@
+bin/pmetis
+bin/kmetis
+bin/oemetis
+bin/onmetis
+bin/partnmesh
+bin/partdmesh
+bin/mesh2nodal
+bin/mesh2dual
+bin/graphchk
+lib/libmetis.a
+share/doc/METIS/manual.ps
OpenPOWER on IntegriCloud