diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2019-08-04 11:55:18 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2019-08-04 11:55:18 +0000 |
commit | d3668be3bfc86d4537014718ad374645f82f2e3c (patch) | |
tree | 63ed6db77f5710fd0c563386748c7cee21b95922 /astro | |
parent | 38447593bee41459be85718b66e336dc21dde062 (diff) |
Notes
Diffstat (limited to 'astro')
-rw-r--r-- | astro/gnuastro/Makefile | 7 | ||||
-rw-r--r-- | astro/gnuastro/distinfo | 6 | ||||
-rw-r--r-- | astro/gnuastro/files/patch-bin_script_sort-by-night.in | 53 | ||||
-rw-r--r-- | astro/gnuastro/pkg-plist | 5 |
4 files changed, 8 insertions, 63 deletions
diff --git a/astro/gnuastro/Makefile b/astro/gnuastro/Makefile index 47519257db49..367235dde55e 100644 --- a/astro/gnuastro/Makefile +++ b/astro/gnuastro/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= gnuastro -PORTVERSION= 0.9 -PORTREVISION= 2 +PORTVERSION= 0.10 CATEGORIES= astro MASTER_SITES= GNU @@ -19,7 +18,7 @@ LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libpng.so:graphics/png \ libtiff.so:graphics/tiff -USES= gmake jpeg libtool:build localbase +USES= gmake jpeg libtool:build localbase tar:lz GNU_CONFIGURE= yes USE_LDCONFIG= yes TEST_TARGET= check @@ -32,8 +31,6 @@ 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 <time.h>,' \ - ${WRKSRC}/lib/gnuastro/table.h post-install: @${FIND} ${STAGEDIR}${PREFIX}/etc -name \*.conf \ diff --git a/astro/gnuastro/distinfo b/astro/gnuastro/distinfo index 1cc2d74cf2ce..29b0039ea1ae 100644 --- a/astro/gnuastro/distinfo +++ b/astro/gnuastro/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1555520218 -SHA256 (gnuastro-0.9.tar.gz) = c98dba97f022960d1792ffdba1f3bd411fb2945cd577902f79c73296799b6818 -SIZE (gnuastro-0.9.tar.gz) = 5312132 +TIMESTAMP = 1564793993 +SHA256 (gnuastro-0.10.tar.lz) = 2ba06b23a61a1a142cb0d40f7509ac1992067276ae3448285662b5e601acb03e +SIZE (gnuastro-0.10.tar.lz) = 3467563 diff --git a/astro/gnuastro/files/patch-bin_script_sort-by-night.in b/astro/gnuastro/files/patch-bin_script_sort-by-night.in deleted file mode 100644 index 79f43a00097b..000000000000 --- a/astro/gnuastro/files/patch-bin_script_sort-by-night.in +++ /dev/null @@ -1,53 +0,0 @@ ---- 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 diff --git a/astro/gnuastro/pkg-plist b/astro/gnuastro/pkg-plist index 41a5598acf90..ecce906417e8 100644 --- a/astro/gnuastro/pkg-plist +++ b/astro/gnuastro/pkg-plist @@ -55,6 +55,7 @@ include/gnuastro/permutation.h include/gnuastro/pointer.h include/gnuastro/polygon.h include/gnuastro/qsort.h +include/gnuastro/speclines.h include/gnuastro/statistics.h include/gnuastro/table.h include/gnuastro/threads.h @@ -65,8 +66,8 @@ include/gnuastro/type.h include/gnuastro/wcs.h lib/libgnuastro.a lib/libgnuastro.so -lib/libgnuastro.so.7 -lib/libgnuastro.so.7.0.0 +lib/libgnuastro.so.8 +lib/libgnuastro.so.8.0.0 libdata/pkgconfig/gnuastro.pc man/man1/astarithmetic.1.gz man/man1/astbuildprog.1.gz |