summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-03-26 11:31:48 +0000
committernia <nia@pkgsrc.org>2020-03-26 11:31:48 +0000
commit70fadff6d66fb83806303000cda746fd4f47d56d (patch)
tree7b8789b13c790428e847cafb6a8dd0e9dfddec0c /devel
parentdb74bc238721fa9b6e5be3f0e191abbc7381de9d (diff)
downloadpkgsrc-70fadff6d66fb83806303000cda746fd4f47d56d.tar.gz
netcdf-fortran: Fix f90 PLIST. While here, silence some pkglint warnings.
Noted by Dr. Thomas Orgis
Diffstat (limited to 'devel')
-rw-r--r--devel/netcdf-fortran/Makefile4
-rw-r--r--devel/netcdf-fortran/PLIST6
-rw-r--r--devel/netcdf-fortran/options.mk8
3 files changed, 9 insertions, 9 deletions
diff --git a/devel/netcdf-fortran/Makefile b/devel/netcdf-fortran/Makefile
index b42cd837cb8..00ac9b41a7f 100644
--- a/devel/netcdf-fortran/Makefile
+++ b/devel/netcdf-fortran/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2020/03/08 16:47:40 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2020/03/26 11:31:48 nia Exp $
DISTNAME= netcdf-fortran-4.2
PKGREVISION= 17
@@ -7,7 +7,7 @@ MASTER_SITES= https://www.unidata.ucar.edu/downloads/netcdf/ftp/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.unidata.ucar.edu/software/netcdf/index.html
-COMMENT= Fortran support for NetCDF.
+COMMENT= Fortran support for NetCDF
USE_LANGUAGES= c fortran77
USE_LIBTOOL= yes
diff --git a/devel/netcdf-fortran/PLIST b/devel/netcdf-fortran/PLIST
index 25403bbd8d2..a033387d803 100644
--- a/devel/netcdf-fortran/PLIST
+++ b/devel/netcdf-fortran/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2013/04/29 07:43:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/03/26 11:31:48 nia Exp $
bin/nf-config
-${PLIST.f90}include/NETCDF.mod
-${PLIST.f90}include/TYPESIZES.mod
include/netcdf.inc
+${PLIST.f90}include/netcdf.mod
+${PLIST.f90}include/typesizes.mod
info/netcdf-f77.info
info/netcdf-f77.info-1
info/netcdf-f77.info-2
diff --git a/devel/netcdf-fortran/options.mk b/devel/netcdf-fortran/options.mk
index de52b404b89..cf024a3944c 100644
--- a/devel/netcdf-fortran/options.mk
+++ b/devel/netcdf-fortran/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2013/04/29 07:43:32 adam Exp $
+# $NetBSD: options.mk,v 1.2 2020/03/26 11:31:48 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.netcdf-fortran
PKG_SUPPORTED_OPTIONS= f90
@@ -7,9 +7,9 @@ PKG_SUPPORTED_OPTIONS= f90
PLIST_VARS+= f90
-.if empty(PKG_OPTIONS:Mf90)
-CONFIGURE_ARGS+= --disable-f90
-.else
+.if !empty(PKG_OPTIONS:Mf90)
USE_LANGUAGES+= fortran
PLIST.f90= yes
+.else
+CONFIGURE_ARGS+= --disable-f90
.endif