pkgsrc/time/dateutils/Makefile
mef 70f01a7bd0 Updated time/dateutils to 0.4.3
(from: http://www.fresse.org/dateutils/changelog.html)
This is dateutils v0.4.3.
This is a feature release.

Features:
    base expansion works for times now

Bugfixes:
    durations in months weeks and days are calculated like
    durations in months and days, consistency
    am and pm indicators in inputs are handled properly
    military midnights decay when not printed in full

See info page examples and/or README.
2018-04-03 07:09:32 +00:00

56 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2018/04/03 07:09:32 mef Exp $
DISTNAME= dateutils-0.4.3
CATEGORIES= time
#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
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config automake autoconf gmake makeinfo bison flex
USE_LIBTOOL= yes
MAKE_JOBS_SAFE= no
INFO_FILES= yes
TEST_TARGET= check
INCLUDEDIR= include/${PKGBASE}
AUTO_MKDIRS= YES
pre-configure:
(cd ${WRKSRC}; autoreconf -i)
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"