aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2007-04-30 10:02:29 +0800
committerclsung <clsung@FreeBSD.org>2007-04-30 10:02:29 +0800
commitd5e801514c6df891c53c7ac8b7ef2b9e416847f6 (patch)
tree1b6057161e50b8ca469e5565c06efb0a608ceab2 /databases
parent8fc68b3a7a28f3e733ae8f123ea19405f2a0cdd6 (diff)
downloadfreebsd-ports-gnome-d5e801514c6df891c53c7ac8b7ef2b9e416847f6.tar.gz
freebsd-ports-gnome-d5e801514c6df891c53c7ac8b7ef2b9e416847f6.tar.zst
freebsd-ports-gnome-d5e801514c6df891c53c7ac8b7ef2b9e416847f6.zip
Add rubygem-rrdtool 0.6.0, a Ruby interface to RRDTool.
PR: ports/111811 Submitted by: Konstantin SAURBIER (saurbier at math.uni-bielefeld.de)
Diffstat (limited to 'databases')
-rw-r--r--databases/rubygem-rrdtool/Makefile38
-rw-r--r--databases/rubygem-rrdtool/distinfo3
-rw-r--r--databases/rubygem-rrdtool/pkg-descr6
-rw-r--r--databases/rubygem-rrdtool/pkg-plist51
4 files changed, 98 insertions, 0 deletions
diff --git a/databases/rubygem-rrdtool/Makefile b/databases/rubygem-rrdtool/Makefile
new file mode 100644
index 000000000000..2e8a95747114
--- /dev/null
+++ b/databases/rubygem-rrdtool/Makefile
@@ -0,0 +1,38 @@
+# New Ports collection makefile for: rubyrrdtool
+# Date created: 19 April 2007
+# Whom: Konstantin SAURBIER (saurbier@math.uni-bielefeld.de)
+#
+# $FreeBSD$
+
+PORTNAME= rrdtool
+PORTVERSION= 0.6.0
+CATEGORIES= net rubygems
+MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
+MASTER_SITE_SUBDIR= rubyrrdtool
+DISTNAME= RubyRRDtool-${PORTVERSION}
+
+MAINTAINER= saurbier@math.uni-bielefeld.de
+COMMENT= A Ruby interface to RRDTool
+
+LIB_DEPENDS= rrd:${PORTSDIR}/net/rrdtool
+BUILD_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/hoe-1.2.0.gemspec:${PORTSDIR}/devel/rubygem-hoe
+
+GEM_NAME= RubyRRDtool-0.6.0
+GEM_ENV= MAKEFLAGS="CPPFLAGS=-I${LOCALBASE}/include"
+
+# This target is only meant to be used by the port maintainer.
+x-generate-plist:
+ (${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
+ | ${SED} -E \
+ 's,.*share/nls/.+$$,,g \
+ ;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
+ ;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
+ ;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
+ ;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
+ ;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
+ ;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
+ ' | ${TR} -s '\n') > temp-pkg-plist
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
+.include <bsd.port.post.mk>
diff --git a/databases/rubygem-rrdtool/distinfo b/databases/rubygem-rrdtool/distinfo
new file mode 100644
index 000000000000..868b3808320d
--- /dev/null
+++ b/databases/rubygem-rrdtool/distinfo
@@ -0,0 +1,3 @@
+MD5 (rubygem/RubyRRDtool-0.6.0.gem) = 80c55c600c91bdc404d6efebc9e79b7c
+SHA256 (rubygem/RubyRRDtool-0.6.0.gem) = 7c53479646dc2532beb8a7ddd9c8f66305a94c98b7218b9a6ae379591956b793
+SIZE (rubygem/RubyRRDtool-0.6.0.gem) = 16384
diff --git a/databases/rubygem-rrdtool/pkg-descr b/databases/rubygem-rrdtool/pkg-descr
new file mode 100644
index 000000000000..ded9a5fbf249
--- /dev/null
+++ b/databases/rubygem-rrdtool/pkg-descr
@@ -0,0 +1,6 @@
+rubyrrdtool is an interface to Tobi Oetiker's round robin
+database and logging utility rrdtool. It uses librrd and
+is functionally comparable to the native perl bindings.
+It's under the MIT License.
+
+WWW: http://rubyforge.org/projects/rubyrrdtool/
diff --git a/databases/rubygem-rrdtool/pkg-plist b/databases/rubygem-rrdtool/pkg-plist
new file mode 100644
index 000000000000..737e28ced612
--- /dev/null
+++ b/databases/rubygem-rrdtool/pkg-plist
@@ -0,0 +1,51 @@
+%%GEM_CACHE%%
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000001.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000002.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000003.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000004.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000005.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000006.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000007.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000008.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000009.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000010.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000011.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000012.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000013.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000014.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000015.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000016.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000017.html
+%%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src/M000018.html
+%%GEM_DOC_DIR%%/rdoc/created.rid
+%%GEM_DOC_DIR%%/rdoc/files/test/test_rrdtool_rb.html
+%%GEM_DOC_DIR%%/rdoc/fr_class_index.html
+%%GEM_DOC_DIR%%/rdoc/fr_file_index.html
+%%GEM_DOC_DIR%%/rdoc/fr_method_index.html
+%%GEM_DOC_DIR%%/rdoc/index.html
+%%GEM_DOC_DIR%%/rdoc/rdoc-style.css
+%%GEM_LIB_DIR%%/Makefile
+%%GEM_LIB_DIR%%/Manifest.txt
+%%GEM_LIB_DIR%%/README
+%%GEM_LIB_DIR%%/RRDtool.so
+%%GEM_LIB_DIR%%/Rakefile
+%%GEM_LIB_DIR%%/examples/function_test.rb
+%%GEM_LIB_DIR%%/examples/minmax.rb
+%%GEM_LIB_DIR%%/extconf.rb
+%%GEM_LIB_DIR%%/mkmf.log
+%%GEM_LIB_DIR%%/rrd_addition.h
+%%GEM_LIB_DIR%%/rubyrrdtool.c
+%%GEM_LIB_DIR%%/rubyrrdtool.o
+%%GEM_LIB_DIR%%/test/RRDtool.so
+%%GEM_LIB_DIR%%/test/test_rrdtool.rb
+%%GEM_SPEC%%
+@dirrm %%GEM_LIB_DIR%%/test
+@dirrm %%GEM_LIB_DIR%%/examples
+@dirrm %%GEM_LIB_DIR%%
+@dirrm %%GEM_DOC_DIR%%/rdoc/files/test
+@dirrm %%GEM_DOC_DIR%%/rdoc/files
+@dirrm %%GEM_DOC_DIR%%/rdoc/classes/TestRRDtool.src
+@dirrm %%GEM_DOC_DIR%%/rdoc/classes
+@dirrm %%GEM_DOC_DIR%%/rdoc
+@dirrm %%GEM_DOC_DIR%%