pkgsrc/time/dateutils/Makefile

57 lines
1.2 KiB
Makefile
Raw Normal View History

2016-09-25 23:13:09 +02:00
# $NetBSD: Makefile,v 1.9 2016/09/25 21:13:09 wiz Exp $
Updated time/dateutils to 0.4.0 ------------------------------- v0.4.0 Summary: v0.4.0 of dateutils This is a bugfix release. Bugfixes: - document %g/%G format specifiers - bug/42, accept NUL characters in input - bug/45, correctly display Gregorian and ISO week dates in one line - bug/46, adhere to ISO group's official formatting of week dates - bug/47, allow rounding of Epoch based timestamps - bug/48, avoid crash for void input to strptime(3) Features: - datetest supports --isvalid to conditionalise on date/time parsing - all tools support --from-locale to parse localised input - tools with output formatting support --locale to format output according to locale v0.3.5 Summary: v0.3.5 of dateutils This is a bugfix release. Bugfixes: - bug/40, distinguish between numerals-only dates and durations - tests will succeed independent of current date See info page examples and/or README. v0.3.4 Summary: v0.3.4 of dateutils This is a bugfix release. Bugfixes: - bug/39, MacOSX endianness detection - bug/38, ddiff day-only durations on date/times - dadd +2m bug is fixed, regression dtadd.049.clit/dtadd.050.clit v0.3.3 Summary: v0.3.3 of dateutils This is a feature release. Features: - to clarify purpose and avoid name clashes prefix binaries with date- This results in: dateadd dateconv datediff dategrep dateround dateseq datesort datetest and datezone - provide compatibilty through configure switch -with-old-names - provide single digit years through %_y - allow rounding of ISO-week dates (ywd) to week numbers Bugfixes: - dashes behind a date do not count as tz indicator - UTC/TAI/GPS special coordinated zones work on systems without leap second support v0.3.2 Summary: v0.3.2 of dateutils This is a bugfix release. Bugfixes: - out of range minutes will be discarded - bug 30 (malicious input crashes dconv) has been fixed Features: - military midnight stamps are supported (T24:00:00) - 8601 ordinal dates (year + doy) are recognised directly (-f yd) - strptime(1) can behave in a locale-dependent way ------------------------------------------------------------------------- (pkgsrc-changes) - recover the two patches for 0.3.1
2016-09-19 07:33:15 +02:00
DISTNAME= dateutils-0.4.0
CATEGORIES= time
2016-09-25 23:13:09 +02:00
#MASTER_SITES= ${MASTER_SITE_GITHUB:=hroptatyr/}
MASTER_SITES+= https://bitbucket.org/hroptatyr/dateutils/downloads/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fresse.org/dateutils/
COMMENT= Command line tools for working with dates
LICENSE= modified-bsd
(pkgsrc) - MASTER_SITES moved - DIST_SUBDIR is now used. - pre-configure:, post-build: added for Makefile - Some tweak added (post-build: etc) to get similar PLIST (as of 0.2.6) (upstream) Update 0.2.6 to 0.3.1 From: http://www.fresse.org/dateutils/changelog.html v0.3.1 ------------------------ This is a bugfix release. Bugfixes: - octave/matlab code is distributed fully - negative durations with refined units are minus-signed only once - ddiff is entirely anticommutative now - tests don¢Âª®t fail if zones don¢Âª®t exist on the build system - dseq with empty ranges will no longer produce output (just as seq(1)) - arbitrary integers are not interpreted as time anymore - when converting from zone info properly clear zone difference for %Z - dseq(1) will automatically resort to +1mo and +1y iterators for wildcarded ymd dates - dadd(1)¢Âª®ing ywd dates with output as ymd works properly now Features: - ddiff can output nanosecond diffs - automatic fix-up of dates is documented now - parser errors and fix ups are reported through return code 2 - dseq with no -f|--format stays in the calendric system of the start value instead of converting all output to ymd v0.3.0 ------------------------ This is a feature release. Features: - dgrep supports time zones both for the expression and the input - timezones can be specified by alternative codes and tzmap files - new tool dzone to inspect date/times in multiple timezones in bulk - new tool dsort to sort input chronologically - gengetopt and help2man maintainer dependencies removed - lilian/julian inputs via -i ldn and -i jdn - ymcw dates now follow ISO 8601 in using 07 to denote Sunday Bugfixes: - ddiff takes differences between a unix epoch stamp and a date/time - zone converter assigns correct sign to zone difference when using %Z - weekdays are properly calculated from epoch stamps (issue 24) v0.2.7 -------------------------- This is a feature release. Features: - dgrep supports -v|--invert-match like grep - output specifier %G is supported for compatibility with POSIX - ddiff calculates year-day differences - ddiff calculates ISO-week date differences - ddiff output can be zero and space padded through 0 and SPC modifier - zoneinfo database on AIX >= 6.1 is taken into account Bug fixes: - ddiff can calculate full year differences, issue 21 fixed - dseq now accepts %W, %V output formats, issue 22 fixed - builds with clang >= 3.3 work again, clang bug 18028
2014-12-15 09:45:47 +01:00
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config gmake makeinfo bison flex
(pkgsrc) - MASTER_SITES moved - DIST_SUBDIR is now used. - pre-configure:, post-build: added for Makefile - Some tweak added (post-build: etc) to get similar PLIST (as of 0.2.6) (upstream) Update 0.2.6 to 0.3.1 From: http://www.fresse.org/dateutils/changelog.html v0.3.1 ------------------------ This is a bugfix release. Bugfixes: - octave/matlab code is distributed fully - negative durations with refined units are minus-signed only once - ddiff is entirely anticommutative now - tests don¢Âª®t fail if zones don¢Âª®t exist on the build system - dseq with empty ranges will no longer produce output (just as seq(1)) - arbitrary integers are not interpreted as time anymore - when converting from zone info properly clear zone difference for %Z - dseq(1) will automatically resort to +1mo and +1y iterators for wildcarded ymd dates - dadd(1)¢Âª®ing ywd dates with output as ymd works properly now Features: - ddiff can output nanosecond diffs - automatic fix-up of dates is documented now - parser errors and fix ups are reported through return code 2 - dseq with no -f|--format stays in the calendric system of the start value instead of converting all output to ymd v0.3.0 ------------------------ This is a feature release. Features: - dgrep supports time zones both for the expression and the input - timezones can be specified by alternative codes and tzmap files - new tool dzone to inspect date/times in multiple timezones in bulk - new tool dsort to sort input chronologically - gengetopt and help2man maintainer dependencies removed - lilian/julian inputs via -i ldn and -i jdn - ymcw dates now follow ISO 8601 in using 07 to denote Sunday Bugfixes: - ddiff takes differences between a unix epoch stamp and a date/time - zone converter assigns correct sign to zone difference when using %Z - weekdays are properly calculated from epoch stamps (issue 24) v0.2.7 -------------------------- This is a feature release. Features: - dgrep supports -v|--invert-match like grep - output specifier %G is supported for compatibility with POSIX - ddiff calculates year-day differences - ddiff calculates ISO-week date differences - ddiff output can be zero and space padded through 0 and SPC modifier - zoneinfo database on AIX >= 6.1 is taken into account Bug fixes: - ddiff can calculate full year differences, issue 21 fixed - dseq now accepts %W, %V output formats, issue 22 fixed - builds with clang >= 3.3 work again, clang bug 18028
2014-12-15 09:45:47 +01:00
USE_LIBTOOL= yes
MAKE_JOBS_SAFE= no
INFO_FILES= yes
TEST_TARGET= check
(pkgsrc) - MASTER_SITES moved - DIST_SUBDIR is now used. - pre-configure:, post-build: added for Makefile - Some tweak added (post-build: etc) to get similar PLIST (as of 0.2.6) (upstream) Update 0.2.6 to 0.3.1 From: http://www.fresse.org/dateutils/changelog.html v0.3.1 ------------------------ This is a bugfix release. Bugfixes: - octave/matlab code is distributed fully - negative durations with refined units are minus-signed only once - ddiff is entirely anticommutative now - tests don¢Âª®t fail if zones don¢Âª®t exist on the build system - dseq with empty ranges will no longer produce output (just as seq(1)) - arbitrary integers are not interpreted as time anymore - when converting from zone info properly clear zone difference for %Z - dseq(1) will automatically resort to +1mo and +1y iterators for wildcarded ymd dates - dadd(1)¢Âª®ing ywd dates with output as ymd works properly now Features: - ddiff can output nanosecond diffs - automatic fix-up of dates is documented now - parser errors and fix ups are reported through return code 2 - dseq with no -f|--format stays in the calendric system of the start value instead of converting all output to ymd v0.3.0 ------------------------ This is a feature release. Features: - dgrep supports time zones both for the expression and the input - timezones can be specified by alternative codes and tzmap files - new tool dzone to inspect date/times in multiple timezones in bulk - new tool dsort to sort input chronologically - gengetopt and help2man maintainer dependencies removed - lilian/julian inputs via -i ldn and -i jdn - ymcw dates now follow ISO 8601 in using 07 to denote Sunday Bugfixes: - ddiff takes differences between a unix epoch stamp and a date/time - zone converter assigns correct sign to zone difference when using %Z - weekdays are properly calculated from epoch stamps (issue 24) v0.2.7 -------------------------- This is a feature release. Features: - dgrep supports -v|--invert-match like grep - output specifier %G is supported for compatibility with POSIX - ddiff calculates year-day differences - ddiff calculates ISO-week date differences - ddiff output can be zero and space padded through 0 and SPC modifier - zoneinfo database on AIX >= 6.1 is taken into account Bug fixes: - ddiff can calculate full year differences, issue 21 fixed - dseq now accepts %W, %V output formats, issue 22 fixed - builds with clang >= 3.3 work again, clang bug 18028
2014-12-15 09:45:47 +01:00
INCLUDEDIR= include/${PKGBASE}
AUTO_MKDIRS= YES
(pkgsrc) - MASTER_SITES moved - DIST_SUBDIR is now used. - pre-configure:, post-build: added for Makefile - Some tweak added (post-build: etc) to get similar PLIST (as of 0.2.6) (upstream) Update 0.2.6 to 0.3.1 From: http://www.fresse.org/dateutils/changelog.html v0.3.1 ------------------------ This is a bugfix release. Bugfixes: - octave/matlab code is distributed fully - negative durations with refined units are minus-signed only once - ddiff is entirely anticommutative now - tests don¢Âª®t fail if zones don¢Âª®t exist on the build system - dseq with empty ranges will no longer produce output (just as seq(1)) - arbitrary integers are not interpreted as time anymore - when converting from zone info properly clear zone difference for %Z - dseq(1) will automatically resort to +1mo and +1y iterators for wildcarded ymd dates - dadd(1)¢Âª®ing ywd dates with output as ymd works properly now Features: - ddiff can output nanosecond diffs - automatic fix-up of dates is documented now - parser errors and fix ups are reported through return code 2 - dseq with no -f|--format stays in the calendric system of the start value instead of converting all output to ymd v0.3.0 ------------------------ This is a feature release. Features: - dgrep supports time zones both for the expression and the input - timezones can be specified by alternative codes and tzmap files - new tool dzone to inspect date/times in multiple timezones in bulk - new tool dsort to sort input chronologically - gengetopt and help2man maintainer dependencies removed - lilian/julian inputs via -i ldn and -i jdn - ymcw dates now follow ISO 8601 in using 07 to denote Sunday Bugfixes: - ddiff takes differences between a unix epoch stamp and a date/time - zone converter assigns correct sign to zone difference when using %Z - weekdays are properly calculated from epoch stamps (issue 24) v0.2.7 -------------------------- This is a feature release. Features: - dgrep supports -v|--invert-match like grep - output specifier %G is supported for compatibility with POSIX - ddiff calculates year-day differences - ddiff calculates ISO-week date differences - ddiff output can be zero and space padded through 0 and SPC modifier - zoneinfo database on AIX >= 6.1 is taken into account Bug fixes: - ddiff can calculate full year differences, issue 21 fixed - dseq now accepts %W, %V output formats, issue 22 fixed - builds with clang >= 3.3 work again, clang bug 18028
2014-12-15 09:45:47 +01:00
post-build:
(cd ${WRKSRC}/lib; ${GMAKE})
post-install:
(cd ${WRKSRC}/lib; \
env DESTDIR=${DESTDIR} ${GMAKE} install-libLIBRARIES)
# To have the similar PLIST of previous version, installing headers.
.for i in \
boops.h \
date-core-strpf.h \
date-core.h \
dt-core-strpf.h \
dt-core-tz-glue.h \
dt-core.h \
generics.h \
gmtime.h \
leaps.h \
leapseconds.def \
leapseconds.h \
nifty.h \
strops.h \
time-core-strpf.h \
time-core.h \
token.h \
tzmap.h \
tzraw.h \
version.h
(cd ${WRKSRC}/lib; ${INSTALL_DATA} ${i} ${DESTDIR}${PREFIX}/${INCLUDEDIR})
.endfor
.include "../../devel/gperf/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"