diff options
author | brooks <brooks@FreeBSD.org> | 2004-12-09 06:39:12 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2004-12-09 06:39:12 +0800 |
commit | 9db16a52cf44235848fce858c50fe4be44f7d746 (patch) | |
tree | 40766b7da51152341cd1385bda2a20ad25cc54c0 /databases | |
parent | f5b22e0211b0faa0a057050ced3aaf644afee847 (diff) | |
download | freebsd-ports-gnome-9db16a52cf44235848fce858c50fe4be44f7d746.tar.gz freebsd-ports-gnome-9db16a52cf44235848fce858c50fe4be44f7d746.tar.zst freebsd-ports-gnome-9db16a52cf44235848fce858c50fe4be44f7d746.zip |
Add David Black's DataBase Definer, a tool for reading and writing
simple flat-text data files.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/ruby-dbdbd/Makefile | 51 | ||||
-rw-r--r-- | databases/ruby-dbdbd/distinfo | 2 | ||||
-rw-r--r-- | databases/ruby-dbdbd/pkg-descr | 8 |
4 files changed, 62 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index b37bd06fe446..21cdab92f70a 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -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 diff --git a/databases/ruby-dbdbd/Makefile b/databases/ruby-dbdbd/Makefile new file mode 100644 index 000000000000..e5df8c3949c3 --- /dev/null +++ b/databases/ruby-dbdbd/Makefile @@ -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> diff --git a/databases/ruby-dbdbd/distinfo b/databases/ruby-dbdbd/distinfo new file mode 100644 index 000000000000..2b289fa36e2d --- /dev/null +++ b/databases/ruby-dbdbd/distinfo @@ -0,0 +1,2 @@ +MD5 (dbdbd-0.2.2.tgz) = b9a67d454be90b81c6098881531b3407 +SIZE (dbdbd-0.2.2.tgz) = 39091 diff --git a/databases/ruby-dbdbd/pkg-descr b/databases/ruby-dbdbd/pkg-descr new file mode 100644 index 000000000000..51364b37d373 --- /dev/null +++ b/databases/ruby-dbdbd/pkg-descr @@ -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/ |