summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2014-12-16 01:51:35 +0000
committermef <mef@pkgsrc.org>2014-12-16 01:51:35 +0000
commit9fa9fb194edf553156ad665880e1dc0f3a06096f (patch)
tree98cf84200d3936414b49cfe41203641553e93621 /time
parenteb2bfc7b40c584697ec8a2f7aa4f4f4c54593a31 (diff)
downloadpkgsrc-9fa9fb194edf553156ad665880e1dc0f3a06096f.tar.gz
- Convert MASTER_SITES from tagged-github to normal tarball, thanks obache@
- autoreconf is not necessary for this tarball (remove pre-configure: target in Makefile) - Remove automake and autoreconf from USE_TOOLS+= - Add patch for Makefile.in as well as Makefile.am - MAKE_JOBS_SAFE= no - Add following files in PLIST share/dateutils/iata.tzmcc share/dateutils/icao.tzmcc share/dateutils/mic.tzmcc Thanks again obache@
Diffstat (limited to 'time')
-rw-r--r--time/dateutils/Makefile15
-rw-r--r--time/dateutils/PLIST6
-rw-r--r--time/dateutils/distinfo9
-rw-r--r--time/dateutils/patches/patch-Makefile.in16
4 files changed, 31 insertions, 15 deletions
diff --git a/time/dateutils/Makefile b/time/dateutils/Makefile
index d22766bdb96..ec9b0827090 100644
--- a/time/dateutils/Makefile
+++ b/time/dateutils/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2014/12/15 08:45:47 mef Exp $
+# $NetBSD: Makefile,v 1.4 2014/12/16 01:51:35 mef Exp $
-DISTNAME= v0.3.1
-PKGNAME= ${DISTNAME:S/^v/dateutils-/}
+DISTNAME= dateutils-0.3.1
CATEGORIES= time
-MASTER_SITES= http://github.com/hroptatyr/dateutils/archive/
-DIST_SUBDIR= dateutils
+MASTER_SITES= https://bitbucket.org/hroptatyr/dateutils/downloads/
+EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fresse.org/dateutils/
@@ -13,17 +12,15 @@ LICENSE= modified-bsd
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
GNU_CONFIGURE= yes
-USE_TOOLS+= pkg-config automake autoreconf gmake makeinfo bison flex
+USE_TOOLS+= pkg-config 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-build:
(cd ${WRKSRC}/lib; ${GMAKE})
diff --git a/time/dateutils/PLIST b/time/dateutils/PLIST
index d4afb5421dc..b5e60567214 100644
--- a/time/dateutils/PLIST
+++ b/time/dateutils/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2014/12/15 08:45:47 mef Exp $
+@comment $NetBSD: PLIST,v 1.3 2014/12/16 01:51:35 mef Exp $
bin/dadd
bin/dconv
bin/ddiff
@@ -41,5 +41,7 @@ man/man1/dsort.1
man/man1/dtest.1
man/man1/dzone.1
man/man1/strptime.1
+share/dateutils/iata.tzmcc
+share/dateutils/icao.tzmcc
+share/dateutils/mic.tzmcc
share/doc/dateutils/README.md
-@pkgdir share/dateutils
diff --git a/time/dateutils/distinfo b/time/dateutils/distinfo
index 286cee53bfa..292113d78e1 100644
--- a/time/dateutils/distinfo
+++ b/time/dateutils/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2014/12/15 08:45:47 mef Exp $
+$NetBSD: distinfo,v 1.4 2014/12/16 01:51:35 mef Exp $
-SHA1 (dateutils/v0.3.1.tar.gz) = 166b94597a112aff0c1bd227c4e2d8f8f5b46f25
-RMD160 (dateutils/v0.3.1.tar.gz) = 4f495a63c619d662fd2894862b9555348386cc0c
-Size (dateutils/v0.3.1.tar.gz) = 247307 bytes
+SHA1 (dateutils-0.3.1.tar.xz) = 07884be555998aa649733401e65f073ada89ac08
+RMD160 (dateutils-0.3.1.tar.xz) = a45ed9fb1c5d5107883fb3cfdf3f43d238e0497c
+Size (dateutils-0.3.1.tar.xz) = 586848 bytes
SHA1 (patch-Makefile.am) = 936ad7f986ff5cb8bec5f85c96a17657fca2774f
+SHA1 (patch-Makefile.in) = ff5aaffb2046f17189b9074090c68295df5fb57a
diff --git a/time/dateutils/patches/patch-Makefile.in b/time/dateutils/patches/patch-Makefile.in
new file mode 100644
index 00000000000..a95c544365f
--- /dev/null
+++ b/time/dateutils/patches/patch-Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-Makefile.in,v 1.1 2014/12/16 01:51:35 mef Exp $
+
+Previous version (at least 0.27) installs libdut.a, while 0.31
+does not. Add that one.
+
+--- lib/Makefile.in.orig 2014-12-16 10:31:51.000000000 +0900
++++ lib/Makefile.in 2014-12-16 10:34:41.000000000 +0900
+@@ -332,7 +332,7 @@
+ noinst_HEADERS =
+ noinst_LIBRARIES = libdut.a
+ pkgdata_DATA = $(am__append_6) $(am__append_9)
+-lib_LIBRARIES =
++lib_LIBRARIES = libdut.a
+ BUILT_SOURCES = ltrcc.yucc version.c fmt-special.c leapseconds.def \
+ tzmap.yucc $(am__append_3)
+ CLEANFILES = $(am__append_7) $(am__append_10)