freebsd-ports/math/octave-forge-optiminterp/Makefile
Stephen Montgomery-Smith ed21e80143 math/octave: Update to 6.3.0.
Also bump revision of dependent octave-forge-* ports.
2021-07-15 22:20:13 -05:00

39 lines
1,017 B
Makefile

# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
PORTNAME= octave-forge-optiminterp
PORTVERSION= 0.3.6
PORTREVISION= 2
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
MAKE_JOBS_UNSAFE= yes
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
GNU_CONFIGURE= yes
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
MAKE_ENV+= MKOCTFILE_FORTRAN_90=yes MKOCTFILE=mkoctfile
.include <bsd.port.pre.mk>
.if ${GCC_DEFAULT} >= 10
# workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-2)
# in theory, this should set FCFLAGS, but the port does not conform
FFLAGS+= -fallow-argument-mismatch
.endif
post-build:
${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk>