diff options
author | khorben <khorben@pkgsrc.org> | 2015-04-21 23:26:42 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2015-04-21 23:26:42 +0000 |
commit | 7ec82e088905f1eb1b8fc2b3e2d11a90c9cfa91c (patch) | |
tree | 3845b0f58e134f6bfdf9516c5313b648e12efc57 | |
parent | 97c56150e6008f27cc081dea432cb19d4d441ff5 (diff) | |
download | pkgsrc-7ec82e088905f1eb1b8fc2b3e2d11a90c9cfa91c.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/Makefile | 8 | ||||
-rw-r--r-- | databases/sqlite3-tcl/Makefile | 8 | ||||
-rw-r--r-- | databases/sqlite3/Makefile | 7 | ||||
-rw-r--r-- | databases/sqlite3/Makefile.version | 7 |
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 |