2001-04-14 23:43:38 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 2001/04/14 21:43:53 jtb Exp $
|
2001-02-10 05:18:37 +01:00
|
|
|
|
|
|
|
DISTNAME= metis-4.0
|
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= http://www-users.cs.umn.edu/~karypis/metis/metis/files/
|
|
|
|
|
2001-04-14 23:43:38 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
2001-02-10 05:18:37 +01:00
|
|
|
HOMEPAGE= http://www-users.cs.umn.edu/~karypis/metis/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Unstructured graph partitioning and sparse matrix ordering system
|
2001-02-10 05:18:37 +01:00
|
|
|
|
|
|
|
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"
|