aboutsummaryrefslogtreecommitdiffstats
path: root/science/pnetcdf
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-11-12 18:52:13 +0800
committermiwi <miwi@FreeBSD.org>2009-11-12 18:52:13 +0800
commit3c2506f77ea0551460b4c0e9d19fb3719a6108e2 (patch)
treed1657a373a48db87d1ceb3b1bf6fa2354455a0d5 /science/pnetcdf
parenteb955043a50ed28a28965cd172694a98c81a7710 (diff)
downloadfreebsd-ports-gnome-3c2506f77ea0551460b4c0e9d19fb3719a6108e2.tar.gz
freebsd-ports-gnome-3c2506f77ea0551460b4c0e9d19fb3719a6108e2.tar.zst
freebsd-ports-gnome-3c2506f77ea0551460b4c0e9d19fb3719a6108e2.zip
- Update to 1.1.0
PR: 140486 Submitted by: Ports Fury
Diffstat (limited to 'science/pnetcdf')
-rw-r--r--science/pnetcdf/Makefile11
-rw-r--r--science/pnetcdf/distinfo6
-rw-r--r--science/pnetcdf/pkg-descr2
3 files changed, 13 insertions, 6 deletions
diff --git a/science/pnetcdf/Makefile b/science/pnetcdf/Makefile
index 47549267806e..188ec2533c3e 100644
--- a/science/pnetcdf/Makefile
+++ b/science/pnetcdf/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pnetcdf
-PORTVERSION= 1.0.3
+PORTVERSION= 1.1.0
CATEGORIES= science parallel
MASTER_SITES= http://ftp.mcs.anl.gov/pub/parallel-netcdf/
DISTNAME= parallel-netcdf-${PORTVERSION}
@@ -28,7 +28,8 @@ MAN1= ncmpidump.1 ncmpigen.1
MAN3= pnetcdf.3
PORTDOCS= COPYRIGHT INSTALL README
PLIST_FILES= bin/ncmpidump bin/ncmpigen bin/ncvalid \
- include/pnetcdf.h include/pnetcdf.inc lib/libpnetcdf.a
+ include/pnetcdf.h include/pnetcdf.inc include/pnetcdf.mod \
+ lib/libpnetcdf.a
CFLAGS+= -fPIC -DPIC
@@ -44,6 +45,12 @@ RUN_DEPENDS+= ${LOCALBASE}/mpich2/lib/libmpich.so:${PORTSDIR}/net/mpich2
CONFIGURE_ARGS+=--with-mpi=${LOCALBASE}/mpich2
.endif
+post-patch:
+ @${REINPLACE_CMD} -e '/GENERATED/s|$$@|$$(INCDIR)|' \
+ ${WRKSRC}/rules.make
+ @${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|' \
+ ${WRKSRC}/src/libf/mvar.[ch]
+
post-install:
.for file in ncmpidump ncmpigen ncvalid
@${STRIP_CMD} ${PREFIX}/bin/${file}
diff --git a/science/pnetcdf/distinfo b/science/pnetcdf/distinfo
index d0a7db54ad41..0f596eb5e3c6 100644
--- a/science/pnetcdf/distinfo
+++ b/science/pnetcdf/distinfo
@@ -1,3 +1,3 @@
-MD5 (parallel-netcdf-1.0.3.tar.bz2) = 2b7f43ff29a66b5eb58eb90fdf83d0dd
-SHA256 (parallel-netcdf-1.0.3.tar.bz2) = 25804a81a91a7026068c0db2a7d8390b8b8a479bd2aa0e797c417b7be78f8d6c
-SIZE (parallel-netcdf-1.0.3.tar.bz2) = 3504561
+MD5 (parallel-netcdf-1.1.0.tar.bz2) = 0bfba3d308c441aa4a6f8cc247d871bf
+SHA256 (parallel-netcdf-1.1.0.tar.bz2) = a92b757380d54487fcfa7958fc9f038e93d1fc4e585cc7ce2ac1f1cc29b2fb8d
+SIZE (parallel-netcdf-1.1.0.tar.bz2) = 3601038
diff --git a/science/pnetcdf/pkg-descr b/science/pnetcdf/pkg-descr
index 1bc495ec8dfb..229c35732b2b 100644
--- a/science/pnetcdf/pkg-descr
+++ b/science/pnetcdf/pkg-descr
@@ -5,4 +5,4 @@ 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: http://trac.mcs.anl.gov/projects/parallel-netcdf
+WWW: http://www.mcs.anl.gov/parallel-netcdf