openbsd-ports/databases/tdbc-sqlite3/Makefile
stu ba3729c884 Import tdbc-sqlite3-1.0.0
Provides a database interface that conforms to Tcl DataBase Connectivity (TDBC)
and allows a Tcl script to connect to a SQLite3 database.

It is also provided as a working example of how to write a database driver
in Tcl, so that driver authors have a starting point for further development.

ok landry@
2013-02-07 05:24:08 +00:00

45 lines
1022 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2013/02/07 05:24:08 stu Exp $
COMMENT = sqlite3 module for TDBC
DISTNAME = tdbcsqlite3-1.0.0
PKGNAME = tdbc-sqlite3-1.0.0
CATEGORIES = databases
HOMEPAGE = http://tdbc.tcl.tk/
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tcl/}
MODULES = lang/tcl
# TDBC needs TclOO, which is in Tcl 8.6
MODTCL_VERSION = 8.6
BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS} \
databases/tdbc
RUN_DEPENDS = ${MODTCL_RUN_DEPENDS} \
databases/tdbc \
databases/sqlite3,-tcl
REGRESS_DEPENDS = databases/sqlite3,-tcl
FAKE_FLAGS = tmdir=${MODTCL_MODDIR}/${MODTCL_VERSION}
SEPARATE_BUILD = Yes
USE_GROFF = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
--with-tcl=${MODTCL_LIBDIR} \
--libdir=${MODTCL_TCLDIR} \
--with-tdbc=${MODTCL_TCLDIR}/tdbc
REGRESS_TARGET = test
NO_BUILD = Yes
.include <bsd.port.mk>