aboutsummaryrefslogtreecommitdiff
path: root/science/pnetcdf
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-06-24 15:40:19 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-06-24 15:40:19 +0000
commit7ba689cef0044893d978bde14a66099c08e286b0 (patch)
tree0d4acb7e97723865f3fd492bbbd83b54106baa87 /science/pnetcdf
parent7bd07b1548f5ddc0344b6903986997c7bab43da0 (diff)
downloadports-7ba689cef0044893d978bde14a66099c08e286b0.tar.gz
ports-7ba689cef0044893d978bde14a66099c08e286b0.zip
- Update to 1.3.0
- Convert to new options framework - Pet portlint - Cosmetic change - Take maintainership Changes: http://trac.mcs.anl.gov/projects/parallel-netcdf/wiki/ReleaseNotes-1.3.0
Notes
Notes: svn path=/head/; revision=299886
Diffstat (limited to 'science/pnetcdf')
-rw-r--r--science/pnetcdf/Makefile34
-rw-r--r--science/pnetcdf/distinfo4
2 files changed, 18 insertions, 20 deletions
diff --git a/science/pnetcdf/Makefile b/science/pnetcdf/Makefile
index 4769406580a7..97821533219e 100644
--- a/science/pnetcdf/Makefile
+++ b/science/pnetcdf/Makefile
@@ -6,24 +6,26 @@
#
PORTNAME= pnetcdf
-PORTVERSION= 1.2.0
-PORTREVISION= 1
+PORTVERSION= 1.3.0
CATEGORIES= science parallel
-MASTER_SITES= http://ftp.mcs.anl.gov/pub/parallel-netcdf/
+MASTER_SITES= http://ftp.mcs.anl.gov/pub/parallel-netcdf/ \
+ LOCAL/sunpoet
DISTNAME= parallel-netcdf-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= A library providing high-performance I/O
-OPTIONS= OPENMPI "Use openmpi instead of mpich2" off
+OPTIONS_DEFINE= DOCS OPENMPI
+OPENMPI_DESC= Use openmpi instead of mpich2
CONFLICTS= hdf-4.*
+CFLAGS+= -fPIC -DPIC
+CONFIGURE_ENV= M4FLAGS=""
+GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_FORTRAN= yes
USE_GMAKE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= M4FLAGS=""
MAN1= ncmpidiff.1 ncmpidump.1 ncmpigen.1
MAN3= pnetcdf.3
@@ -32,11 +34,9 @@ PLIST_FILES= bin/ncmpidiff bin/ncmpidump bin/ncmpigen bin/ncvalid \
include/pnetcdf.h include/pnetcdf.inc include/pnetcdf.mod \
lib/libpnetcdf.a
-CFLAGS+= -fPIC -DPIC
-
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_OPENMPI)
+.if ${PORT_OPTIONS:MOPENMPI}
BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi
RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi
CONFIGURE_ARGS+=--with-mpi=${LOCALBASE}/mpi/openmpi
@@ -48,13 +48,11 @@ CONFIGURE_ARGS+=--with-mpi=${LOCALBASE}
post-install:
.for file in ncmpidiff ncmpidump ncmpigen ncvalid
- @${STRIP_CMD} ${PREFIX}/bin/${file}
-.endfor
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for file in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+ ${STRIP_CMD} ${PREFIX}/bin/${file}
.endfor
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/science/pnetcdf/distinfo b/science/pnetcdf/distinfo
index 7693176e6081..e5a2f92ea67c 100644
--- a/science/pnetcdf/distinfo
+++ b/science/pnetcdf/distinfo
@@ -1,2 +1,2 @@
-SHA256 (parallel-netcdf-1.2.0.tar.bz2) = 5d2daea06e7786bd0e17499d508776113da3090250e1d3154f4a50025442e71f
-SIZE (parallel-netcdf-1.2.0.tar.bz2) = 4654087
+SHA256 (parallel-netcdf-1.3.0.tar.bz2) = 490fd23ff0228c7712f66e77b7a472aa2c2f66ed13e72feb1ebd6e09a89bbd16
+SIZE (parallel-netcdf-1.3.0.tar.bz2) = 1656263