# -*- 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
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers {aronnax @lpsinger}
description C language implementation of HEALPix
Software for pixelization, hierarchical indexing, synthesis, analysis, and \
visualization of data on the sphere. This is the ${description}.
homepage http://healpix.sourceforge.net
master_sites sourceforge:project/healpix/Healpix_${branch}/
distname chealpix-${version}
checksums rmd160 66afdda4488570c43c446c5c2f28f84a39d54396 \
sha256 dbc5ba0d84d6e5f69bdffe6eb572c206e8fefd5bb187d52bbf9b2763b636dbd7
depends_build port:pkgconfig
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]