Add David Black's DataBase Definer, a tool for reading and writing

simple flat-text data files.
This commit is contained in:
Brooks Davis 2004-12-08 22:39:12 +00:00
parent 898bfc7019
commit a0c603d808
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123498
4 changed files with 62 additions and 0 deletions

View File

@ -308,6 +308,7 @@
SUBDIR += ruby-dbd_proxy
SUBDIR += ruby-dbd_sqlite
SUBDIR += ruby-dbd_sqlrelay
SUBDIR += ruby-dbdbd
SUBDIR += ruby-dbi
SUBDIR += ruby-gdbm
SUBDIR += ruby-interbase

View File

@ -0,0 +1,51 @@
# New ports collection makefile for: ruby-dbdbd
# Date created: 08 December 2004
# Whom: Brooks Davis <brooks@aero.org>
#
# $FreeBSD$
#
PORTNAME= dbdbd
PORTVERSION= 0.2.2
CATEGORIES= databases ruby
MASTER_SITES= http://knossos.shu.edu/dblack/dbdbd/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
EXTRACT_SUFX= .tgz
MAINTAINER= brooks@FreeBSD.org
COMMENT= David Black's DataBase Definer
NO_PACKAGE= License only allows unchanged distributions
USE_RUBY= yes
NO_BUILD= yes
# DOCS
DOCS= ChangeLog doc/README doc/README.html
# EXAMPLES relative to samples subdir
EXAMPLES= movies.rb movies.txt phonebook.rb phonebook.txt
PLIST_FILES= %%RUBY_SITELIBDIR%%/dbdbd.rb \
${EXAMPLES:C;^;%%RUBY_MODEXAMPLESDIR%%/;}
PLIST_DIRS= %%RUBY_MODEXAMPLESDIR%%
.if !defined(NOPORTDOCS)
PLIST_FILES+= ${DOCS:C;^;%%RUBY_MODDOCDIR%%/;:C;doc/;;}
PLIST_DIRS+= %%RUBY_MODDOCDIR%%
.endif
.include <bsd.port.pre.mk>
do-install:
${INSTALL_DATA} ${WRKSRC}/dbdbd.rb ${RUBY_SITELIBDIR}
${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/samples/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (dbdbd-0.2.2.tgz) = b9a67d454be90b81c6098881531b3407
SIZE (dbdbd-0.2.2.tgz) = 39091

View File

@ -0,0 +1,8 @@
dbdbd is a tool for reading and writing simple flat-text data files. A
dbdbd data file has record per line, plus optional comments, and can be
edited by hand as well as manipulated with dbdbd. In fact, the main goal
of dbdbd is to provide a semi-automated alternative to ad hoc
text-parsing scripts, in a way that still allows for the option of
editing data files by hand when desired.
WWW: http://knossos.shu.edu/dblack/dbdbd/