freebsd-ports/math/octave-forge-mpi/Makefile
Muhammad Moinur Rahman 8231864a3b Mk/**octave.mk: Convert to USES=octave
As part of the improvements of USES infrastructure Mk/bsd.octave.mk has
been converted to Mk/Uses/octave.mk. This also declutters some old
stuffs in the octave-* ports and makes it simpler to add more
octave-forge ports easily.

While I am here make all the ports portclippy/portfmt compliant. And use
USES macros whenever possible.

Reviewed by:	portmgr
Approved by:	tcberner
Differential Revision:	https://reviews.freebsd.org/D37887
2022-12-30 11:54:39 -06:00

26 lines
520 B
Makefile

PORTNAME= octave-forge-mpi
DISTVERSIONPREFIX= v
DISTVERSION= 3.1.0
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
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>