1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/science/netcdf-fortran/Makefile

35 lines
854 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
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>