openbsd-ports/net/ruby-rrdtool/Makefile
sturm 45dbf04930 Initial import of RubyRRDtool 0.6.0
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.
2007-09-19 19:38:36 +00:00

39 lines
748 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/09/19 19:38:36 sturm Exp $
SHARED_ONLY= Yes
COMMENT= ruby bindings for RRDtool
V= 0.6.0
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= art_lgpl_2 c freetype m png z
MASTER_SITES= http://rubyforge.org/frs/download.php/13993/
MODULES= 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>