Index: head/astro/gnuastro/Makefile =================================================================== --- head/astro/gnuastro/Makefile (revision 501097) +++ head/astro/gnuastro/Makefile (revision 501098) @@ -1,45 +1,45 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= gnuastro -PORTVERSION= 0.8 +PORTVERSION= 0.9 CATEGORIES= astro MASTER_SITES= GNU MAINTAINER= danfe@FreeBSD.org COMMENT= GNU astronomy utilities and library LICENSE= GPLv3+ LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libwcs.so:astro/wcslib \ libcurl.so:ftp/curl \ libgsl.so:math/gsl \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= gmake jpeg libtool:build localbase GNU_CONFIGURE= yes USE_LDCONFIG= yes TEST_TARGET= check INFO= ${PORTNAME} PORTDOCS= AUTHORS ChangeLog NEWS README THANKS OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's,gcc,${CC},' ${WRKSRC}/bin/buildprog/buildprog.c @${REINPLACE_CMD} -e 's,/bash,/sh,' ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e '31s,^,#include ,' \ ${WRKSRC}/lib/gnuastro/table.h post-install: @${FIND} ${STAGEDIR}${PREFIX}/etc -name \*.conf \ -exec ${MV} '{}' '{}.sample' \; post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include Index: head/astro/gnuastro/distinfo =================================================================== --- head/astro/gnuastro/distinfo (revision 501097) +++ head/astro/gnuastro/distinfo (revision 501098) @@ -1,3 +1,3 @@ -TIMESTAMP = 1553427026 -SHA256 (gnuastro-0.8.tar.gz) = 3a8070f9dd896a463f1d898be82b1fe5abcd39e6407be9162f4dbea7fe9caed4 -SIZE (gnuastro-0.8.tar.gz) = 5140848 +TIMESTAMP = 1555520218 +SHA256 (gnuastro-0.9.tar.gz) = c98dba97f022960d1792ffdba1f3bd411fb2945cd577902f79c73296799b6818 +SIZE (gnuastro-0.9.tar.gz) = 5312132 Index: head/astro/gnuastro/files/patch-bin_script_sort-by-night.in =================================================================== --- head/astro/gnuastro/files/patch-bin_script_sort-by-night.in (nonexistent) +++ head/astro/gnuastro/files/patch-bin_script_sort-by-night.in (revision 501098) @@ -0,0 +1,53 @@ +--- bin/script/sort-by-night.in.orig 2019-04-11 18:40:12 UTC ++++ bin/script/sort-by-night.in +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + + # Separate input datasets into multiple nights, run with `--help', or see + # description under `print_help' (below) for more. +@@ -127,7 +127,7 @@ EOF + + + # Functions to check option values and complain if necessary. +-function on_off_option_error() { ++on_off_option_error() { + if [ "x$2" = x ]; then + echo "$scriptname: '$1' doesn't take any values." + else +@@ -136,7 +136,7 @@ function on_off_option_error() { + exit 1 + } + +-function check_v() { ++check_v() { + if [ x"$2" = x ]; then + echo "$scriptname: option '$1' requires an argument." + echo "Try '$scriptname --help' for more information." +@@ -172,7 +172,7 @@ function check_v() { + # if a value is appended to the short format it should crash. So in the + # second test for these (`-l*') will account for both the case where we + # have an equal sign and where we don't. +-while [[ $# -gt 0 ]] ++while [ $# -gt 0 ] + do + case "$1" in + # Input parameters. +@@ -242,8 +242,8 @@ fi + list=$(for f in $inputs; do + astfits $f --datetosec=$key --hdu=$hdu -q \ + | awk -vh=$hour \ +- '{d=int($1/86400); print "'$f'", $1, \ +- int($1)%86400<(h*3600) ? d-1 : d }' ++ '{d=int($1/86400); print "'$f'", $1; \ ++ if (int($1)%86400<(h*3600)) print d-1; else print d }' + done) + + +@@ -302,5 +302,5 @@ echo "$unique" | while read l; do + done + + # Increment the night-counter. +- ((counter++)) ++ counter=$((counter+1)) + done Property changes on: head/astro/gnuastro/files/patch-bin_script_sort-by-night.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/astro/gnuastro/pkg-plist =================================================================== --- head/astro/gnuastro/pkg-plist (revision 501097) +++ head/astro/gnuastro/pkg-plist (revision 501098) @@ -1,104 +1,107 @@ bin/astarithmetic bin/astbuildprog bin/astconvertt bin/astconvolve bin/astcosmiccal bin/astcrop bin/astfits bin/astmatch bin/astmkcatalog bin/astmknoise bin/astmkprof bin/astnoisechisel +bin/astscript-sort-by-night bin/astsegment bin/aststatistics bin/asttable bin/astwarp @sample etc/astarithmetic.conf.sample @sample etc/astbuildprog.conf.sample @sample etc/astconvertt.conf.sample @sample etc/astconvolve.conf.sample @sample etc/astcosmiccal.conf.sample @sample etc/astcrop.conf.sample @sample etc/astfits.conf.sample @sample etc/astmatch.conf.sample @sample etc/astmkcatalog.conf.sample @sample etc/astmknoise.conf.sample @sample etc/astmkprof.conf.sample @sample etc/astnoisechisel.conf.sample @sample etc/astsegment.conf.sample @sample etc/aststatistics.conf.sample @sample etc/asttable.conf.sample @sample etc/astwarp.conf.sample @sample etc/gnuastro.conf.sample include/gnuastro/arithmetic.h include/gnuastro/array.h include/gnuastro/binary.h include/gnuastro/blank.h include/gnuastro/box.h include/gnuastro/config.h include/gnuastro/convolve.h include/gnuastro/cosmology.h include/gnuastro/data.h include/gnuastro/dimension.h include/gnuastro/eps.h include/gnuastro/fits.h include/gnuastro/git.h include/gnuastro/interpolate.h include/gnuastro/jpeg.h include/gnuastro/label.h include/gnuastro/list.h include/gnuastro/match.h include/gnuastro/pdf.h include/gnuastro/permutation.h include/gnuastro/pointer.h include/gnuastro/polygon.h include/gnuastro/qsort.h include/gnuastro/statistics.h include/gnuastro/table.h include/gnuastro/threads.h include/gnuastro/tiff.h include/gnuastro/tile.h include/gnuastro/txt.h include/gnuastro/type.h include/gnuastro/wcs.h lib/libgnuastro.a lib/libgnuastro.so -lib/libgnuastro.so.6 -lib/libgnuastro.so.6.0.0 +lib/libgnuastro.so.7 +lib/libgnuastro.so.7.0.0 libdata/pkgconfig/gnuastro.pc man/man1/astarithmetic.1.gz man/man1/astbuildprog.1.gz man/man1/astconvertt.1.gz man/man1/astconvolve.1.gz man/man1/astcosmiccal.1.gz man/man1/astcrop.1.gz man/man1/astfits.1.gz man/man1/astmatch.1.gz man/man1/astmkcatalog.1.gz man/man1/astmknoise.1.gz man/man1/astmkprof.1.gz man/man1/astnoisechisel.1.gz +man/man1/astscript-sort-by-night.1.gz man/man1/astsegment.1.gz man/man1/aststatistics.1.gz man/man1/asttable.1.gz man/man1/astwarp.1.gz +share/info/gnuastro-figures/README share/info/gnuastro-figures/epicycles.eps share/info/gnuastro-figures/epicycles.png share/info/gnuastro-figures/epicycles.txt share/info/gnuastro-figures/flatplane.eps share/info/gnuastro-figures/flatplane.pdf share/info/gnuastro-figures/flatplane.png share/info/gnuastro-figures/flatplane.txt share/info/gnuastro-figures/iandtime.eps share/info/gnuastro-figures/iandtime.pdf share/info/gnuastro-figures/iandtime.png share/info/gnuastro-figures/iandtime.txt share/info/gnuastro-figures/samplingfreq.eps share/info/gnuastro-figures/samplingfreq.pdf share/info/gnuastro-figures/samplingfreq.png share/info/gnuastro-figures/samplingfreq.txt share/info/gnuastro-figures/sphereandplane.eps share/info/gnuastro-figures/sphereandplane.pdf share/info/gnuastro-figures/sphereandplane.png share/info/gnuastro-figures/sphereandplane.txt