blob: d438bcaf5f93caea8b1ae159835e4c6baa3a6fc4 (
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
|
# New ports collection makefile for: ParMETIS
# Date created: 19 May 99
# Whom: Eoin Lawless (eoin@maths.tcd.ie)
#
# $FreeBSD$
#
PORTNAME= ParMetis
PORTVERSION= 3.1
PORTREVISION= 6
CATEGORIES= math parallel
MASTER_SITES= http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/
MAINTAINER= ports@FreeBSD.org
COMMENT= A package for parallel (mpi) unstructured graph partitioning
.if !defined(WITH_OPENMPI)
RUN_DEPENDS= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2
BUILD_DEPENDS= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2
.else
RUN_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
BUILD_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi
MAKE_ARGS += CC=${LOCALBASE}/mpi/openmpi/bin/mpicc LD=${LOCALBASE}/mpi/openmpi/bin/mpicc
.endif
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} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Manual/manual.ps ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Manual/manual.pdf ${DOCSDIR}
.endif
.include <bsd.port.mk>
|