openbsd-ports/databases/sqlite/Makefile

41 lines
874 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.17 2007/09/15 20:34:03 simon Exp $
COMMENT= Embedded SQL implementation
2005-12-20 22:58:11 -05:00
DISTNAME= sqlite-2.8.17
2005-12-26 16:32:00 -05:00
PKGNAME= ${DISTNAME}p1
CATEGORIES= databases
2006-10-28 07:19:20 -04:00
SHARED_LIBS += sqlite 8.6 # .0.0
2005-12-26 16:32:00 -05:00
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
2005-12-26 16:32:00 -05:00
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
2006-11-20 13:32:38 -05:00
BUILD_DEPENDS+= ::lang/tcl/8.4
CONFIGURE_ENV+= config_TARGET_TCL_LIBS="-L${LOCALBASE}/lib -ltcl84 -lm"
CONFIGURE_ENV+= config_TARGET_TCL_INC="-I${LOCALBASE}/include/tcl8.4"
.endif
.include <bsd.port.mk>