openbsd-ports/databases/sqlite/Makefile
2012-08-17 16:05:03 +00:00

44 lines
940 B
Makefile

# $OpenBSD: Makefile,v 1.19 2012/08/17 16:05:03 stu Exp $
COMMENT= Embedded SQL implementation
DISTNAME= sqlite-2.8.17
PKGNAME= ${DISTNAME}
REVISION = 2
CATEGORIES= databases
SHARED_LIBS += sqlite 8.6 # .0.0
MASTER_SITES= ${HOMEPAGE}
HOMEPAGE= http://www.sqlite.org/
# PD
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
AUTOCONF_VERSION=2.59
USE_GMAKE= Yes
USE_LIBTOOL= Yes
WANTLIB= c ncurses readline
FLAVORS=no_tcl
FLAVOR?=
CONFIGURE_STYLE=autoconf no-autoheader
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
.if ${FLAVOR:Mno_tcl}
NO_REGRESS= Yes
CONFIGURE_ARGS+=--disable-tcl
.else
REGRESS_TARGET= test
MODULES= lang/tcl
MODTCL_VERSION= 8.4
BUILD_DEPENDS+= ${MODTCL_BUILD_DEPENDS}
CONFIGURE_ENV+= config_TARGET_TCL_LIBS="-L${LOCALBASE}/lib -ltcl${MODTCL_VERSION:S/.//} -lm"
CONFIGURE_ENV+= config_TARGET_TCL_INC="-I${MODTCL_INCDIR}"
.endif
.include <bsd.port.mk>