Use CONFIGURE_STYLE = ruby gem ext to clean things up.

Also, remove PKG_ARCH = *.  The use of SHARED_ONLY=Yes and
PKG_ARCH = * is a certain bug.

ok landry, phessler, sthen
This commit is contained in:
jeremy 2010-10-26 21:25:08 +00:00
parent 8bd6482dab
commit ea040ea875

View File

@ -1,13 +1,11 @@
# $OpenBSD: Makefile,v 1.9 2010/09/28 20:12:18 jeremy Exp $
SHARED_ONLY= Yes
# $OpenBSD: Makefile,v 1.10 2010/10/26 21:25:08 jeremy Exp $
COMMENT= ruby bindings for RRDtool
V= 0.6.0
DISTNAME= RubyRRDtool-$V
PKGNAME= ruby-rrdtool-$V
REVISION= 3
REVISION= 4
CATEGORIES= net
HOMEPAGE= http://rubyrrdtool.rubyforge.org/
@ -18,17 +16,14 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= art_lgpl_2 c freetype m png z
WANTLIB= art_lgpl_2 freetype png rrd z
MODULES= lang/ruby
GEM_SKIPDEPENDS= hoe
LIB_DEPENDS= ${MODRUBY_LIB_DEPENDS} \
rrd:rrdtool->=1.2,<1.3:net/rrdtool
LIB_DEPENDS= :rrdtool->=1.2,<1.3:net/rrdtool
CONFIGURE_STYLE=ruby gem
PKG_ARCH= *
CONFIGURE_STYLE=ruby gem ext
pre-configure:
@perl -pi -e "s#%%LOCALBASE%%#${LOCALBASE}#;" \