diff options
Diffstat (limited to 'databases/sqlite34')
-rw-r--r-- | databases/sqlite34/Makefile | 95 | ||||
-rw-r--r-- | databases/sqlite34/distinfo | 2 | ||||
-rw-r--r-- | databases/sqlite34/files/example.tcl | 14 | ||||
-rw-r--r-- | databases/sqlite34/files/patch-Makefile.in | 22 | ||||
-rw-r--r-- | databases/sqlite34/files/pkgIndex.tcl | 1 | ||||
-rw-r--r-- | databases/sqlite34/pkg-descr | 7 | ||||
-rw-r--r-- | databases/sqlite34/pkg-plist | 14 |
7 files changed, 0 insertions, 155 deletions
diff --git a/databases/sqlite34/Makefile b/databases/sqlite34/Makefile deleted file mode 100644 index e59f246dc28b..000000000000 --- a/databases/sqlite34/Makefile +++ /dev/null @@ -1,95 +0,0 @@ -# ex:ts=8 -# New ports collection makefile for: sqlite -# Date created: Feb 21, 2001 -# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org> -# -# $FreeBSD$ -# - -# By default, this port depends on TCL for building docs. If you want to build -# without TCL (and thus get no docs), define NOPORTDOCS. -# If you want to build the TCL wrapper, you have to define SQLITE_WITH_TCL84. - -PORTNAME= sqlite -PORTVERSION= 3.2.2 -CATEGORIES= databases -MASTER_SITES= http://www.sqlite.org/ - -MAINTAINER= green@FreeBSD.org -COMMENT= An SQL database engine in a C library w/ Tcl wrapper (beta) - -USE_GMAKE= YES -USE_GNOME= pkgconfig -USE_LIBTOOL_VER= 15 -HAS_CONFIGURE= YES -USE_REINPLACE= YES -INSTALLS_SHLIB= YES - -DOCSDIR= ${PREFIX}/share/doc/sqlite3 -EXAMPLESDIR= ${PREFIX}/share/examples/sqlite3 -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}3 - -# Defaults, for building the docs: -TCL_V?= 8.4 - -OPTIONS= TCL84 "TCL wrapper for SQLITE" off - -.include <bsd.port.pre.mk> - -.if defined(WITH_TCL84) -CATEGORIES+= lang -WITH_TCL= YES -.endif - -.if defined(WITH_TCL) -ALL_TARGET+= libtclsqlite.la -PLIST_SUB+= WITH_TCL="" -CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl${TCL_V} -.else -PLIST_SUB+= WITH_TCL="@comment " -CONFIGURE_ARGS= --disable-tcl -.endif - -.if !defined(NOPORTDOCS) -BUILD_DEPENDS+= tclsh${TCL_V}:${PORTSDIR}/lang/tcl${TCL_V:S/.//} -MAKE_ARGS+= TCLSH=tclsh${TCL_V} -MAKE_ENV+= TCL_VER=${TCL_V} -.endif - -CONFIGURE_ARGS+= --prefix=${PREFIX} --with-hints=freebsd.hints -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -ALL_TARGET= all - -.if !defined(NOPORTDOCS) -PORTDOCS= * -.endif - -post-patch: - @${REINPLACE_CMD} -e "s/tclsh \$$(TOP)/\$$(TCLSH) \$$(TOP)/g" \ - -e "s|\./libtool|${LIBTOOL}|g" ${WRKSRC}/Makefile.in - @${ECHO} "config_TARGET_TCL_INC=\"-I${PREFIX}/include/tcl${TCL_V}\"" >${WRKSRC}/freebsd.hints - @${ECHO} "config_TARGET_TCL_LIBS=\"-L${PREFIX}/lib -ltcl${TCL_V:S/.//}\"" >>${WRKSRC}/freebsd.hints -# @${ECHO} "config_TARGET_CFLAGS=\"-DTHREADSAFE=1 -pthread\"" >>${WRKSRC}/freebsd.hints - -post-build: - # Build the docs -.if !defined(NOPORTDOCS) - @(cd ${WRKSRC} && ${GMAKE} ${MAKE_ARGS} doc) -.endif - -post-install: -.if defined(WITH_TCL) - @${MKDIR} ${PREFIX}/lib/sqlite - @(cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_DATA} \ - libtclsqlite3.la ${PREFIX}/lib/sqlite/) - @${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/sqlite/ - @${INSTALL_PROGRAM} ${WRKSRC}/.libs/tclsqlite3 ${PREFIX}/bin -.endif -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${FILESDIR}/example.tcl ${EXAMPLESDIR} -.endif - -.include <bsd.port.post.mk> diff --git a/databases/sqlite34/distinfo b/databases/sqlite34/distinfo deleted file mode 100644 index 4762b1304b3b..000000000000 --- a/databases/sqlite34/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (sqlite-3.2.2.tar.gz) = 802f19e1f0eba56f3f1be8c6491c8a55 -SIZE (sqlite-3.2.2.tar.gz) = 1385618 diff --git a/databases/sqlite34/files/example.tcl b/databases/sqlite34/files/example.tcl deleted file mode 100644 index 765c3f9ba715..000000000000 --- a/databases/sqlite34/files/example.tcl +++ /dev/null @@ -1,14 +0,0 @@ -package require sqlite - -if {$argc!=2} { - puts stderr "Usage: %s DATABASE SQL-STATEMENT" - exit 1 -} -sqlite db [lindex $argv 0] -db eval [lindex $argv 1] x { - foreach v $x(*) { - puts "$v = $x($v)" - } - puts "" -} -db close diff --git a/databases/sqlite34/files/patch-Makefile.in b/databases/sqlite34/files/patch-Makefile.in deleted file mode 100644 index b66fd8181372..000000000000 --- a/databases/sqlite34/files/patch-Makefile.in +++ /dev/null @@ -1,22 +0,0 @@ ---- Makefile.in.orig Fri Mar 11 14:50:32 2005 -+++ Makefile.in Sat Mar 19 16:06:28 2005 -@@ -212,7 +212,7 @@ - # This is the default Makefile target. The objects listed here - # are what get build when you type just "make" with no arguments. - # --all: sqlite3.h libsqlite3.la sqlite3$(TEXE) $(HAVE_TCL:1=libtclsqlite3.la) -+all: sqlite3.h libsqlite3.la sqlite3$(TEXE) $(HAVE_TCL:1=libtclsqlite3.la tclsqlite3) - - Makefile: $(TOP)/Makefile.in - ./config.status -@@ -611,8 +611,8 @@ - $(LTINSTALL) sqlite3 $(DESTDIR)$(exec_prefix)/bin - $(INSTALL) -d $(DESTDIR)$(prefix)/include - $(INSTALL) -m 0644 sqlite3.h $(DESTDIR)$(prefix)/include -- $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig; -- $(INSTALL) -m 0644 sqlite3.pc $(DESTDIR)$(libdir)/pkgconfig; -+ $(INSTALL) -d $(DESTDIR)$(exec_prefix)/libdata/pkgconfig; -+ $(INSTALL) -m 0644 sqlite3.pc $(DESTDIR)$(exec_prefix)/libdata/pkgconfig; - - tcl_install: libtclsqlite3.la - tclsh $(TOP)/tclinstaller.tcl $(VERSION) diff --git a/databases/sqlite34/files/pkgIndex.tcl b/databases/sqlite34/files/pkgIndex.tcl deleted file mode 100644 index d8b6bbc30048..000000000000 --- a/databases/sqlite34/files/pkgIndex.tcl +++ /dev/null @@ -1 +0,0 @@ -package ifneeded sqlite 0.0 [list load [file join $dir libtclsqlite3.so] sqlite] diff --git a/databases/sqlite34/pkg-descr b/databases/sqlite34/pkg-descr deleted file mode 100644 index 3cdcbd6b2daf..000000000000 --- a/databases/sqlite34/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -SQLite is an SQL database engine in a C library. Programs that link 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. - -WWW: http://www.sqlite.org/ diff --git a/databases/sqlite34/pkg-plist b/databases/sqlite34/pkg-plist deleted file mode 100644 index d16c8c4a4508..000000000000 --- a/databases/sqlite34/pkg-plist +++ /dev/null @@ -1,14 +0,0 @@ -bin/sqlite3 -%%WITH_TCL%%bin/tclsqlite3 -include/sqlite3.h -lib/libsqlite3.a -lib/libsqlite3.so -lib/libsqlite3.so.8 -libdata/pkgconfig/sqlite3.pc -%%WITH_TCL%%lib/sqlite/libtclsqlite3.so.8 -%%WITH_TCL%%lib/sqlite/libtclsqlite3.so -%%WITH_TCL%%lib/sqlite/libtclsqlite3.a -%%WITH_TCL%%lib/sqlite/pkgIndex.tcl -%%WITH_TCL%%@dirrm lib/sqlite -%%PORTDOCS%%%%EXAMPLESDIR%%/example.tcl -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% |