# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name healpix-cxx version 3.30.0 set branch [join [lrange [split ${version} .] 0 1] .] revision 2 categories science license GPL-2 maintainers aronnax description C++ language implementation of HEALPix long_description \ Software for pixelization, hierarchical indexing, synthesis, analysis, and \ visualization of data on the sphere. This is the ${description}. homepage http://healpix.sourceforge.net platforms darwin master_sites sourceforge:project/healpix/Healpix_${branch}/ distname healpix_cxx-${version} checksums rmd160 6b2971e96d3bfe98423bb069d244f1d764fd81a0 \ sha256 4b7f3d355c8121fb7b0902757cb943fed18e5df9797ba473c69ed4483dc87ae6 depends_build port:pkgconfig depends_lib port:cfitsio configure.args-append \ --disable-openmp default_variants +openmp variant openmp description "enable OpenMP parallel acceleration" { configure.args-delete \ --disable-openmp # Pick a compiler that supports openmp compiler.whitelist macports-clang-3.9 macports-clang-3.8 macports-clang-3.7 macports-gcc-6 macports-gcc-5 macports-gcc-4.8 macports-gcc-4.7 macports-gcc-4.6 macports-gcc-4.5 macports-gcc-4.4 macports-gcc-4.3 compiler.fallback macports-clang-3.9 } pre-activate { if {[file exists ${prefix}/lib/libchealpix.a] && ![catch {set vers [lindex [registry_active healpix] 0]}] && [vercmp [lindex $vers 1] 3.00] < 0} { registry_deactivate_composite healpix "" [list ports_nodepcheck 1] } }