summaryrefslogtreecommitdiff
path: root/math/metis/Makefile
diff options
context:
space:
mode:
authorjtb <jtb>2001-02-10 04:18:37 +0000
committerjtb <jtb>2001-02-10 04:18:37 +0000
commitcfa3922404c4cdc9aa722cb271da36df3ee284d9 (patch)
tree4d1179980c826efb53299827299260cd02c51ad0 /math/metis/Makefile
parentc207b878c4a1a756f4253a144135a82a7aee0fb2 (diff)
downloadpkgsrc-cfa3922404c4cdc9aa722cb271da36df3ee284d9.tar.gz
Initial import of metis:
METIS is a family of programs for partitioning unstructured graphs and hypergraphs and computing fill-reducing orderings of sparse matrices. The underlying algorithms used by METIS are based on the state-of-the-art multilevel paradigm that has been shown to produce high quality results and scale to very large problems. It is available both as a set of stand-alone programs and as a library.
Diffstat (limited to 'math/metis/Makefile')
-rw-r--r--math/metis/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/math/metis/Makefile b/math/metis/Makefile
new file mode 100644
index 00000000000..97c10e192c0
--- /dev/null
+++ b/math/metis/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/02/10 04:18:37 jtb Exp $
+
+DISTNAME= metis-4.0
+CATEGORIES= math
+MASTER_SITES= http://www-users.cs.umn.edu/~karypis/metis/metis/files/
+
+MAINTAINER= jtb@netbsd.org
+HOMEPAGE= http://www-users.cs.umn.edu/~karypis/metis/
+
+ALL_TARGET= default
+
+do-install:
+ @for f in graphchk kmetis mesh2dual mesh2nodal oemetis onmetis \
+ partdmesh partnmesh pmetis; do \
+ i="${INSTALL_PROGRAM} ${WRKSRC}/$$f ${PREFIX}/bin/"; \
+ ${ECHO} $$i; $$i; \
+ done
+ ${INSTALL_DATA} ${WRKSRC}/libmetis.a ${PREFIX}/lib
+ ${INSTALL_DATA_DIR} ${PREFIX}/include/metis
+ @for f in ${WRKSRC}/Lib/*.h; do \
+ i="${INSTALL_DATA} $$f ${PREFIX}/include/metis/"; \
+ ${ECHO} $$i; $$i; \
+ done
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/metis
+ ${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps ${PREFIX}/share/doc/metis
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/metis
+ @for f in 0README 4elt.graph metis.mesh test.mgraph; do \
+ i="${INSTALL_DATA} ${WRKSRC}/Graphs/$$f \
+ ${PREFIX}/share/examples/metis/"; \
+ ${ECHO} $$i; $$i; \
+ done
+ ${INSTALL_DATA} ${WRKSRC}/Test/mtest.c ${PREFIX}/share/examples/metis
+
+.include "../../mk/bsd.pkg.mk"