diff options
author | minskim <minskim@pkgsrc.org> | 2008-02-09 06:27:48 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2008-02-09 06:27:48 +0000 |
commit | 4b5e88aee97621f71fa30804986b8e7110568708 (patch) | |
tree | c593c58023bc3bd9b58ba1eff0666908ed494de6 /www | |
parent | ca7f77f13d703bb3cda6c101c12a284d5db0bb7d (diff) | |
download | pkgsrc-4b5e88aee97621f71fa30804986b8e7110568708.tar.gz |
Import ruby-activeresource.
Active Resource (ARes) connects business objects and Representational
State Transfer (REST) web services. It implements object-relational
mapping for REST webservices to provide transparent proxying
capabilities between a client (ActiveResource) and a RESTful service.
Diffstat (limited to 'www')
-rw-r--r-- | www/ruby-activeresource/DESCR | 4 | ||||
-rw-r--r-- | www/ruby-activeresource/Makefile | 36 | ||||
-rw-r--r-- | www/ruby-activeresource/PLIST | 17 | ||||
-rw-r--r-- | www/ruby-activeresource/distinfo | 6 | ||||
-rw-r--r-- | www/ruby-activeresource/patches/patch-aa | 16 |
5 files changed, 79 insertions, 0 deletions
diff --git a/www/ruby-activeresource/DESCR b/www/ruby-activeresource/DESCR new file mode 100644 index 00000000000..5343afff6a0 --- /dev/null +++ b/www/ruby-activeresource/DESCR @@ -0,0 +1,4 @@ +Active Resource (ARes) connects business objects and Representational +State Transfer (REST) web services. It implements object-relational +mapping for REST webservices to provide transparent proxying +capabilities between a client (ActiveResource) and a RESTful service. diff --git a/www/ruby-activeresource/Makefile b/www/ruby-activeresource/Makefile new file mode 100644 index 00000000000..77f2df85d83 --- /dev/null +++ b/www/ruby-activeresource/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/02/09 06:27:48 minskim Exp $ + +DISTNAME= activeresource-2.0.2 +PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} +CATEGORIES= www +MASTER_SITES= http://rubyforge.org/frs/download.php/29357/ +EXTRACT_SUFX= .tgz + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= http://rubyforge.org/projects/activeresource/ +COMMENT= Object-relational mapping for REST webservices + +DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=2.0.2:../../devel/ruby-activesupport + +USE_LANGUAGES= # none +NO_BUILD= yes + +.include "../../lang/ruby/modules.mk" + +pre-install: + ${FIND} ${WRKSRC} -name \*.orig -exec ${RM} -f {} \; + +do-install: + ${CP} -R ${WRKSRC}/lib/* ${RUBY_SITELIBDIR} + ${CHOWN} -R ${LIBOWN}:${LIBGRP} ${RUBY_SITELIBDIR}/active_resource + ${FIND} ${RUBY_SITELIBDIR}/active_resource -type d \ + -exec ${CHMOD} ${PKGDIRMODE} {} \; + ${FIND} ${RUBY_SITELIBDIR}/active_resource* -type f \ + -exec ${CHMOD} ${LIBMODE} {} \; + ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/active_resource + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG \ + ${RUBY_DOCDIR}/active_resource + ${INSTALL_DATA} ${WRKSRC}/README \ + ${RUBY_DOCDIR}/active_resource + +.include "../../mk/bsd.pkg.mk" diff --git a/www/ruby-activeresource/PLIST b/www/ruby-activeresource/PLIST new file mode 100644 index 00000000000..fc9058b8b14 --- /dev/null +++ b/www/ruby-activeresource/PLIST @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/09 06:27:48 minskim Exp $ +${RUBY_SITELIBDIR}/active_resource.rb +${RUBY_SITELIBDIR}/active_resource/base.rb +${RUBY_SITELIBDIR}/active_resource/connection.rb +${RUBY_SITELIBDIR}/active_resource/custom_methods.rb +${RUBY_SITELIBDIR}/active_resource/formats.rb +${RUBY_SITELIBDIR}/active_resource/formats/json_format.rb +${RUBY_SITELIBDIR}/active_resource/formats/xml_format.rb +${RUBY_SITELIBDIR}/active_resource/http_mock.rb +${RUBY_SITELIBDIR}/active_resource/validations.rb +${RUBY_SITELIBDIR}/active_resource/version.rb +${RUBY_SITELIBDIR}/activeresource.rb +${RUBY_DOCDIR}/active_resource/CHANGELOG +${RUBY_DOCDIR}/active_resource/README +@dirrm ${RUBY_DOCDIR}/active_resource +@dirrm ${RUBY_SITELIBDIR}/active_resource/formats +@dirrm ${RUBY_SITELIBDIR}/active_resource diff --git a/www/ruby-activeresource/distinfo b/www/ruby-activeresource/distinfo new file mode 100644 index 00000000000..c9bb27ab810 --- /dev/null +++ b/www/ruby-activeresource/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/02/09 06:27:48 minskim Exp $ + +SHA1 (activeresource-2.0.2.tgz) = b1cd283796bf4155d7a43ca7370ae527f5b9cf9e +RMD160 (activeresource-2.0.2.tgz) = e0de85091b4d5f4ada6fcc9e3b3edfd909761a1c +Size (activeresource-2.0.2.tgz) = 30733 bytes +SHA1 (patch-aa) = 2c622cb6fcfdbe8294cd461f7f4eec35ca047656 diff --git a/www/ruby-activeresource/patches/patch-aa b/www/ruby-activeresource/patches/patch-aa new file mode 100644 index 00000000000..a78de61b306 --- /dev/null +++ b/www/ruby-activeresource/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/02/09 06:27:48 minskim Exp $ + +--- lib/active_resource.rb.orig 2008-02-08 21:59:02.000000000 -0800 ++++ lib/active_resource.rb +@@ -26,11 +26,7 @@ $:.unshift(File.dirname(__FILE__)) unles + + unless defined?(ActiveSupport) + begin +- $:.unshift(File.dirname(__FILE__) + "/../../activesupport/lib") + require 'active_support' +- rescue LoadError +- require 'rubygems' +- gem 'activesupport' + end + end + |