pkgsrc/databases/sqlite3-tcl/Makefile
khorben 48f580ffbe Simplify updates for databases/sqlite3{,-docs,-tcl}
This change adds a Makefile.version file, common to every package from
SQLite 3.
2015-04-21 23:26:42 +00:00

33 lines
966 B
Makefile

# $NetBSD: Makefile,v 1.74 2015/04/21 23:26:42 khorben Exp $
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/
MAINTAINER= pkgsrc-users@NetBSD.org
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
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
PLIST_SUBST+= TCL_TRIM_DOTS=${PKGVERSION_NOREV:S/.//g}
BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.6.10
# avoid conflict with lang/tcl
post-extract:
mv ${WRKSRC}/doc/sqlite3.n ${WRKSRC}/doc/sqlite3-tcl.n
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"