Add David Black's DataBase Definer, a tool for reading and writing
simple flat-text data files.
This commit is contained in:
parent
898bfc7019
commit
a0c603d808
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123498
@ -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
|
||||
|
51
databases/ruby-dbdbd/Makefile
Normal file
51
databases/ruby-dbdbd/Makefile
Normal 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>
|
2
databases/ruby-dbdbd/distinfo
Normal file
2
databases/ruby-dbdbd/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (dbdbd-0.2.2.tgz) = b9a67d454be90b81c6098881531b3407
|
||||
SIZE (dbdbd-0.2.2.tgz) = 39091
|
8
databases/ruby-dbdbd/pkg-descr
Normal file
8
databases/ruby-dbdbd/pkg-descr
Normal 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/
|
Loading…
Reference in New Issue
Block a user