4b73bda67b
PR: 217786 Reported by: Anton Shterenlikht <mexas@bris.ac.uk>
36 lines
903 B
Makefile
36 lines
903 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= netcdf-fortran
|
|
PORTVERSION= 4.4.4
|
|
PORTREVISION= 2
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= science
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Fortran library for machine-independent, array-oriented data access
|
|
|
|
LICENSE= UCAR_UNIDATA
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
LICENSE_NAME= University Corporation for Atmospheric Research/Unidata
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
LIB_DEPENDS= libnetcdf.so:science/netcdf
|
|
|
|
CONFLICTS= netcdf-ftn-[0-9]* netcdf3-ftn-[0-9]*
|
|
|
|
CPPFLAGS+= -fPIC -DPIC -DgFortran
|
|
GNU_CONFIGURE= yes
|
|
MAKE_ENV= MAKEINFOFLAGS=--no-split
|
|
MAKE_JOBS_UNSAFE= yes
|
|
TEST_TARGET= check
|
|
USE_LDCONFIG= yes
|
|
USES= fortran libtool localbase makeinfo pathfix
|
|
|
|
GH_ACCOUNT= Unidata
|
|
USE_GITHUB= yes
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnetcdff.so.6.1.1
|
|
|
|
.include <bsd.port.mk>
|