1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Fixup from previous commit

Bump PORTREVISION

Submitted by:	maintainer
This commit is contained in:
David W. Chapman Jr. 2002-09-02 13:21:36 +00:00
parent f6c4aeccb3
commit 7bb30f60b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65494
8 changed files with 116 additions and 18 deletions

View File

@ -8,6 +8,7 @@
PORTNAME= sqlite
PORTVERSION= 2.7.1
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.hwaci.com/sw/sqlite/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@ -45,10 +46,10 @@ post-build:
cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS} doc
post-install:
${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/
${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/sqlite/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
# @${INSTALL_DATA} ${FILESDIR}/example.tcl ${DOCSDIR}
@${INSTALL_DATA} ${FILESDIR}/example.tcl ${DOCSDIR}
.for file in ${DOCFILES}
@${INSTALL_DATA} ${WRKSRC}/doc//${file} ${DOCSDIR}
.endfor

View File

@ -0,0 +1,14 @@
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

View File

@ -0,0 +1,34 @@
diff -r -C 3 ../sqlite.orig/Makefile.in ./Makefile.in
*** ../sqlite.orig/Makefile.in Sat Aug 31 18:29:58 2002
--- ./Makefile.in Mon Sep 2 00:51:27 2002
***************
*** 310,322 ****
mkdir -p doc
mv $(DOC) doc
! install: sqlite libsqlite.la sqlite.h
$(INSTALL) -d $(exec_prefix)/lib
$(LIBTOOL) $(INSTALL) libsqlite.la $(exec_prefix)/lib
$(INSTALL) -d $(exec_prefix)/bin
$(LIBTOOL) $(INSTALL) sqlite $(exec_prefix)/bin
$(INSTALL) -d $(prefix)/include
$(INSTALL) -m 0644 sqlite.h $(prefix)/include
clean:
rm -f *.lo *.la *.o sqlite libsqlite.la sqlite.h
--- 310,324 ----
mkdir -p doc
mv $(DOC) doc
! install: sqlite libsqlite.la sqlite.h libtclsqlite.la
$(INSTALL) -d $(exec_prefix)/lib
$(LIBTOOL) $(INSTALL) libsqlite.la $(exec_prefix)/lib
$(INSTALL) -d $(exec_prefix)/bin
$(LIBTOOL) $(INSTALL) sqlite $(exec_prefix)/bin
$(INSTALL) -d $(prefix)/include
$(INSTALL) -m 0644 sqlite.h $(prefix)/include
+ mkdir -p $(prefix)/lib/sqlite
+ $(LIBTOOL) $(INSTALL) libtclsqlite.la $(prefix)/lib/sqlite
clean:
rm -f *.lo *.la *.o sqlite libsqlite.la sqlite.h

View File

@ -4,12 +4,12 @@ lib/libsqlite.a
lib/libsqlite.la
lib/libsqlite.so
lib/libsqlite.so.0
@comment lib/sqlite/libtclsqlite.so.0
@comment lib/sqlite/libtclsqlite.so
@comment lib/sqlite/libtclsqlite.la
@comment lib/sqlite/libtclsqlite.a
@comment lib/sqlite/pkgIndex.tcl
@comment @dirrm lib/sqlite
lib/sqlite/libtclsqlite.so.0
lib/sqlite/libtclsqlite.so
lib/sqlite/libtclsqlite.la
lib/sqlite/libtclsqlite.a
lib/sqlite/pkgIndex.tcl
@dirrm lib/sqlite
%%PORTDOCS%%share/doc/sqlite/arch.html
%%PORTDOCS%%share/doc/sqlite/arch.png
%%PORTDOCS%%share/doc/sqlite/c_interface.html
@ -27,5 +27,5 @@ lib/libsqlite.so.0
%%PORTDOCS%%share/doc/sqlite/sqlite.html
%%PORTDOCS%%share/doc/sqlite/tclsqlite.html
%%PORTDOCS%%share/doc/sqlite/vdbe.html
@comment %%PORTDOCS%%share/doc/sqlite/example.tcl
%%PORTDOCS%%share/doc/sqlite/example.tcl
%%PORTDOCS%%@dirrm share/doc/sqlite

View File

@ -8,6 +8,7 @@
PORTNAME= sqlite
PORTVERSION= 2.7.1
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.hwaci.com/sw/sqlite/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@ -45,10 +46,10 @@ post-build:
cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS} doc
post-install:
${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/
${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/sqlite/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
# @${INSTALL_DATA} ${FILESDIR}/example.tcl ${DOCSDIR}
@${INSTALL_DATA} ${FILESDIR}/example.tcl ${DOCSDIR}
.for file in ${DOCFILES}
@${INSTALL_DATA} ${WRKSRC}/doc//${file} ${DOCSDIR}
.endfor

View File

@ -0,0 +1,14 @@
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

View File

@ -0,0 +1,34 @@
diff -r -C 3 ../sqlite.orig/Makefile.in ./Makefile.in
*** ../sqlite.orig/Makefile.in Sat Aug 31 18:29:58 2002
--- ./Makefile.in Mon Sep 2 00:51:27 2002
***************
*** 310,322 ****
mkdir -p doc
mv $(DOC) doc
! install: sqlite libsqlite.la sqlite.h
$(INSTALL) -d $(exec_prefix)/lib
$(LIBTOOL) $(INSTALL) libsqlite.la $(exec_prefix)/lib
$(INSTALL) -d $(exec_prefix)/bin
$(LIBTOOL) $(INSTALL) sqlite $(exec_prefix)/bin
$(INSTALL) -d $(prefix)/include
$(INSTALL) -m 0644 sqlite.h $(prefix)/include
clean:
rm -f *.lo *.la *.o sqlite libsqlite.la sqlite.h
--- 310,324 ----
mkdir -p doc
mv $(DOC) doc
! install: sqlite libsqlite.la sqlite.h libtclsqlite.la
$(INSTALL) -d $(exec_prefix)/lib
$(LIBTOOL) $(INSTALL) libsqlite.la $(exec_prefix)/lib
$(INSTALL) -d $(exec_prefix)/bin
$(LIBTOOL) $(INSTALL) sqlite $(exec_prefix)/bin
$(INSTALL) -d $(prefix)/include
$(INSTALL) -m 0644 sqlite.h $(prefix)/include
+ mkdir -p $(prefix)/lib/sqlite
+ $(LIBTOOL) $(INSTALL) libtclsqlite.la $(prefix)/lib/sqlite
clean:
rm -f *.lo *.la *.o sqlite libsqlite.la sqlite.h

View File

@ -4,12 +4,12 @@ lib/libsqlite.a
lib/libsqlite.la
lib/libsqlite.so
lib/libsqlite.so.0
@comment lib/sqlite/libtclsqlite.so.0
@comment lib/sqlite/libtclsqlite.so
@comment lib/sqlite/libtclsqlite.la
@comment lib/sqlite/libtclsqlite.a
@comment lib/sqlite/pkgIndex.tcl
@comment @dirrm lib/sqlite
lib/sqlite/libtclsqlite.so.0
lib/sqlite/libtclsqlite.so
lib/sqlite/libtclsqlite.la
lib/sqlite/libtclsqlite.a
lib/sqlite/pkgIndex.tcl
@dirrm lib/sqlite
%%PORTDOCS%%share/doc/sqlite/arch.html
%%PORTDOCS%%share/doc/sqlite/arch.png
%%PORTDOCS%%share/doc/sqlite/c_interface.html
@ -27,5 +27,5 @@ lib/libsqlite.so.0
%%PORTDOCS%%share/doc/sqlite/sqlite.html
%%PORTDOCS%%share/doc/sqlite/tclsqlite.html
%%PORTDOCS%%share/doc/sqlite/vdbe.html
@comment %%PORTDOCS%%share/doc/sqlite/example.tcl
%%PORTDOCS%%share/doc/sqlite/example.tcl
%%PORTDOCS%%@dirrm share/doc/sqlite