[42213] trunk/dports/science
Frank Schima
macsforever2000 at macports.org
Mon Nov 17 08:18:49 PST 2008
On Nov 16, 2008, at 2:50 PM, mmoll at macports.org wrote:
> Revision
> 42213
> Author
> mmoll at macports.org
> Date
> 2008-11-16 13:50:06 -0800 (Sun, 16 Nov 2008)
> Log Message
>
> New port: hdf5-18. HDF5 1.8.2 is the latest official release. The
> hdf5 port is for version 1.6. Version 1.6 and 1.8 are not compatible
> with each other. So to avoid breaking code that depends on the
> existing hdf5 port, I created a new port. See also ticket #16263.
> Added Paths
>
> trunk/dports/science/hdf5-18/
> trunk/dports/science/hdf5-18/Portfile
> Diff
>
> Added: trunk/dports/science/hdf5-18/Portfile (0 => 42213)
> --- trunk/dports/science/hdf5-18/Portfile
> (rev 0)
> +++ trunk/dports/science/hdf5-18/Portfile 2008-11-16 21:50:06 UTC
> (rev 42213)
> @@ -0,0 +1,54 @@
> +# -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-
> mode: nil; tab-width: 4; truncate-lines: t -*-
> vim:fenc=utf-8:et:sw=4:ts=4:sts=4
> +# $Id$
> +
> +PortSystem 1.0
> +
> +set realname hdf5
> +name ${realname}-18
> +version 1.8.2
> +categories science
> +maintainers mmoll nomaintainer
I assume you mean openmaintainer here?
> +
> +description HDF5 general purpose library and file format
> for storing scientific data
> +long_description ${description}
> +homepage http://www.hdfgroup.org/HDF5/
> +platforms darwin
> +master_sites ftp://ftp.hdfgroup.org/HDF5/current/src/
> +checksums md5 af92ef65ef495dbd205131574ad4eee1 \
> + sha1 76bca25b0d23c1921fd97f87b8d2b21d580f0618 \
> + rmd160 809aa6860ef095e7d72bb79ddc4a857f8cc39424
> +distname ${realname}-${version}
> +extract.suffix .tar.gz
> +depends_lib port:zlib port:szip port:openmpi
> +
> +use_parallel_build yes
> +
> +configure.args --with-zlib=yes --with-szlib=yes --enable-
> filters=all \
> + --enable-production --enable-parallel --disable-
> fortran \
> + --disable-cxx
> +configure.cc ${prefix}/bin/openmpicc
> +configure.cxx ${prefix}/bin/openmpicxx
> +configure.fc ${prefix}/bin/openmpif77
> +
> +# variant descriptions
> +
> +variant fortran description {Include the Fortran interface} {
> + if { [variant_isset gcc43] || [variant_isset gcc42] ||
> [variant_isset g95] } {
> + configure.args-delete --disable-fortran
> + configure.args-append --enable-fortran
> + } else {
> + error "You must specify a compiler variant in order to
> build the Fortran interface"
> + }
> +}
> +
> +variant gcc42 requires fortran conflicts g95 gcc43 description
> {Compile using GCC 4.2} {
> + depends_lib-append port:gcc42
> +}
> +
> +variant gcc43 requires fortran conflicts g95 gcc42 description
> {Compile using GCC 4.3} {
> + depends_lib-append port:gcc43
> +}
> +
> +variant g95 requires fortran conflicts gcc42 gcc43 description {Use
> g95 Fortran compiler (unsupported)} {
> + depends_lib-append port:g95
> +}
> Property changes on: trunk/dports/science/hdf5-18/Portfile
> ___________________________________________________________________
> Added: svn:keywords
> Added: svn:eol-style
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-changes
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20081117/d36aa7c2/attachment.html>
More information about the macports-dev
mailing list