pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/dateutils - Convert MASTER_SITES from tagged-gith...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/97a9ea47ed6e
branches:  trunk
changeset: 643391:97a9ea47ed6e
user:      mef <mef%pkgsrc.org@localhost>
date:      Tue Dec 16 01:51:35 2014 +0000

description:
- 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:

 time/dateutils/Makefile                  |  15 ++++++---------
 time/dateutils/PLIST                     |   6 ++++--
 time/dateutils/distinfo                  |   9 +++++----
 time/dateutils/patches/patch-Makefile.in |  16 ++++++++++++++++
 4 files changed, 31 insertions(+), 15 deletions(-)

diffs (91 lines):

diff -r 5b8159c80273 -r 97a9ea47ed6e time/dateutils/Makefile
--- a/time/dateutils/Makefile   Tue Dec 16 01:51:25 2014 +0000
+++ b/time/dateutils/Makefile   Tue Dec 16 01:51:35 2014 +0000
@@ -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@localhost
 HOMEPAGE=      http://www.fresse.org/dateutils/
@@ -13,17 +12,15 @@
 
 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 -r 5b8159c80273 -r 97a9ea47ed6e time/dateutils/PLIST
--- a/time/dateutils/PLIST      Tue Dec 16 01:51:25 2014 +0000
+++ b/time/dateutils/PLIST      Tue Dec 16 01:51:35 2014 +0000
@@ -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/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 -r 5b8159c80273 -r 97a9ea47ed6e time/dateutils/distinfo
--- a/time/dateutils/distinfo   Tue Dec 16 01:51:25 2014 +0000
+++ b/time/dateutils/distinfo   Tue Dec 16 01:51:35 2014 +0000
@@ -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 -r 5b8159c80273 -r 97a9ea47ed6e time/dateutils/patches/patch-Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/dateutils/patches/patch-Makefile.in  Tue Dec 16 01:51:35 2014 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index