Fortran 77 and Fortran 90 support for NetCDF (network Common Data Form).

This commit is contained in:
adam 2013-04-29 07:43:32 +00:00
parent 932e1cdcf2
commit cc84b0181f
6 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1 @@
Fortran 77 and Fortran 90 support for NetCDF (network Common Data Form).

View file

@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.1 2013/04/29 07:43:32 adam Exp $
DISTNAME= netcdf-fortran-4.2
CATEGORIES= devel
MASTER_SITES= http://www.unidata.ucar.edu/downloads/netcdf/ftp/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.unidata.ucar.edu/software/netcdf/index.html
COMMENT= Fortran support for NetCDF.
USE_LANGUAGES= c fortran77
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
INFO_FILES= yes
.include "options.mk"
.include "../../devel/netcdf/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,13 @@
@comment $NetBSD: PLIST,v 1.1 2013/04/29 07:43:32 adam Exp $
bin/nf-config
${PLIST.f90}include/NETCDF.mod
${PLIST.f90}include/TYPESIZES.mod
include/netcdf.inc
info/netcdf-f77.info
info/netcdf-f77.info-1
info/netcdf-f77.info-2
info/netcdf-f90.info
lib/libnetcdff.la
lib/pkgconfig/netcdf-fortran.pc
man/man3/netcdf_f77.3
${PLIST.f90}man/man3/netcdf_f90.3

View file

@ -0,0 +1,14 @@
# $NetBSD: buildlink3.mk,v 1.1 2013/04/29 07:43:32 adam Exp $
BUILDLINK_TREE+= netcdf-fortran
.if !defined(NETCDF_FORTRAN_BUILDLINK3_MK)
NETCDF_FORTRAN_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.netcdf-fortran+= netcdf-fortran>=4.2
BUILDLINK_PKGSRCDIR.netcdf-fortran?= ../../devel/netcdf-fortran
.include "../../devel/netcdf/buildlink3.mk"
.endif # NETCDF_FORTRAN_BUILDLINK3_MK
BUILDLINK_TREE+= -netcdf-fortran

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2013/04/29 07:43:32 adam Exp $
SHA1 (netcdf-fortran-4.2.tar.gz) = f1887314455330f4057bc8eab432065f8f6f74ef
RMD160 (netcdf-fortran-4.2.tar.gz) = e10c342a5d6ab2740cd910122b0164d16730e194
Size (netcdf-fortran-4.2.tar.gz) = 2479928 bytes

View file

@ -0,0 +1,15 @@
# $NetBSD: options.mk,v 1.1 2013/04/29 07:43:32 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.netcdf-fortran
PKG_SUPPORTED_OPTIONS= f90
.include "../../mk/bsd.options.mk"
PLIST_VARS+= f90
.if empty(PKG_OPTIONS:Mf90)
CONFIGURE_ARGS+= --disable-f90
.else
USE_LANGUAGES+= fortran
PLIST.f90= yes
.endif