summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhorben <khorben>2015-04-21 23:26:42 +0000
committerkhorben <khorben>2015-04-21 23:26:42 +0000
commit63aa28d127adeeb9cb4be2b2adcb86d366c5ed66 (patch)
tree3845b0f58e134f6bfdf9516c5313b648e12efc57
parent934ad69065bff2c6bf82059b60bb071d6f9fe326 (diff)
downloadpkgsrc-63aa28d127adeeb9cb4be2b2adcb86d366c5ed66.tar.gz
Simplify updates for databases/sqlite3{,-docs,-tcl}
This change adds a Makefile.version file, common to every package from SQLite 3.
-rw-r--r--databases/sqlite3-docs/Makefile8
-rw-r--r--databases/sqlite3-tcl/Makefile8
-rw-r--r--databases/sqlite3/Makefile7
-rw-r--r--databases/sqlite3/Makefile.version7
4 files changed, 21 insertions, 9 deletions
diff --git a/databases/sqlite3-docs/Makefile b/databases/sqlite3-docs/Makefile
index 5660eec3000..27ef6c44544 100644
--- a/databases/sqlite3-docs/Makefile
+++ b/databases/sqlite3-docs/Makefile
@@ -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 @@ COMMENT= SQL Database Engine in a C Library (docs package)
# library."
LICENSE= public-domain
+.include "../../databases/sqlite3/Makefile.version"
+
USE_LANGUAGES= # none
USE_TOOLS+= find xargs pax
diff --git a/databases/sqlite3-tcl/Makefile b/databases/sqlite3-tcl/Makefile
index d091421c34c..e91150bf145 100644
--- a/databases/sqlite3-tcl/Makefile
+++ b/databases/sqlite3-tcl/Makefile
@@ -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 @@ HOMEPAGE= http://www.sqlite.org/
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 --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index f14a19be539..7071314ee91 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -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 @@ HOMEPAGE= http://www.sqlite.org/
COMMENT= SQL Database Engine in a C Library
LICENSE= public-domain
+.include "../../databases/sqlite3/Makefile.version"
.include "options.mk"
USE_LIBTOOL= yes
diff --git a/databases/sqlite3/Makefile.version b/databases/sqlite3/Makefile.version
new file mode 100644
index 00000000000..a6f99b4747a
--- /dev/null
+++ b/databases/sqlite3/Makefile.version
@@ -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