git: 3100961a1a18 - main - science/pnetcdf: Update to 1.12.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Jul 2022 12:41:02 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3100961a1a18df741ae58dd1394bb38e13fead88 commit 3100961a1a18df741ae58dd1394bb38e13fead88 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-07-18 12:34:00 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-07-18 12:39:50 +0000 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 --- science/pnetcdf/Makefile | 19 ++++----------- science/pnetcdf/distinfo | 6 ++--- science/pnetcdf/files/patch-configure | 38 +++++++++++++++--------------- science/pnetcdf/files/patch-macros.make.in | 11 --------- science/pnetcdf/pkg-descr | 3 ++- science/pnetcdf/pkg-plist | 6 +++-- 6 files changed, 33 insertions(+), 50 deletions(-) diff --git a/science/pnetcdf/Makefile b/science/pnetcdf/Makefile index fac1f2ab0267..6a33ad1a60ce 100644 --- a/science/pnetcdf/Makefile +++ b/science/pnetcdf/Makefile @@ -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> diff --git a/science/pnetcdf/distinfo b/science/pnetcdf/distinfo index 1db526817db0..521ca06a0e8c 100644 --- a/science/pnetcdf/distinfo +++ b/science/pnetcdf/distinfo @@ -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 diff --git a/science/pnetcdf/files/patch-configure b/science/pnetcdf/files/patch-configure index 6ceee86f9c97..37a76bfe4fbb 100644 --- a/science/pnetcdf/files/patch-configure +++ b/science/pnetcdf/files/patch-configure @@ -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" diff --git a/science/pnetcdf/files/patch-macros.make.in b/science/pnetcdf/files/patch-macros.make.in deleted file mode 100644 index 2fd545ab7943..000000000000 --- a/science/pnetcdf/files/patch-macros.make.in +++ /dev/null @@ -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 diff --git a/science/pnetcdf/pkg-descr b/science/pnetcdf/pkg-descr index 0517d337d6b3..9b89f6d5248d 100644 --- a/science/pnetcdf/pkg-descr +++ b/science/pnetcdf/pkg-descr @@ -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 diff --git a/science/pnetcdf/pkg-plist b/science/pnetcdf/pkg-plist index 0c10d6ebc645..717a3894fb82 100644 --- a/science/pnetcdf/pkg-plist +++ b/science/pnetcdf/pkg-plist @@ -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