summaryrefslogtreecommitdiff
path: root/math/metis/Makefile
blob: 79b2ce14f2f4374ca3b969717603d3907857f83b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.13 2013/05/16 12:37:35 obache Exp $

DISTNAME=		metis-4.0.3
CATEGORIES=		math
MASTER_SITES=		http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://glaros.dtc.umn.edu/gkhome/views/metis/
COMMENT=		Unstructured graph partitioning and sparse matrix ordering system

BUILD_TARGET=		default
INSTALLATION_DIRS=	bin lib

do-install:
	cd ${WRKSRC} && ${INSTALL_PROGRAM} graphchk kmetis mesh2dual 	\
		mesh2nodal oemetis onmetis partdmesh partnmesh pmetis	\
		${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
	cd ${WRKSRC}/Graphs && ${INSTALL_DATA} 0README 4elt.graph 	\
		metis.mesh test.mgraph					\
		${DESTDIR}${PREFIX}/share/examples/metis/
	${INSTALL_DATA} ${WRKSRC}/Test/mtest.c				\
		${DESTDIR}${PREFIX}/share/examples/metis

.include "../../mk/bsd.pkg.mk"