summaryrefslogtreecommitdiff
path: root/math/parmetis/Makefile
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2012-07-09 11:11:44 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2012-07-09 11:11:44 +0000
commit5930109e8ef02d47e1be967f2448c6438b53cbac (patch)
treed5955a0f99e2e4b6d189f4fc466e0b90a59f82d6 /math/parmetis/Makefile
parent- Add patch to fix installation without NLS (diff)
add math/metis4 to math/Makefile; update math/metis to 5.0.2; add appropriate
CONFLICTS, LATEST_LINK, and PORTSCOUT; adjust dependent ports; explicitly note the restrictive license of the metis ports (while here, append the MPI port to *DEPENDS in math/parmetis, rather than using an assignment) PR: 169578
Diffstat (limited to 'math/parmetis/Makefile')
-rw-r--r--math/parmetis/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/math/parmetis/Makefile b/math/parmetis/Makefile
index 60167fe0e340..ce3ee812a496 100644
--- a/math/parmetis/Makefile
+++ b/math/parmetis/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ParMetis
PORTVERSION= 4.0
+PORTREVISION= 1
CATEGORIES= math parallel
MASTER_SITES= http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/%SUBDIR%/
MASTER_SITE_SUBDIR= . OLD
@@ -15,6 +16,11 @@ DISTNAME= ${PORTNAME:L}-${PORTVERSION}
MAINTAINER= bf@FreeBSD.org
COMMENT= A package for parallel (mpi) unstructured graph partitioning
+LICENSE= METIS
+LICENSE_NAME= University of Minnesota METIS License
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+LICENSE_PERMS= auto-accept
+
OPTIONS= OPENMPI "Use openmpi instead of mpich2" off
USE_CMAKE= yes
@@ -28,12 +34,12 @@ PLIST_DIRS= include/parmetis lib/parmetis
.include <bsd.port.pre.mk>
.if defined(WITH_OPENMPI)
-BUILD_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi
-RUN_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
+BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi
+RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
MPICC= ${LOCALBASE}/mpi/openmpi/bin/mpicc
.else
-BUILD_DEPENDS= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2
-RUN_DEPENDS= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2
+BUILD_DEPENDS+= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2
+RUN_DEPENDS+= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2
MPICC= ${LOCALBASE}/bin/mpicc
.endif