openbsd-ports/databases/sqlite3/Makefile
djm ed904462a9 Import of sqlite3, a public-domain in-process SQL engine:
SQLite is a C library that implements an embeddable SQL database engine.
    Programs that link with the SQLite library can have SQL database access
    without running a separate RDBMS process. The distribution comes with a
    standalone command-line access program (sqlite) that can be used to
    administer an SQLite database and which serves as an example of how to
    use the SQLite library. SQLite is not a client library used to connect to
    a big database server. SQLite is the server. The SQLite library reads and
    writes directly to and from the database files on disk.

Note that sqlite3 is not backwards compatible with sqlite2, but they can be 
installed in parallel (thus the separate port). ok jolan@
2004-11-07 00:10:17 +00:00

34 lines
751 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2004/11/07 00:10:17 djm Exp $
COMMENT= "Embedded SQL implementation"
VERSION= 3.0.8
PKGNAME= sqlite3-${VERSION}
DISTNAME= sqlite-${VERSION}
CATEGORIES= databases
HOMEPAGE= http://www.sqlite.org/
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= Damien Miller <djm@openbsd.org>
# Public Domain
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
USE_GMAKE= Yes
WRKDIST= ${WRKDIR}/sqlite
BUILD_DEPENDS= tcl84::lang/tcl/8.4
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ENV= config_TARGET_TCL_LIBS="-L${LOCALBASE}/lib -ltcl84 -lm"
CONFIGURE_ENV+= config_TARGET_TCL_INC="-I${LOCALBASE}/include/tcl8.4"
REGRESS_TARGET= test
.include <bsd.port.mk>