blob: 8685f13f119971d52cc8a9307a29492dfde26355 (
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
33
34
|
# $NetBSD: Makefile,v 1.11 2008/03/04 18:12:59 jlam Exp $
DISTNAME= metis-4.0
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
PKG_DESTDIR_SUPPORT= user-destdir
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"
|