Files
Joshua Root d781843732 science/[A-g]*: set github.tarball_from explicitly
In preparation for changing the default.
2025-01-27 12:39:56 +11:00

53 lines
2.1 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup github 1.0
github.setup ericmandel funtools 1.4.7 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
categories science
maintainers {aronnax @lpsinger} openmaintainer
license LGPL-2.1
description a minimal buy-in FITS library and utility package
long_description Funtools is a \"minimal buy-in\" FITS library and \
utility package developed at the the High Energy Astrophysics Division \
of SAO. The Funtools library provides simplified access to a \
wide array of file types: standard astronomical FITS images and binary \
tables, raw arrays and binary event lists, and even tables of ASCII \
column data. A sophisticated region filtering library (compatible with \
ds9) filters images and tables using boolean operations between geometric \
shapes, support world coordinates, etc. Funtools also supports advanced \
capabilities such as optimized data searching using index files.\
The main goal of the Funtools project has been to develop a minimal \
buy-in FITS library for researchers who are occasional (but serious) \
coders. In this case, minimal buy-in means easy to learn, easy to \
use, and easy to re-learn next month.
checksums rmd160 c3f78b45e7ea9585e7bc697a717d58a4f42d77a0 \
sha256 624e24c2a58364b13f16b139b6d18c45a957fdcfe3a6f398e8af414355a4eed3
# Rename 'gcat' to 'fungcat' to avoid collision with binary of same name
# provided by port coreutils
patchfiles patch-util_Makefile.in.diff
pre-configure {
system -W ${worksrcpath} "./mkconfigure"
}
destroot.destdir INSTALL_ROOT=${destroot}
post-destroot {
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
xinstall -m 644 -W ${worksrcpath} \
COPYING \
README \
${docdir}
xinstall -m 644 -W ${worksrcpath}/doc \
funtools.pdf \
${docdir}
}