Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2014 03:20:48 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352857 - in head/science: . netcdf-fortran
Message-ID:  <201405030320.s433KmwX011923@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat May  3 03:20:47 2014
New Revision: 352857
URL: http://svnweb.freebsd.org/changeset/ports/352857
QAT: https://qat.redports.org/buildarchive/r352857/

Log:
  - Add netcdf-fortran 4.2
  
  NetCDF (network Common Data Form) is an interface for array-oriented
  data access and a library that provides an implementation of the
  interface. The netCDF library also defines a machine-independent
  format for representing scientific data. Together, the interface,
  library, and format support the creation, access, and sharing of
  scientific data. The netCDF software was developed at the Unidata
  Program Center in Boulder, Colorado.
  
  Git repository: https://github.com/Unidata/netcdf-fortran
  
  WWW: http://www.unidata.ucar.edu/software/netcdf/

Added:
  head/science/netcdf-fortran/
  head/science/netcdf-fortran/Makefile   (contents, props changed)
  head/science/netcdf-fortran/distinfo   (contents, props changed)
  head/science/netcdf-fortran/pkg-descr   (contents, props changed)
  head/science/netcdf-fortran/pkg-plist   (contents, props changed)
Modified:
  head/science/Makefile

Modified: head/science/Makefile
==============================================================================
--- head/science/Makefile	Sat May  3 03:18:06 2014	(r352856)
+++ head/science/Makefile	Sat May  3 03:20:47 2014	(r352857)
@@ -103,6 +103,7 @@
     SUBDIR += ncs
     SUBDIR += netcdf
     SUBDIR += netcdf-cxx
+    SUBDIR += netcdf-fortran
     SUBDIR += netcdf-ftn
     SUBDIR += netcdf3-ftn
     SUBDIR += netcdf4

Added: head/science/netcdf-fortran/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/netcdf-fortran/Makefile	Sat May  3 03:20:47 2014	(r352857)
@@ -0,0 +1,38 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	netcdf-fortran
+PORTVERSION=	4.2
+CATEGORIES=	science
+MASTER_SITES=	https://github.com/Unidata/${PORTNAME}/archive/ \
+		LOCAL/sunpoet
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Fortran library for machine-independent, array-oriented data access
+
+LIB_DEPENDS=	libnetcdf.so:${PORTSDIR}/science/netcdf
+
+CONFLICTS=	netcdf-ftn-[0-9]* netcdf3-ftn-[0-9]*
+
+CPPFLAGS+=	-I${LOCALBASE}/include -fPIC -DPIC
+GNU_CONFIGURE=	yes
+LDFLAGS+=	-L${LOCALBASE}/lib
+MAKE_ENV=	MAKEINFOFLAGS=--no-split
+MAKE_JOBS_UNSAFE=	yes
+USE_AUTOTOOLS=	aclocal autoconf autoheader automake libtoolize
+USE_LDCONFIG=	yes
+USES=		fortran libtool pathfix
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-${PORTVERSION}
+
+INFO=		netcdf-f77 netcdf-f90
+
+AUTOMAKE_ARGS=	--add-missing
+PATHFIX_MAKEFILEIN=	Makefile.am
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnetcdff.so.5
+
+regression-test test: build
+	cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
+
+.include <bsd.port.mk>

Added: head/science/netcdf-fortran/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/netcdf-fortran/distinfo	Sat May  3 03:20:47 2014	(r352857)
@@ -0,0 +1,2 @@
+SHA256 (netcdf-fortran-4.2.tar.gz) = ab82c5edbb305d9ae6568eb0ac129b64bd8aca68fad4fa221ba8def399363bbb
+SIZE (netcdf-fortran-4.2.tar.gz) = 454043

Added: head/science/netcdf-fortran/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/netcdf-fortran/pkg-descr	Sat May  3 03:20:47 2014	(r352857)
@@ -0,0 +1,11 @@
+NetCDF (network Common Data Form) is an interface for array-oriented
+data access and a library that provides an implementation of the
+interface. The netCDF library also defines a machine-independent
+format for representing scientific data. Together, the interface,
+library, and format support the creation, access, and sharing of
+scientific data. The netCDF software was developed at the Unidata
+Program Center in Boulder, Colorado.
+
+Git repository: https://github.com/Unidata/netcdf-fortran
+
+WWW: http://www.unidata.ucar.edu/software/netcdf/

Added: head/science/netcdf-fortran/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/netcdf-fortran/pkg-plist	Sat May  3 03:20:47 2014	(r352857)
@@ -0,0 +1,10 @@
+bin/nf-config
+include/netcdf.inc
+include/netcdf.mod
+include/typesizes.mod
+lib/libnetcdff.a
+lib/libnetcdff.so
+lib/libnetcdff.so.5
+libdata/pkgconfig/netcdf-fortran.pc
+man/man3/netcdf_f77.3.gz
+man/man3/netcdf_f90.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405030320.s433KmwX011923>