2016-09-25 23:13:09 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2016/09/25 21:13:09 wiz Exp $
|
2013-10-21 17:05:05 +02:00
|
|
|
|
2016-09-19 07:33:15 +02:00
|
|
|
DISTNAME= dateutils-0.4.0
|
2013-10-21 17:05:05 +02:00
|
|
|
CATEGORIES= time
|
2016-09-25 23:13:09 +02:00
|
|
|
#MASTER_SITES= ${MASTER_SITE_GITHUB:=hroptatyr/}
|
2014-12-16 03:22:44 +01:00
|
|
|
MASTER_SITES+= https://bitbucket.org/hroptatyr/dateutils/downloads/
|
2014-12-16 02:51:35 +01:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2013-10-21 17:05:05 +02:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.fresse.org/dateutils/
|
|
|
|
COMMENT= Command line tools for working with dates
|
2013-10-31 09:32:55 +01:00
|
|
|
LICENSE= modified-bsd
|
2013-10-21 17:05:05 +02:00
|
|
|
|
2014-12-15 09:45:47 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
2013-10-21 17:05:05 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-12-16 02:51:35 +01:00
|
|
|
USE_TOOLS+= pkg-config gmake makeinfo bison flex
|
2014-12-15 09:45:47 +01:00
|
|
|
USE_LIBTOOL= yes
|
2014-12-16 02:51:35 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
2013-10-21 17:05:05 +02:00
|
|
|
|
|
|
|
INFO_FILES= yes
|
|
|
|
TEST_TARGET= check
|
2014-12-15 09:45:47 +01:00
|
|
|
INCLUDEDIR= include/${PKGBASE}
|
|
|
|
AUTO_MKDIRS= YES
|
2013-10-21 17:05:05 +02:00
|
|
|
|
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"
|
2013-10-21 17:05:05 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|