1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Initial import of dbview version 1.0.3.

A program for viewing dBase III files.

PR:		11603
Submitted by:	Andrey Zakhvatov <andy@icc.surw.chel.su>
This commit is contained in:
Steve Price 1999-06-06 16:59:26 +00:00
parent f8c6ebf7e7
commit 68ae0701fd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=19251
6 changed files with 102 additions and 0 deletions

32
databases/dbview/Makefile Normal file
View File

@ -0,0 +1,32 @@
# New ports collection makefile for: dbview
# Version required: 1.0.3
# Date created: 7 May 1999
# Whom: Andrey Zakhvatov
#
# $Id$
#
DISTNAME= dbview-1.0.3
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
ftp://ftp.infodrom.north.de/pub/Linux/Devel/dbview/
MASTER_SITE_SUBDIR= apps/database/proprietary
MAINTAINER= andy@icc.surw.chel.su
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
MAN1= dbview.1
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/dbview ${PREFIX}/bin
@ ${INSTALL_MAN} ${WRKSRC}/dbview.1 ${PREFIX}/man/man1
post-install:
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/dbview
@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dbview
@ ${INSTALL_DATA} ${WRKSRC}/dBASE ${PREFIX}/share/doc/dbview
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (dbview-1.0.3.tar.gz) = 75521f1f3eb461e27481a6098b5da777

View File

@ -0,0 +1,57 @@
--- Makefile Fri Sep 27 00:05:30 1996
+++ /home/andy/tmp/wrk/Makefile Fri May 7 09:48:58 1999
@@ -18,8 +18,8 @@
MAN=man
-CC= gcc
-CFLAGS= -O6 -fomit-frame-pointer -Wall -pipe
+#CC= gcc
+#CFLAGS= -O6 -fomit-frame-pointer -Wall -pipe
# CFLAGS= -g -fomit-frame-pointer -Wall -pipe
# Look where your install program is
@@ -32,15 +32,15 @@
obj = db_dump.o dbview.o version.o
.c.o:
- $(CC) ${CFLAGS} -c $*.c
+ $(CC) ${CFLAGS} -I$(LOCALBASE)/include -c $*.c
all: dbview
dbview: $(obj)
- $(CC) $(CFLAGS) -o dbview $(obj)
+ $(CC) $(CFLAGS) -o dbview $(obj) -L$(LOCALBASE)/lib -lgnugetopt
depend:
- makedepend *.c
+ makedepend -I$(LOCALBASE)/include *.c
install: all
$(INSTALL) -d -o root -g root -m 755 $(bindir)
@@ -56,13 +56,14 @@
# DO NOT DELETE
-db_dump.o: db_dump.h /usr/include/fcntl.h /usr/include/features.h
-db_dump.o: /usr/include/sys/cdefs.h /usr/include/sys/types.h
-db_dump.o: /usr/include/linux/types.h /usr/include/asm/types.h
-db_dump.o: /usr/include/gnu/types.h /usr/include/linux/fcntl.h
-db_dump.o: /usr/include/sys/stat.h /usr/include/linux/stat.h
-db_dump.o: /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h
-db_dump.o: /usr/include/unistd.h /usr/include/posix_opt.h
-db_dump.o: /usr/include/confname.h /usr/include/malloc.h
-dbview.o: version.h db_dump.h /usr/include/stdio.h /usr/include/libio.h
-dbview.o: /usr/include/_G_config.h /usr/include/getopt.h
+db_dump.o: db_dump.h /usr/include/fcntl.h /usr/include/sys/types.h
+db_dump.o: /usr/include/sys/cdefs.h /usr/include/sys/inttypes.h
+db_dump.o: /usr/include/machine/ansi.h /usr/include/machine/types.h
+db_dump.o: /usr/include/machine/endian.h /usr/include/sys/stat.h
+db_dump.o: /usr/include/sys/time.h /usr/include/time.h
+db_dump.o: /usr/include/sys/_posix.h /usr/include/stdio.h
+db_dump.o: /usr/include/unistd.h /usr/include/sys/unistd.h
+db_dump.o: /usr/include/malloc.h /usr/include/stdlib.h /usr/include/ctype.h
+db_dump.o: /usr/include/runetype.h /usr/include/string.h
+dbview.o: version.h db_dump.h /usr/include/stdio.h /usr/include/sys/cdefs.h
+dbview.o: /usr/include/machine/ansi.h /usr/local/include/getopt.h

View File

@ -0,0 +1 @@
View dBase III files

View File

@ -0,0 +1,7 @@
A little tool that will display dBase III files. You can also use
it to convert your old .dbf files for further use with Unix. It should
also work with dBase IV files, but this is mostly untested.
dbview displays the contents of a dBase III or IV database file. This is
done by displaying both the name of the field itself and its value. At
the end of every record a newline is appended.

View File

@ -0,0 +1,4 @@
bin/dbview
share/doc/dbview/README
share/doc/dbview/dBASE
@dirrm share/doc/dbview