ports/168232: [NEW PORT] databases/tcl-sqlite3: SQLite extension for Tcl using the Tcl Extension Architecture (TEA)
Pavel I Volkov
pavelivolkov at googlemail.com
Tue May 22 12:00:12 UTC 2012
>Number: 168232
>Category: ports
>Synopsis: [NEW PORT] databases/tcl-sqlite3: SQLite extension for Tcl using the Tcl Extension Architecture (TEA)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue May 22 12:00:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Pavel I Volkov
>Release: FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD pol.adm.ru 9.0-STABLE FreeBSD 9.0-STABLE #4: Mon Apr 9 12:25:53 MSK
>Description:
This is the SQLite extension for Tcl using the Tcl Extension
Architecture (TEA).
WWW: http://www.sqlite.org
Generated with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:
>Fix:
--- .shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# tcl-sqlite3
# tcl-sqlite3/files
# tcl-sqlite3/files/example.tcl.in
# tcl-sqlite3/distinfo
# tcl-sqlite3/Makefile
# tcl-sqlite3/pkg-descr
#
echo c - tcl-sqlite3
mkdir -p tcl-sqlite3 > /dev/null 2>&1
echo c - tcl-sqlite3/files
mkdir -p tcl-sqlite3/files > /dev/null 2>&1
echo x - tcl-sqlite3/files/example.tcl.in
sed 's/^X//' >tcl-sqlite3/files/example.tcl.in << 'eb0bcbb5db04f71f6fc1f2bb3b8cff56'
X#!%%TCLSH%%
X
Xpackage require sqlite3
X
Xif {$argc!=2} {
X puts stderr "Usage: $argv0 DATABASE SQL-STATEMENT"
X exit 1
X}
Xsqlite db [lindex $argv 0]
Xdb eval [lindex $argv 1] x {
X foreach v $x(*) {
X puts "$v = $x($v)"
X }
X puts ""
X}
Xdb close
eb0bcbb5db04f71f6fc1f2bb3b8cff56
echo x - tcl-sqlite3/distinfo
sed 's/^X//' >tcl-sqlite3/distinfo << 'da832dbb61c43ef0eeb01c4865da0b23'
XSHA256 (sqlite-autoconf-3071200.tar.gz) = ca1735d13975be84cba87ea1b62ae0ab01fdc01ef21d7547982a2b118c9fc649
XSIZE (sqlite-autoconf-3071200.tar.gz) = 1827241
da832dbb61c43ef0eeb01c4865da0b23
echo x - tcl-sqlite3/Makefile
sed 's/^X//' >tcl-sqlite3/Makefile << '2e7cdc72fd3e19790d71b0cc89586712'
X# New ports collection makefile for: sqlite3-tea
X# Date created: 2011-03-23
X# Whom: Baptiste Daroussin <bapt at FreeBSD.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= sqlite3
XPORTVERSION= 3.7.12
XCATEGORIES= databases tcl
XMASTER_SITES= http://www.sqlite.org/ http://www2.sqlite.org/
XPKGNAMEPREFIX= tcl-
XDISTNAME= sqlite-autoconf-3071200
X
XMAINTAINER= pavelivolkov at googlemail.com
XCOMMENT= SQLite extension for Tcl using the Tcl Extension Architecture (TEA)
X
XLICENSE= public
XLICENSE_NAME= Public Domain
XLICENSE_TEXT= Description of the license can be obtained from the following URL: http://www.sqlite.org/copyright.html
XLICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
X
XLIB_DEPENDS= sqlite3:${PORTSDIR}/databases/sqlite3
X
XWRKSRC= ${WRKDIR}/${DISTNAME}/tea
X
XUSE_LDCONFIG= yes
XGNU_CONFIGURE= yes
XUSE_TCL= yes
X
XCFLAGS+= `pkg-config --cflags --libs sqlite3`
XCONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} --with-system-sqlite
X
XPLIST_DIRS+= lib/sqlite3
XPLIST_FILES+= lib/sqlite3/libsqlite.so.1 lib/sqlite3/pkgIndex.tcl
XPORTEXAMPLES= *
X
XSUB_FILES= example.tcl
XSUB_LIST= "TCLSH=${TCLSH}"
X
XMANN= sqlite3.n
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X @${REINPLACE_CMD} 's,\(^PKG_DIR.*\)$$(PACKAGE_VERSION),\13,g' ${WRKSRC}/Makefile.in
X
Xpost-install:
X.if !defined(NOPORTEXAMPLES)
X @${MKDIR} ${EXAMPLESDIR}
X @${INSTALL_SCRIPT} ${WRKDIR}/${SUB_FILES} ${EXAMPLESDIR}
X.endif
X
X.include <bsd.port.post.mk>
2e7cdc72fd3e19790d71b0cc89586712
echo x - tcl-sqlite3/pkg-descr
sed 's/^X//' >tcl-sqlite3/pkg-descr << 'ea7a4e32c0b07f81b65116c6aa372ebd'
XThis is the SQLite extension for Tcl using the Tcl Extension
XArchitecture (TEA).
X
XWWW: http://www.sqlite.org
ea7a4e32c0b07f81b65116c6aa372ebd
exit
--- .shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list