summaryrefslogtreecommitdiff
path: root/math/octave-forge-mpi/Makefile
blob: 29e9668d0453dcf7a2886294c379d4ca6209ae65 (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
PORTNAME=	octave-forge-mpi
DISTVERSIONPREFIX=	v
DISTVERSION=	3.1.0
PORTREVISION=	2
CATEGORIES=	math

MAINTAINER=	stephen@FreeBSD.org
COMMENT=	Octave-forge package ${OCTAVE_PKGNAME}
WWW=		https://packages.octave.org/

LICENSE=	GPLv3
LICENSE_FILE=	${WRKDIR}/${OCTAVE_SRC}/COPYING

BROKEN=		does not build with octave>=8

LIB_DEPENDS+=	libmpi.so:net/mpich

USES=		octave
USE_GITHUB=	yes
GH_ACCOUNT=	carlodefalco
GH_PROJECT=	octave-mpi

OCTAVE_SRC=		${GH_PROJECT}-${DISTVERSION}

post-patch:
	${REINPLACE_CMD} 's/= NULL/= 0/g' ${WRKSRC}/*.cc ${WRKSRC}/*.h

.include <bsd.port.mk>