pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ruby-activeresource Import ruby-activeresource.
details: https://anonhg.NetBSD.org/pkgsrc/rev/fa5d1cf2e15e
branches: trunk
changeset: 538466:fa5d1cf2e15e
user: minskim <minskim%pkgsrc.org@localhost>
date: Sat Feb 09 06:27:48 2008 +0000
description:
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:
www/ruby-activeresource/DESCR | 4 +++
www/ruby-activeresource/Makefile | 36 ++++++++++++++++++++++++++++++++
www/ruby-activeresource/PLIST | 17 +++++++++++++++
www/ruby-activeresource/distinfo | 6 +++++
www/ruby-activeresource/patches/patch-aa | 16 ++++++++++++++
5 files changed, 79 insertions(+), 0 deletions(-)
diffs (99 lines):
diff -r d35cdc635596 -r fa5d1cf2e15e www/ruby-activeresource/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-activeresource/DESCR Sat Feb 09 06:27:48 2008 +0000
@@ -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 -r d35cdc635596 -r fa5d1cf2e15e www/ruby-activeresource/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-activeresource/Makefile Sat Feb 09 06:27:48 2008 +0000
@@ -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@localhost
+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 -r d35cdc635596 -r fa5d1cf2e15e www/ruby-activeresource/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-activeresource/PLIST Sat Feb 09 06:27:48 2008 +0000
@@ -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 -r d35cdc635596 -r fa5d1cf2e15e www/ruby-activeresource/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-activeresource/distinfo Sat Feb 09 06:27:48 2008 +0000
@@ -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 -r d35cdc635596 -r fa5d1cf2e15e www/ruby-activeresource/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-activeresource/patches/patch-aa Sat Feb 09 06:27:48 2008 +0000
@@ -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
+
Home |
Main Index |
Thread Index |
Old Index