openbsd-ports/net/ruby-rrdtool/Makefile
jeremy 9c4d2b3822 Remove .require_paths from PLISTs from gems that used to use
them.  After recent updates to the ruby interpreters, these
files are no longer created.
2011-11-09 00:17:37 +00:00

34 lines
691 B
Makefile

# $OpenBSD: Makefile,v 1.16 2011/11/09 00:17:38 jeremy Exp $
COMMENT= ruby bindings for RRDtool
V= 0.6.0
DISTNAME= RubyRRDtool-$V
PKGNAME= rrdtool-$V
REVISION= 9
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 freetype png rrd z
MODULES= lang/ruby
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= devel/ruby-hoe,${MODRUBY_FLAVOR}
LIB_DEPENDS= rrdtool->=1.2,<1.3:net/rrdtool
CONFIGURE_STYLE=ruby gem ext
pre-configure:
@perl -pi -e "s#%%LOCALBASE%%#${LOCALBASE}#;" \
-e "s#%%X11BASE%%#${X11BASE}#" ${WRKSRC}/extconf.rb
.include <bsd.port.mk>