Fortran 77 and Fortran 90 support for NetCDF (network Common Data Form).
This commit is contained in:
parent
932e1cdcf2
commit
cc84b0181f
6 changed files with 67 additions and 0 deletions
1
devel/netcdf-fortran/DESCR
Normal file
1
devel/netcdf-fortran/DESCR
Normal file
|
@ -0,0 +1 @@
|
|||
Fortran 77 and Fortran 90 support for NetCDF (network Common Data Form).
|
19
devel/netcdf-fortran/Makefile
Normal file
19
devel/netcdf-fortran/Makefile
Normal 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"
|
13
devel/netcdf-fortran/PLIST
Normal file
13
devel/netcdf-fortran/PLIST
Normal 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
|
14
devel/netcdf-fortran/buildlink3.mk
Normal file
14
devel/netcdf-fortran/buildlink3.mk
Normal 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
|
5
devel/netcdf-fortran/distinfo
Normal file
5
devel/netcdf-fortran/distinfo
Normal 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
|
15
devel/netcdf-fortran/options.mk
Normal file
15
devel/netcdf-fortran/options.mk
Normal 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
|
Loading…
Reference in a new issue