From owner-freebsd-ports Sun May 9 4:50: 4 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8682D14EC8 for ; Sun, 9 May 1999 04:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA25350; Sun, 9 May 1999 04:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from icc.surw.chel.su (surw.chel.su [195.54.2.162]) by hub.freebsd.org (Postfix) with ESMTP id DB14B14C3B for ; Sun, 9 May 1999 04:47:24 -0700 (PDT) (envelope-from andy@icc.surw.chel.su) Received: (from andy@localhost) by icc.surw.chel.su (8.9.2/8.8.8) id PAA33385; Sun, 9 May 1999 15:47:23 +0400 (MSD) (envelope-from andy) Message-Id: <199905091147.PAA33385@icc.surw.chel.su> Date: Sun, 9 May 1999 15:47:23 +0400 (MSD) From: Andrey Zakhvatov Reply-To: andy@icc.surw.chel.su To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/11603: New port: dbview-1.0.3 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11603 >Category: ports >Synopsis: New port: dbview-1.0.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 9 04:50:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Andrey Zakhvatov >Release: FreeBSD 3.1-RELEASE i386 >Organization: South Ural Railway ICC >Environment: >Description: This is a port of dbview-1.0.3, 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 be done by displaying both the name of the field itself and its value. At the end of every record a newline is appended. # 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: # # dbview-1.0.3 # dbview-1.0.3/Makefile # dbview-1.0.3/files # dbview-1.0.3/files/md5 # dbview-1.0.3/patches # dbview-1.0.3/patches/patch-aa # dbview-1.0.3/pkg # dbview-1.0.3/pkg/PLIST # dbview-1.0.3/pkg/DESCR # dbview-1.0.3/pkg/COMMENT # echo c - dbview-1.0.3 mkdir -p dbview-1.0.3 > /dev/null 2>&1 echo x - dbview-1.0.3/Makefile sed 's/^X//' >dbview-1.0.3/Makefile << 'END-of-dbview-1.0.3/Makefile' X# New ports collection makefile for: dbview X# Version required: 1.0.3 X# Date created: 7 May 1999 X# Whom: Andrey Zakhvatov X# X# $Id$ X# X XDISTNAME= dbview-1.0.3 XCATEGORIES= databases XMASTER_SITES= ${MASTER_SITE_SUNSITE} \ X ftp://ftp.infodrom.north.de/pub/Linux/Devel/dbview/ XMASTER_SITE_SUBDIR= apps/database/proprietary X XMAINTAINER= andy@icc.surw.chel.su X XLIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt X XMAN1= dbview.1 X Xdo-install: X @ ${INSTALL_PROGRAM} ${WRKSRC}/dbview ${PREFIX}/bin X @ ${INSTALL_MAN} ${WRKSRC}/dbview.1 ${PREFIX}/man/man1 X Xpost-install: X.if !defined(NOPORTDOCS) X @ ${MKDIR} ${PREFIX}/share/doc/dbview X @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dbview X @ ${INSTALL_DATA} ${WRKSRC}/dBASE ${PREFIX}/share/doc/dbview X.endif X X.include END-of-dbview-1.0.3/Makefile echo c - dbview-1.0.3/files mkdir -p dbview-1.0.3/files > /dev/null 2>&1 echo x - dbview-1.0.3/files/md5 sed 's/^X//' >dbview-1.0.3/files/md5 << 'END-of-dbview-1.0.3/files/md5' XMD5 (dbview-1.0.3.tar.gz) = 75521f1f3eb461e27481a6098b5da777 END-of-dbview-1.0.3/files/md5 echo c - dbview-1.0.3/patches mkdir -p dbview-1.0.3/patches > /dev/null 2>&1 echo x - dbview-1.0.3/patches/patch-aa sed 's/^X//' >dbview-1.0.3/patches/patch-aa << 'END-of-dbview-1.0.3/patches/patch-aa' X--- Makefile Fri Sep 27 00:05:30 1996 X+++ /home/andy/tmp/wrk/Makefile Fri May 7 09:48:58 1999 X@@ -18,8 +18,8 @@ X X MAN=man X X-CC= gcc X-CFLAGS= -O6 -fomit-frame-pointer -Wall -pipe X+#CC= gcc X+#CFLAGS= -O6 -fomit-frame-pointer -Wall -pipe X # CFLAGS= -g -fomit-frame-pointer -Wall -pipe X X # Look where your install program is X@@ -32,15 +32,15 @@ X obj = db_dump.o dbview.o version.o X X .c.o: X- $(CC) ${CFLAGS} -c $*.c X+ $(CC) ${CFLAGS} -I$(LOCALBASE)/include -c $*.c X X all: dbview X X dbview: $(obj) X- $(CC) $(CFLAGS) -o dbview $(obj) X+ $(CC) $(CFLAGS) -o dbview $(obj) -L$(LOCALBASE)/lib -lgnugetopt X X depend: X- makedepend *.c X+ makedepend -I$(LOCALBASE)/include *.c X X install: all X $(INSTALL) -d -o root -g root -m 755 $(bindir) X@@ -56,13 +56,14 @@ X X # DO NOT DELETE X X-db_dump.o: db_dump.h /usr/include/fcntl.h /usr/include/features.h X-db_dump.o: /usr/include/sys/cdefs.h /usr/include/sys/types.h X-db_dump.o: /usr/include/linux/types.h /usr/include/asm/types.h X-db_dump.o: /usr/include/gnu/types.h /usr/include/linux/fcntl.h X-db_dump.o: /usr/include/sys/stat.h /usr/include/linux/stat.h X-db_dump.o: /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h X-db_dump.o: /usr/include/unistd.h /usr/include/posix_opt.h X-db_dump.o: /usr/include/confname.h /usr/include/malloc.h X-dbview.o: version.h db_dump.h /usr/include/stdio.h /usr/include/libio.h X-dbview.o: /usr/include/_G_config.h /usr/include/getopt.h X+db_dump.o: db_dump.h /usr/include/fcntl.h /usr/include/sys/types.h X+db_dump.o: /usr/include/sys/cdefs.h /usr/include/sys/inttypes.h X+db_dump.o: /usr/include/machine/ansi.h /usr/include/machine/types.h X+db_dump.o: /usr/include/machine/endian.h /usr/include/sys/stat.h X+db_dump.o: /usr/include/sys/time.h /usr/include/time.h X+db_dump.o: /usr/include/sys/_posix.h /usr/include/stdio.h X+db_dump.o: /usr/include/unistd.h /usr/include/sys/unistd.h X+db_dump.o: /usr/include/malloc.h /usr/include/stdlib.h /usr/include/ctype.h X+db_dump.o: /usr/include/runetype.h /usr/include/string.h X+dbview.o: version.h db_dump.h /usr/include/stdio.h /usr/include/sys/cdefs.h X+dbview.o: /usr/include/machine/ansi.h /usr/local/include/getopt.h END-of-dbview-1.0.3/patches/patch-aa echo c - dbview-1.0.3/pkg mkdir -p dbview-1.0.3/pkg > /dev/null 2>&1 echo x - dbview-1.0.3/pkg/PLIST sed 's/^X//' >dbview-1.0.3/pkg/PLIST << 'END-of-dbview-1.0.3/pkg/PLIST' Xbin/dbview Xshare/doc/dbview/README Xshare/doc/dbview/dBASE X@dirrm share/doc/dbview END-of-dbview-1.0.3/pkg/PLIST echo x - dbview-1.0.3/pkg/DESCR sed 's/^X//' >dbview-1.0.3/pkg/DESCR << 'END-of-dbview-1.0.3/pkg/DESCR' Xlittle tool that will display dBase III files. You can also use Xit to convert your old .dbf files for further use with Unix. It should Xalso work with dBase IV files, but this is mostly untested. X Xdbview displays the contents of a dBase III or IV database file. This is be Xdone by displaying both the name of the field itself and its value. At Xthe end of every record a newline is appended. END-of-dbview-1.0.3/pkg/DESCR echo x - dbview-1.0.3/pkg/COMMENT sed 's/^X//' >dbview-1.0.3/pkg/COMMENT << 'END-of-dbview-1.0.3/pkg/COMMENT' Xview dBase III files END-of-dbview-1.0.3/pkg/COMMENT exit >How-To-Repeat: >Fix: Please, check and commit this port. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message