pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases Simplify updates for databases/sqlite3{,-doc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58fd0a85bcfa
branches:  trunk
changeset: 650368:58fd0a85bcfa
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Tue Apr 21 23:26:42 2015 +0000

description:
Simplify updates for databases/sqlite3{,-docs,-tcl}

This change adds a Makefile.version file, common to every package from
SQLite 3.

diffstat:

 databases/sqlite3-docs/Makefile    |  8 +++++---
 databases/sqlite3-tcl/Makefile     |  8 +++++---
 databases/sqlite3/Makefile         |  7 ++++---
 databases/sqlite3/Makefile.version |  7 +++++++
 4 files changed, 21 insertions(+), 9 deletions(-)

diffs (79 lines):

diff -r c2b82abc72a5 -r 58fd0a85bcfa databases/sqlite3-docs/Makefile
--- a/databases/sqlite3-docs/Makefile   Tue Apr 21 23:26:35 2015 +0000
+++ b/databases/sqlite3-docs/Makefile   Tue Apr 21 23:26:42 2015 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.41 2015/04/11 12:42:06 adam Exp $
+# $NetBSD: Makefile,v 1.42 2015/04/21 23:26:42 khorben Exp $
 
-DISTNAME=      sqlite-doc-3080900
-PKGNAME=       sqlite3-docs-3.8.9
+DISTNAME=      sqlite-doc-${SQLITE3_DISTVERSION}
+PKGNAME=       sqlite3-docs-${SQLITE3_VERSION}
 CATEGORIES=    databases
 MASTER_SITES=  http://www.hwaci.com/sw/sqlite/2015/ \
                http://www.sqlite.org/2015/
@@ -17,6 +17,8 @@
 # library."
 LICENSE=       public-domain
 
+.include "../../databases/sqlite3/Makefile.version"
+
 USE_LANGUAGES= # none
 USE_TOOLS+=    find xargs pax
 
diff -r c2b82abc72a5 -r 58fd0a85bcfa databases/sqlite3-tcl/Makefile
--- a/databases/sqlite3-tcl/Makefile    Tue Apr 21 23:26:35 2015 +0000
+++ b/databases/sqlite3-tcl/Makefile    Tue Apr 21 23:26:42 2015 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.73 2015/04/11 12:42:06 adam Exp $
+# $NetBSD: Makefile,v 1.74 2015/04/21 23:26:42 khorben Exp $
 
-DISTNAME=      sqlite-autoconf-3080900
-PKGNAME=       sqlite3-tcl-3.8.9
+DISTNAME=      sqlite-autoconf-${SQLITE3_DISTVERSION}
+PKGNAME=       sqlite3-tcl-${SQLITE3_VERSION}
 CATEGORIES=    databases
 MASTER_SITES=  http://www.hwaci.com/sw/sqlite/2015/ \
                http://www.sqlite.org/2015/
@@ -11,6 +11,8 @@
 COMMENT=       SQL Database Engine in a C Library (TCL extension)
 LICENSE=       public-domain
 
+.include "../../databases/sqlite3/Makefile.version"
+
 WRKSRC=                ${WRKDIR}/${DISTNAME}/tea
 
 USE_TOOLS+=            gmake
diff -r c2b82abc72a5 -r 58fd0a85bcfa databases/sqlite3/Makefile
--- a/databases/sqlite3/Makefile        Tue Apr 21 23:26:35 2015 +0000
+++ b/databases/sqlite3/Makefile        Tue Apr 21 23:26:42 2015 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.94 2015/04/11 12:42:06 adam Exp $
+# $NetBSD: Makefile,v 1.95 2015/04/21 23:26:42 khorben Exp $
 
-DISTNAME=      sqlite-autoconf-3080900
-PKGNAME=       sqlite3-3.8.9
+DISTNAME=      sqlite-autoconf-${SQLITE3_DISTVERSION}
+PKGNAME=       sqlite3-${SQLITE3_VERSION}
 CATEGORIES=    databases
 MASTER_SITES=  http://www.hwaci.com/sw/sqlite/2015/ \
                http://www.sqlite.org/2015/
@@ -11,6 +11,7 @@
 COMMENT=       SQL Database Engine in a C Library
 LICENSE=       public-domain
 
+.include "../../databases/sqlite3/Makefile.version"
 .include "options.mk"
 
 USE_LIBTOOL=           yes
diff -r c2b82abc72a5 -r 58fd0a85bcfa databases/sqlite3/Makefile.version
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/sqlite3/Makefile.version        Tue Apr 21 23:26:42 2015 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: Makefile.version,v 1.1 2015/04/21 23:26:42 khorben Exp $
+# used by databases/sqlite3/Makefile
+# used by databases/sqlite3-docs/Makefile
+# used by databases/sqlite3-tcl/Makefile
+
+SQLITE3_DISTVERSION=   3080900
+SQLITE3_VERSION=       3.8.9



Home | Main Index | Thread Index | Old Index