diff options
author | taca <taca@pkgsrc.org> | 2004-03-12 05:12:08 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2004-03-12 05:12:08 +0000 |
commit | a8e85f7ea5efb303b2db5365feb5d7790a6caa99 (patch) | |
tree | b93b209228781778e942a64e299314b14cc8b6f2 /www/ruby-fcgi | |
parent | 77da8835c4ef2b91d655ea59d38f98bd645b473b (diff) | |
download | pkgsrc-a8e85f7ea5efb303b2db5365feb5d7790a6caa99.tar.gz |
Importing ruby-fcgi package based on PR pkg 24612 from
Rasputin (rasputin at idoru dot mine dot nu).
Ruby bindings for the FastCGI system.
This is merged version matz's C version(fcgi.so) and
Eli's pure ruby version(fastcgi.rb).
Diffstat (limited to 'www/ruby-fcgi')
-rw-r--r-- | www/ruby-fcgi/DESCR | 3 | ||||
-rw-r--r-- | www/ruby-fcgi/MESSAGE | 10 | ||||
-rw-r--r-- | www/ruby-fcgi/Makefile | 30 | ||||
-rw-r--r-- | www/ruby-fcgi/PLIST | 6 | ||||
-rw-r--r-- | www/ruby-fcgi/distinfo | 5 | ||||
-rw-r--r-- | www/ruby-fcgi/patches/patch-aa | 22 |
6 files changed, 76 insertions, 0 deletions
diff --git a/www/ruby-fcgi/DESCR b/www/ruby-fcgi/DESCR new file mode 100644 index 00000000000..acacef4dccc --- /dev/null +++ b/www/ruby-fcgi/DESCR @@ -0,0 +1,3 @@ +Ruby bindings for the FastCGI system. +This is merged version matz's C version(fcgi.so) and +Eli's pure ruby version(fastcgi.rb). diff --git a/www/ruby-fcgi/MESSAGE b/www/ruby-fcgi/MESSAGE new file mode 100644 index 00000000000..d3cf17b92e9 --- /dev/null +++ b/www/ruby-fcgi/MESSAGE @@ -0,0 +1,10 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2004/03/12 05:12:09 taca Exp $ + +If you have a problem with using pure ruby version, please set: + + FCGI_PURE_RUBY=true + +before require fcgi library. + +=========================================================================== diff --git a/www/ruby-fcgi/Makefile b/www/ruby-fcgi/Makefile new file mode 100644 index 00000000000..c0dd169a2ac --- /dev/null +++ b/www/ruby-fcgi/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/03/12 05:12:09 taca Exp $ + +DISTNAME= ${RUBY_PKGNAMEPREFIX}fcgi-${VER} +CATEGORIES= www devel +MASTER_SITES= http://www.moonwolf.com/ruby/archive/ + +MAINTAINER= rasputnik@hellooperator.net +HOMEPAGE= http://rwiki.moonwolf.com/rw-cgi.cgi?cmd=view;name=fcgi +COMMENT= FastCGI interface for Ruby + +USE_BUILDLINK2= # defined + +VER= 0.8.4 +CONFIGURE_ARGS= -- --with-fcgi-dir=${PREFIX} +USE_RUBY_SETUP= # defined +RUBY_SETUP= install.rb +RUBY_EXTCONF_SUBDIRS= ext/fcgi + +DOCS= README README.signals + +post-install: + ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/fcgi +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/fcgi +.endfor + +.include "../../lang/ruby-base/Makefile.common" +.include "../../lang/ruby-base/buildlink2.mk" +.include "../../www/fcgi/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/ruby-fcgi/PLIST b/www/ruby-fcgi/PLIST new file mode 100644 index 00000000000..0f2fb9dc477 --- /dev/null +++ b/www/ruby-fcgi/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/12 05:12:09 taca Exp $ +${RUBY_SITELIBDIR}/fcgi.rb +${RUBY_SITEARCHLIBDIR}/fcgi.so +${RUBY_DOCDIR}/fcgi/README +${RUBY_DOCDIR}/fcgi/README.signals +@dirrm ${RUBY_DOCDIR}/fcgi diff --git a/www/ruby-fcgi/distinfo b/www/ruby-fcgi/distinfo new file mode 100644 index 00000000000..c55a39499b4 --- /dev/null +++ b/www/ruby-fcgi/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/03/12 05:12:09 taca Exp $ + +SHA1 (ruby-fcgi-0.8.4.tar.gz) = dd9847307ae4f2e1033723a2707305ebd29f910e +Size (ruby-fcgi-0.8.4.tar.gz) = 15283 bytes +SHA1 (patch-aa) = bace92dcb7cf1b8c91614a9f97768a494cbca09f diff --git a/www/ruby-fcgi/patches/patch-aa b/www/ruby-fcgi/patches/patch-aa new file mode 100644 index 00000000000..d37987ac0c6 --- /dev/null +++ b/www/ruby-fcgi/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/03/12 05:12:09 taca Exp $ + +--- install.rb.orig 2003-08-27 20:28:34.000000000 +0900 ++++ install.rb +@@ -648,7 +648,7 @@ class Installer + end + + def install_dir_lib( rel ) +- install_files targfiles, config('rb-dir') + '/' + rel, 0644 ++ install_files targfiles, config('rb-dir') + '/' + rel, 0444 + end + + def install_dir_ext( rel ) +@@ -662,7 +662,7 @@ class Installer + end + + def install_dir_data( rel ) +- install_files targfiles, config('data-dir') + '/' + rel, 0644 ++ install_files targfiles, config('data-dir') + '/' + rel, 0444 + end + + def install_files( list, dest, mode ) |