diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2004-12-08 22:39:12 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2004-12-08 22:39:12 +0000 |
commit | a0c603d8088c12864c7048d0990aa47404905052 (patch) | |
tree | b6eb87c5c52cd69a2d930cb1cec85af8c31f5000 /databases/ruby-dbdbd | |
parent | 898bfc7019aff9b2f47e759c3a1a188c63acd35f (diff) | |
download | ports-a0c603d8088c12864c7048d0990aa47404905052.tar.gz ports-a0c603d8088c12864c7048d0990aa47404905052.zip |
Notes
Diffstat (limited to 'databases/ruby-dbdbd')
-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 |
3 files changed, 61 insertions, 0 deletions
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/ |