initial import of RubyRRDTool 0.60

rubyrrdtool provides ruby bindings for RRD functions (via librrd), with
functionality comparable to the native perl bindings.
This commit is contained in:
msf 2007-09-20 05:22:05 +00:00
parent 93e447a0c3
commit 67792307a7
2 changed files with 14 additions and 23 deletions

View File

@ -1,38 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/09/19 19:38:36 sturm Exp $
# $OpenBSD: Makefile,v 1.1.1.2 2007/09/20 05:22:05 msf Exp $
SHARED_ONLY= Yes
COMMENT= ruby bindings for RRDtool
COMMENT= ruby binding for rrdtool
V= 0.6.0
DISTNAME= RubyRRDtool-$V
PKGNAME= ruby-rrdtool-$V
DISTNAME= RubyRRDtool-${V}
PKGNAME= ruby-rrdtool-${V}
CATEGORIES= net
HOMEPAGE= http://rubyrrdtool.rubyforge.org/
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB+= c m z
WANTLIB= art_lgpl_2 c freetype m png z
MASTER_SITES= http://rubyforge.org/frs/download.php/13993/
MASTER_SITES= ${MASTER_SITE_RUBYFORGE:=rubyrrdtool/}
MODULES= lang/ruby
CONFIGURE_STYLE= ruby gem
LIB_DEPENDS= art_lgpl_2::graphics/libart \
png::graphics/png \
ruby::lang/ruby
BUILD_DEPENDS= ::devel/ruby-hoe
LIB_DEPENDS= ruby::lang/ruby \
rrd:rrdtool-1.2.*:net/rrdtool
CONFIGURE_STYLE=ruby gem
PKG_ARCH= *
pre-configure:
@perl -pi -e "s#%%LOCALBASE%%#${LOCALBASE}#;" \
-e "s#%%X11BASE%%#${X11BASE}#" ${WRKSRC}/extconf.rb
.include <bsd.port.mk>

View File

@ -1,4 +1,2 @@
RubyRRDtool provides ruby bindings for RRDtool functions (via librrd), with
functionality comparable to the native RRDtool perl bindings. This extension
is intended for developers who want to access their RRDtool databases from
within ruby.
rubyrrdtool provides ruby bindings for RRD functions (via librrd), with
functionality comparable to the native perl bindings.