summaryrefslogtreecommitdiffstats
path: root/math/parmetis/Makefile
blob: 3abc259e2441907a95c90e44b89147b447cbadd4 (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
# New ports collection makefile for:	ParMETIS
# Date created:         19 May 99
# Whom:                 Eoin Lawless (eoin@maths.tcd.ie)
#
# $FreeBSD$
#

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

MAINTAINER=	eoin@maths.tcd.ie

RUN_DEPENDS=	$(PREFIX)/mpich/bin/mpirun:${PORTSDIR}/net/mpich
BUILD_DEPENDS=	$(PREFIX)/mpich/bin/mpicc:${PORTSDIR}/net/mpich

ALL_TARGET=

do-install:
	${MKDIR} $(PREFIX)/lib/parmetis
	$(INSTALL_DATA) $(WRKSRC)/libmetis.a $(PREFIX)/lib/parmetis
	$(INSTALL_DATA) $(WRKSRC)/libparmetis.a $(PREFIX)/lib/parmetis
	${MKDIR} $(PREFIX)/include/parmetis
	$(INSTALL_DATA) $(WRKSRC)/parmetis.h    $(PREFIX)/include/parmetis
.if !defined(NOPORTDOCS)
	${MKDIR} $(PREFIX)/share/doc/ParMETIS
	$(INSTALL_DATA) ${WRKSRC}/Doc/manual.ps $(PREFIX)/share/doc/ParMETIS
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud