aboutsummaryrefslogtreecommitdiff
path: root/databases/sqlite34
diff options
context:
space:
mode:
Diffstat (limited to 'databases/sqlite34')
-rw-r--r--databases/sqlite34/Makefile99
-rw-r--r--databases/sqlite34/distinfo3
-rw-r--r--databases/sqlite34/files/example.tcl14
-rw-r--r--databases/sqlite34/files/patch-Makefile.in22
-rw-r--r--databases/sqlite34/files/pkgIndex.tcl1
-rw-r--r--databases/sqlite34/pkg-descr7
-rw-r--r--databases/sqlite34/pkg-plist16
7 files changed, 0 insertions, 162 deletions
diff --git a/databases/sqlite34/Makefile b/databases/sqlite34/Makefile
deleted file mode 100644
index 8bbb829c6863..000000000000
--- a/databases/sqlite34/Makefile
+++ /dev/null
@@ -1,99 +0,0 @@
-# ex:ts=8
-# New ports collection makefile for: sqlite
-# Date created: Feb 21, 2001
-# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= sqlite
-PORTVERSION= 3.3.4
-PORTREVISION= 1
-CATEGORIES= databases
-MASTER_SITES= http://www.sqlite.org/
-
-MAINTAINER= mnag@FreeBSD.org
-COMMENT= An SQL database engine in a C library w/ Tcl wrapper
-
-USE_GMAKE= YES
-USE_GNOME= pkgconfig
-USE_AUTOTOOLS= libtool:15
-INSTALLS_SHLIB= YES
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS= --prefix=${PREFIX} --with-hints=freebsd.hints
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
-LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}3
-
-DOCSDIR= ${PREFIX}/share/doc/sqlite3
-EXAMPLESDIR= ${PREFIX}/share/examples/sqlite3
-
-OPTIONS= TCLWRAPPER "TCL wrapper for SQLITE" off \
- THREADS "Enable threads support" off \
- DEBUG "Enable debugging & verbose explain" off \
- DOCS "Building docs (depends on TCL)" on
-
-# Defaults, for building the docs:
-TCL_V?= 8.4
-MAKE_ARGS+= TCLSH=tclsh${TCL_V}
-MAKE_ENV+= TCL_VER=${TCL_V}
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_TCLWRAPPER)
-CATEGORIES+= lang tcl${TCL_V:S/.//}
-LIB_DEPENDS+= tcl${TCL_V:S/.//}:${PORTSDIR}/lang/tcl${TCL_V:S/.//}
-CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl${TCL_V}
-PLIST_SUB+= WITH_TCLWRAPPER=""
-.else
-CONFIGURE_ARGS+= --disable-tcl
-PLIST_SUB+= WITH_TCLWRAPPER="@comment "
-.endif
-
-.if defined(WITH_THREADS)
-CONFIGURE_ARGS+= --enable-threadsafe
-.endif
-
-.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-debug
-.endif
-
-.if !defined(NOPORTDOCS) && !defined(WITHOUT_DOCS)
-BUILD_DEPENDS+= tclsh${TCL_V}:${PORTSDIR}/lang/tcl${TCL_V:S/.//}
-PORTDOCS= *
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
- ${WRKSRC}/configure
- @${REINPLACE_CMD} -e "s|tclsh \$$(TOP)|\$$(TCLSH) \$$(TOP)|g" \
- -e "s|./libtool|${LIBTOOL}|g" \
- -e "s|\$${HAVE_TCL:1=tcl_install}||" \
- ${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
-
-post-build:
-.if !defined(NOPORTDOCS) && !defined(WITHOUT_DOCS)
- @${ECHO_MSG} "===> Building docs"
- @(cd ${WRKSRC} && ${GMAKE} ${MAKE_ARGS} doc)
-.endif
-
-post-install:
-.if defined(WITH_TCLWRAPPER)
- @${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) && !defined(WITHOUT_DOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
-.endif
- @${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${FILESDIR}/example.tcl ${EXAMPLESDIR}
-
-.include <bsd.port.post.mk>
diff --git a/databases/sqlite34/distinfo b/databases/sqlite34/distinfo
deleted file mode 100644
index 51919e474435..000000000000
--- a/databases/sqlite34/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (sqlite-3.3.4.tar.gz) = e31b390c294c0ea093f0bed3353fdff2
-SHA256 (sqlite-3.3.4.tar.gz) = e61f85a18443cad333257f8d8fd4c211a4c4ffd9bf66b36c4050fa7207f8898a
-SIZE (sqlite-3.3.4.tar.gz) = 1644139
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 54f6affb0162..000000000000
--- a/databases/sqlite34/pkg-plist
+++ /dev/null
@@ -1,16 +0,0 @@
-bin/sqlite3
-%%WITH_TCLWRAPPER%%bin/tclsqlite3
-include/sqlite3.h
-lib/libsqlite3.a
-lib/libsqlite3.la
-lib/libsqlite3.so
-lib/libsqlite3.so.8
-libdata/pkgconfig/sqlite3.pc
-%%WITH_TCLWRAPPER%%lib/sqlite/libtclsqlite3.a
-%%WITH_TCLWRAPPER%%lib/sqlite/libtclsqlite3.la
-%%WITH_TCLWRAPPER%%lib/sqlite/libtclsqlite3.so
-%%WITH_TCLWRAPPER%%lib/sqlite/libtclsqlite3.so.8
-%%WITH_TCLWRAPPER%%lib/sqlite/pkgIndex.tcl
-%%WITH_TCLWRAPPER%%@dirrm lib/sqlite
-%%EXAMPLESDIR%%/example.tcl
-@dirrm %%EXAMPLESDIR%%