diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2012-06-24 23:40:19 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2012-06-24 23:40:19 +0800 |
commit | 9ac90befa393563021f398d9b924db389036f691 (patch) | |
tree | 88c462fb1864f2cb63459523246a91fcbe46000f /science/pnetcdf | |
parent | 5ffa91fd697e44e2d55e86eba1440cabbf20d2d5 (diff) | |
download | freebsd-ports-gnome-9ac90befa393563021f398d9b924db389036f691.tar.gz freebsd-ports-gnome-9ac90befa393563021f398d9b924db389036f691.tar.zst freebsd-ports-gnome-9ac90befa393563021f398d9b924db389036f691.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
Diffstat (limited to 'science/pnetcdf')
-rw-r--r-- | science/pnetcdf/Makefile | 34 | ||||
-rw-r--r-- | science/pnetcdf/distinfo | 4 |
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 |