aboutsummaryrefslogtreecommitdiffstats
path: root/math/metis/Makefile
blob: c921eb018bf5634e449042d54536a8b14c8ad552 (plain) (blame)
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
35
# New ports collection makefile for:    METIS
# Date created:         26 Oct 97
# Whom:                 Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#

PORTNAME=   metis
PORTVERSION=    4.0
CATEGORIES= math
MASTER_SITES=   http://www-users.cs.umn.edu/~karypis/metis/metis/files/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A package for unstructured graph partitioning

CONFLICTS=  metis-edf-*

ALL_TARGET=

PROGRAMS=   graphchk kmetis mesh2dual mesh2nodal    \
        oemetis onmetis partnmesh partdmesh pmetis

do-install:
.for p in ${PROGRAMS}
    ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${PREFIX}/bin
.endfor
    @${MKDIR} ${PREFIX}/include/metis
    ${INSTALL_DATA} ${WRKSRC}/Lib/*.h    ${PREFIX}/include/metis
    ${INSTALL_DATA} ${WRKSRC}/libmetis.a ${PREFIX}/lib
.ifndef NOPORTDOCS
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps ${DOCSDIR}
.endif

.include <bsd.port.mk>