2013-08-17 01:53:08 +02:00
|
|
|
# Created by: Stephen Montgomery-Smith <stephen@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= octave-forge-netcdf
|
2018-04-18 05:12:36 +02:00
|
|
|
PORTVERSION= 1.0.12
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 8
|
2013-08-17 01:53:08 +02:00
|
|
|
CATEGORIES= math
|
|
|
|
|
|
|
|
MAINTAINER= stephen@FreeBSD.org
|
|
|
|
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
|
|
|
|
|
2014-01-12 20:19:56 +01:00
|
|
|
LICENSE= GPLv2
|
2014-06-23 02:05:58 +02:00
|
|
|
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
|
2014-01-12 20:19:56 +01:00
|
|
|
|
2013-08-17 01:53:08 +02:00
|
|
|
# OCTSRC is the name of the directory of the package.
|
|
|
|
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
|
2018-04-18 05:12:36 +02:00
|
|
|
OCTSRC= ${DISTNAME}
|
2013-08-17 01:53:08 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${OCTSRC}/src
|
2018-04-18 05:12:36 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-08-17 01:53:08 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS+= libnetcdf.so:science/netcdf
|
2013-08-17 01:53:08 +02:00
|
|
|
|
|
|
|
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
|
|
|
|
|
|
|
|
post-build:
|
2016-10-21 14:51:40 +02:00
|
|
|
${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
|
2013-08-17 01:53:08 +02:00
|
|
|
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|