SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,20 @@
COMMENT= allow keyword access to array instances
DISTNAME= arrayfields-4.9.2
CATEGORIES= devel
HOMEPAGE= http://codeforpeople.com/lib/ruby/arrayfields/
MAINTAINER= Jeremy Evans <jeremy@openbsd.org>
# Ruby license
PERMIT_PACKAGE= Yes
MODULES= lang/ruby
CONFIGURE_STYLE= ruby gem
do-test:
@cd ${WRKBUILD} && ${RUBY} test/*.rb
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (arrayfields-4.9.2.gem) = FZPwuslI4kql5QmbeZSw+12mm28pqCgEzPSWvBJd5Ks=
SIZE (arrayfields-4.9.2.gem) = 19456

View file

@ -0,0 +1,8 @@
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.

View file

@ -0,0 +1,20 @@
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/LICENSE
${GEM_LIB}/gems/${DISTNAME}/README
${GEM_LIB}/gems/${DISTNAME}/Rakefile
${GEM_LIB}/gems/${DISTNAME}/arrayfields.gemspec
${GEM_LIB}/gems/${DISTNAME}/install.rb
${GEM_LIB}/gems/${DISTNAME}/lib/
${GEM_LIB}/gems/${DISTNAME}/lib/arrayfields.rb
${GEM_LIB}/gems/${DISTNAME}/readme.rb
${GEM_LIB}/gems/${DISTNAME}/sample/
${GEM_LIB}/gems/${DISTNAME}/sample/a.rb
${GEM_LIB}/gems/${DISTNAME}/sample/b.rb
${GEM_LIB}/gems/${DISTNAME}/sample/c.rb
${GEM_LIB}/gems/${DISTNAME}/sample/d.rb
${GEM_LIB}/gems/${DISTNAME}/sample/e.rb
${GEM_LIB}/gems/${DISTNAME}/test/
${GEM_LIB}/gems/${DISTNAME}/test/arrayfields.rb
${GEM_LIB}/gems/${DISTNAME}/test/memtest.rb
${GEM_LIB}/specifications/${DISTNAME}.gemspec