diff --git a/databases/Makefile b/databases/Makefile index 931ae9ff144..9adacabaaae 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.317 2016/09/06 11:16:20 jasper Exp $ +# $OpenBSD: Makefile,v 1.318 2016/09/23 09:14:53 sthen Exp $ SUBDIR = SUBDIR += apache-couchdb @@ -250,6 +250,7 @@ SUBDIR += soprano SUBDIR += sqlite SUBDIR += sqlite3 + SUBDIR += sqlite3-tcl SUBDIR += sqlitebrowser SUBDIR += sqliteman SUBDIR += sqlports diff --git a/databases/sqlite3-tcl/Makefile b/databases/sqlite3-tcl/Makefile new file mode 100644 index 00000000000..0f3bab28454 --- /dev/null +++ b/databases/sqlite3-tcl/Makefile @@ -0,0 +1,41 @@ +# $OpenBSD: Makefile,v 1.1 2016/09/23 09:14:53 sthen Exp $ + +COMMENT= Tcl bindings for sqlite3 (embedded SQL implementation) + +DISTNAME= sqlite-autoconf-3140200 +PKGNAME= sqlite3-tcl-3.14.2 + +WRKSRC= ${WRKDIST}/tea + +SHARED_LIBS += sqlite3142 0.0 # 1.0 + +CATEGORIES= databases + +HOMEPAGE= http://www.sqlite.org/ + +# PD +PERMIT_PACKAGE_CDROM= Yes + +WANTLIB += pthread sqlite3 + +MASTER_SITES= ${HOMEPAGE}2016/ + +CONFIGURE_STYLE= gnu + +MODULES+= lang/tcl +BUILD_DEPENDS= ${MODTCL_BUILD_DEPENDS} +RUN_DEPENDS= ${MODTCL_RUN_DEPENDS} +LIB_DEPENDS= databases/sqlite3 + +FAKE_FLAGS= PKG_DIR=sqlite3 + +CONFIGURE_ARGS= --with-tcl=${MODTCL_LIBDIR} \ + --libdir=${MODTCL_TCLDIR} \ + SHLIB_VERSION=${LIBsqlite3142_VERSION} + +# for mozilla +CFLAGS+= -DSQLITE_ENABLE_UNLOCK_NOTIFY + +NO_TEST= Yes + +.include diff --git a/databases/sqlite3-tcl/distinfo b/databases/sqlite3-tcl/distinfo new file mode 100644 index 00000000000..1e65bc6488c --- /dev/null +++ b/databases/sqlite3-tcl/distinfo @@ -0,0 +1,2 @@ +SHA256 (sqlite-autoconf-3140200.tar.gz) = ZE8MEn99DL6HZbm7357QnWovK537pI3f2MoKQv21s/w= +SIZE (sqlite-autoconf-3140200.tar.gz) = 2472940 diff --git a/databases/sqlite3-tcl/pkg/DESCR b/databases/sqlite3-tcl/pkg/DESCR new file mode 100644 index 00000000000..3702365f5d7 --- /dev/null +++ b/databases/sqlite3-tcl/pkg/DESCR @@ -0,0 +1 @@ +This package contains Tcl bindings for Sqlite3. diff --git a/databases/sqlite3-tcl/pkg/PLIST b/databases/sqlite3-tcl/pkg/PLIST new file mode 100644 index 00000000000..e6a24b47ab2 --- /dev/null +++ b/databases/sqlite3-tcl/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $OpenBSD: PLIST,v 1.1 2016/09/23 09:14:53 sthen Exp $ +@pkgpath databases/sqlite3,-tcl +lib/tcl/sqlite3/ +@lib lib/tcl/sqlite3/libsqlite3142.so.${LIBsqlite3142_VERSION} +lib/tcl/sqlite3/pkgIndex.tcl +@man man/mann/sqlite3.n