2013-05-16 14:37:35 +02:00
|
|
|
# $NetBSD: Makefile,v 1.13 2013/05/16 12:37:35 obache Exp $
|
2001-02-10 05:18:37 +01:00
|
|
|
|
2013-05-16 14:37:35 +02:00
|
|
|
DISTNAME= metis-4.0.3
|
2001-02-10 05:18:37 +01:00
|
|
|
CATEGORIES= math
|
2006-10-04 23:47:16 +02:00
|
|
|
MASTER_SITES= http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/
|
2001-02-10 05:18:37 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-10-04 23:47:16 +02:00
|
|
|
HOMEPAGE= http://glaros.dtc.umn.edu/gkhome/views/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
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= default
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin lib
|
2001-02-10 05:18:37 +01:00
|
|
|
|
|
|
|
do-install:
|
2001-04-29 01:59:17 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_PROGRAM} graphchk kmetis mesh2dual \
|
|
|
|
mesh2nodal oemetis onmetis partdmesh partnmesh pmetis \
|
2008-03-04 18:57:17 +01:00
|
|
|
${DESTDIR}${PREFIX}/bin/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libmetis.a ${DESTDIR}${PREFIX}/lib
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/metis
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Lib/*.h \
|
|
|
|
${DESTDIR}${PREFIX}/include/metis/
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/metis
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/metis
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/metis
|
2001-04-29 01:59:17 +02:00
|
|
|
cd ${WRKSRC}/Graphs && ${INSTALL_DATA} 0README 4elt.graph \
|
2008-03-04 18:57:17 +01:00
|
|
|
metis.mesh test.mgraph \
|
|
|
|
${DESTDIR}${PREFIX}/share/examples/metis/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Test/mtest.c \
|
|
|
|
${DESTDIR}${PREFIX}/share/examples/metis
|
2001-02-10 05:18:37 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|