f36e8d1cb6
allow keyword access to array instances. arrayfields works by adding only a few methods to arrays, namely #fields= and fields, but the #fields= method is hooked to extend an array on a per object basis. in otherwords __only__ those arrays whose fields are set will have auto-magical keyword access bestowed on them - all other arrays remain unaffected. arrays with keyword access require much less memory when compared to hashes/objects and yet still provide fast lookup and preserve data order.
26 lines
514 B
Makefile
26 lines
514 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/20 17:32:49 jeremy Exp $
|
|
|
|
COMMENT= allow keyword access to array instances
|
|
|
|
DISTNAME= arrayfields-4.7.0
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://codeforpeople.com/lib/ruby/arrayfields/
|
|
|
|
MAINTAINER= Jeremy Evans <jeremy@openbsd.org>
|
|
|
|
# Ruby license
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES= lang/ruby
|
|
|
|
CONFIGURE_STYLE= ruby gem
|
|
|
|
do-regress:
|
|
@cd ${WRKBUILD} && ${RUBY} test/*.rb
|
|
|
|
.include <bsd.port.mk>
|