Bug 11603 - New port: dbview-1.0.3
Summary: New port: dbview-1.0.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-05-09 12:50 UTC by Andrey Zakhvatov
Modified: 1999-06-06 17:58 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Zakhvatov 1999-05-09 12:50:00 UTC
   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 <bsd.port.mk>
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

Fix: 

Please, check and commit this port.
Comment 1 Steve Price freebsd_committer freebsd_triage 1999-06-06 17:57:34 UTC
State Changed
From-To: open->closed

New port committed, thanks!