aboutsummaryrefslogtreecommitdiffstats
path: root/math/metis/Makefile
blob: e6ebac0f060d6e4e6f6eef3f6c9c0234482f1cad (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
36
37
38
39
40
41
# 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

ALL_TARGET=

do-install:
    $(INSTALL_PROGRAM) $(WRKSRC)/pmetis $(PREFIX)/bin
    $(INSTALL_PROGRAM) $(WRKSRC)/kmetis $(PREFIX)/bin
    $(INSTALL_PROGRAM) $(WRKSRC)/oemetis    $(PREFIX)/bin
    $(INSTALL_PROGRAM) $(WRKSRC)/onmetis    $(PREFIX)/bin
    $(INSTALL_PROGRAM) $(WRKSRC)/partnmesh  $(PREFIX)/bin
    $(INSTALL_PROGRAM) $(WRKSRC)/partdmesh  $(PREFIX)/bin
    $(INSTALL_PROGRAM) $(WRKSRC)/mesh2nodal $(PREFIX)/bin
    $(INSTALL_PROGRAM) $(WRKSRC)/mesh2dual  $(PREFIX)/bin
    $(INSTALL_PROGRAM) $(WRKSRC)/graphchk   $(PREFIX)/bin
    $(INSTALL_DATA) $(WRKSRC)/libmetis.a $(PREFIX)/lib
    ${MKDIR} $(PREFIX)/include/metis
    $(INSTALL_DATA) $(WRKSRC)/Lib/defs.h    $(PREFIX)/include/metis
    $(INSTALL_DATA) $(WRKSRC)/Lib/macros.h  $(PREFIX)/include/metis
    $(INSTALL_DATA) $(WRKSRC)/Lib/metis.h   $(PREFIX)/include/metis
    $(INSTALL_DATA) $(WRKSRC)/Lib/proto.h   $(PREFIX)/include/metis
    $(INSTALL_DATA) $(WRKSRC)/Lib/rename.h  $(PREFIX)/include/metis
    $(INSTALL_DATA) $(WRKSRC)/Lib/struct.h  $(PREFIX)/include/metis
.if !defined(NOPORTDOCS)
    ${MKDIR} $(PREFIX)/share/doc/METIS
    $(INSTALL_DATA) ${WRKSRC}/Doc/manual.ps $(PREFIX)/share/doc/METIS
.endif

.include <bsd.port.mk>