1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

science/pnetcdf: Update to 1.12.3

- Update MASTER_SITES
- Update WWW

Changes:	https://github.com/Parallel-NetCDF/Parallel-NetCDF.github.io/tree/master/Release_notes
This commit is contained in:
Po-Chuan Hsieh 2022-07-18 20:34:00 +08:00
parent 1d502b91e9
commit 3100961a1a
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
6 changed files with 33 additions and 50 deletions

View File

@ -1,17 +1,15 @@
# Created by: Chao Shin <quakelee@cn.FreeBSD.org>
PORTNAME= pnetcdf
PORTVERSION= 1.8.1
PORTREVISION= 10
PORTVERSION= 1.12.3
CATEGORIES= science parallel
MASTER_SITES= http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/ \
MASTER_SITES= https://parallel-netcdf.github.io/Release/ \
LOCAL/sunpoet
DISTNAME= parallel-netcdf-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Library providing high-performance I/O
USES= fortran gmake pathfix perl5 tar:bzip2
USES= fortran gmake libtool pathfix perl5
USE_PERL5= build
CFLAGS+= -fPIC
@ -19,11 +17,8 @@ CONFIGURE_ARGS= --with-mpi=${MPI_HOME} ac_cv_fc_compiler_nag=no
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
PORTDOCS= COPYRIGHT INSTALL README
CONFLICTS_INSTALL= hdf-4.*
OPTIONS_DEFINE= DOCS
OPTIONS_SINGLE= MPI
OPTIONS_SINGLE_MPI= OPENMPI MPICH
OPTIONS_DEFAULT=OPENMPI
@ -41,11 +36,7 @@ FCFLAGS+= -fallow-argument-mismatch
post-patch:
@${REINPLACE_CMD} -e '/$$(INSTALL.*$$(PREFIX)/ s|$$(PREFIX)|$$(DESTDIR)&|' ${WRKSRC}/Makefile.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/n* ${STAGEDIR}${PREFIX}/bin/pnetcdf_version
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
x-post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cdfdiff ${STAGEDIR}${PREFIX}/bin/n* ${STAGEDIR}${PREFIX}/bin/pnetcdf_version
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1485797773
SHA256 (parallel-netcdf-1.8.1.tar.bz2) = d0fa7059130c5f99ba4d7ea5e661e2103fbd302f3066fd95a0d1c7f913b848c4
SIZE (parallel-netcdf-1.8.1.tar.bz2) = 900244
TIMESTAMP = 1657835407
SHA256 (pnetcdf-1.12.3.tar.gz) = 439e359d09bb93d0e58a6e3f928f39c2eae965b6c97f64e67cd42220d6034f77
SIZE (pnetcdf-1.12.3.tar.gz) = 2312555

View File

@ -1,21 +1,21 @@
--- configure.orig 2016-03-03 20:07:36 UTC
--- configure.orig 2022-02-20 19:39:24 UTC
+++ configure
@@ -3056,12 +3056,12 @@ fi
@@ -4337,12 +4337,12 @@ ac_user_MPICC=$MPICC
ac_user_MPICXX=$MPICXX
ac_user_MPIF77=$MPIF77
ac_user_MPIF90=$MPIF90
-if test "x$MPICC" = x && test "x$CC" != x ; then ac_user_MPICC=$CC ; fi
-if test "x$MPICXX" = x && test "x$CXX" != x ; then ac_user_MPICXX=$CXX ; fi
-if test "x$MPIF77" = x && test "x$F77" != x ; then ac_user_MPIF77=$F77 ; fi
-if test "x$MPIF77" = x && test "x$FC" != x ; then ac_user_MPIF77=$FC ; fi
-if test "x$MPIF90" = x && test "x$F90" != x ; then ac_user_MPIF90=$F90 ; fi
-if test "x$MPIF90" = x && test "x$FC" != x ; then ac_user_MPIF90=$FC ; fi
+#if test "x$MPICC" = x && test "x$CC" != x ; then ac_user_MPICC=$CC ; fi
+#if test "x$MPICXX" = x && test "x$CXX" != x ; then ac_user_MPICXX=$CXX ; fi
+#if test "x$MPIF77" = x && test "x$F77" != x ; then ac_user_MPIF77=$F77 ; fi
+#if test "x$MPIF77" = x && test "x$FC" != x ; then ac_user_MPIF77=$FC ; fi
+#if test "x$MPIF90" = x && test "x$F90" != x ; then ac_user_MPIF90=$F90 ; fi
+#if test "x$MPIF90" = x && test "x$FC" != x ; then ac_user_MPIF90=$FC ; fi
-if test "x$MPICC" = x && test "x$CC" != x ; then MPICC=$CC ; fi
-if test "x$MPICXX" = x && test "x$CXX" != x ; then MPICXX=$CXX ; fi
-if test "x$MPIF77" = x && test "x$F77" != x ; then MPIF77=$F77 ; fi
-if test "x$MPIF77" = x && test "x$FC" != x ; then MPIF77=$FC ; fi
-if test "x$MPIF90" = x && test "x$F90" != x ; then MPIF90=$F90 ; fi
-if test "x$MPIF90" = x && test "x$FC" != x ; then MPIF90=$FC ; fi
+#if test "x$MPICC" = x && test "x$CC" != x ; then MPICC=$CC ; fi
+#if test "x$MPICXX" = x && test "x$CXX" != x ; then MPICXX=$CXX ; fi
+#if test "x$MPIF77" = x && test "x$F77" != x ; then MPIF77=$F77 ; fi
+#if test "x$MPIF77" = x && test "x$FC" != x ; then MPIF77=$FC ; fi
+#if test "x$MPIF90" = x && test "x$F90" != x ; then MPIF90=$F90 ; fi
+#if test "x$MPIF90" = x && test "x$FC" != x ; then MPIF90=$FC ; fi
CANDIDATE_MPICC="${MPICC} mpicc"
CANDIDATE_MPICXX="${MPICXX} mpicxx mpic++ mpiCC"
CANDIDATE_MPICC="${MPICC} mpicc mpicc_r"
CANDIDATE_MPICXX="${MPICXX} mpicxx mpic++ mpiCC mpcxx mpc++ mpicxx_r mpiCC_r mpcxx_r mpic++_r mpc++_r"

View File

@ -1,11 +0,0 @@
--- macros.make.in.orig 2016-12-28 17:02:41 UTC
+++ macros.make.in
@@ -27,7 +27,7 @@
INCDIR = $(DESTDIR)/$(prefix)/include
LIBDIR = $(DESTDIR)/$(prefix)/lib
BINDIR = $(DESTDIR)/$(prefix)/bin
-MANDIR = $(DESTDIR)/$(prefix)/share/man
+MANDIR = $(DESTDIR)/$(prefix)/man
else
INCDIR = $(prefix)/include
LIBDIR = $(prefix)/lib

View File

@ -5,4 +5,5 @@ However, it does so in a serial manner, making it difficult to achieve high I/O
performance. By making some small changes to the API specified by NetCDF, we can
use MPI-IO and its collective operations.
WWW: https://trac.mcs.anl.gov/projects/parallel-netcdf
WWW: https://parallel-netcdf.github.io/
WWW: https://github.com/Parallel-NetCDF/PnetCDF

View File

@ -1,8 +1,9 @@
bin/cdfdiff
bin/ncmpidiff
bin/ncmpidump
bin/ncmpigen
bin/ncmpivalid
bin/ncoffsets
bin/ncvalidator
bin/pnetcdf-config
bin/pnetcdf_version
include/pnetcdf
@ -11,11 +12,12 @@ include/pnetcdf.inc
include/pnetcdf.mod
lib/libpnetcdf.a
libdata/pkgconfig/pnetcdf.pc
man/man1/cdfdiff.1.gz
man/man1/ncmpidiff.1.gz
man/man1/ncmpidump.1.gz
man/man1/ncmpigen.1.gz
man/man1/ncmpivalid.1.gz
man/man1/ncoffsets.1.gz
man/man1/ncvalidator.1.gz
man/man1/pnetcdf_version.1.gz
man/man3/pnetcdf.3.gz
man/man3/pnetcdf_f77.3.gz