diff options
author | taca <taca@pkgsrc.org> | 2003-07-21 17:43:53 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2003-07-21 17:43:53 +0000 |
commit | f3b0ab76d90454a1834b38f0f9fdf255fe8a0a40 (patch) | |
tree | b1ebe65986465a3c15fa834655e0356cb1a8cf0f /www/ap2-ruby | |
parent | a09b0ac07f4250b32d2c0fb846b946346beab26a (diff) | |
download | pkgsrc-f3b0ab76d90454a1834b38f0f9fdf255fe8a0a40.tar.gz |
Importing www/ap2-ruby 1.1.1 pacakge based on PR pkg/21921.
mod_ruby embeds the Ruby interpreter into the Apache web server,
allowing Ruby CGI scripts to be executed natively. These scripts will
start up much faster than without mod_ruby.
This package is the development version, which supports apache2 under
the prefork and threaded MVM. For Apache 1.3.XX, see www/ap-ruby.
Diffstat (limited to 'www/ap2-ruby')
-rw-r--r-- | www/ap2-ruby/DESCR | 5 | ||||
-rw-r--r-- | www/ap2-ruby/MESSAGE | 10 | ||||
-rw-r--r-- | www/ap2-ruby/Makefile | 46 | ||||
-rw-r--r-- | www/ap2-ruby/PLIST | 18 | ||||
-rw-r--r-- | www/ap2-ruby/distinfo | 4 |
5 files changed, 83 insertions, 0 deletions
diff --git a/www/ap2-ruby/DESCR b/www/ap2-ruby/DESCR new file mode 100644 index 00000000000..e8b0bd69d04 --- /dev/null +++ b/www/ap2-ruby/DESCR @@ -0,0 +1,5 @@ +mod_ruby embeds the Ruby interpreter into the Apache web server, +allowing Ruby CGI scripts to be executed natively. These scripts will +start up much faster than without mod_ruby. +This package is the development version, which supports apache2 under +the prefork and threaded MVM. For Apache 1.3.XX, see www/ap-ruby. diff --git a/www/ap2-ruby/MESSAGE b/www/ap2-ruby/MESSAGE new file mode 100644 index 00000000000..53487bf6909 --- /dev/null +++ b/www/ap2-ruby/MESSAGE @@ -0,0 +1,10 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2003/07/21 17:43:53 taca Exp $ + +In order to use this module in your Apache installation, you need to +add the following to your httpd.conf file: + + Include ${RUBY_EXAMPLESDIR}/mod_ruby/mod_ruby.conf + +(${RUBY_EXAMPLESDIR} is something like /usr/pkg/share/examples/ruby) +=========================================================================== diff --git a/www/ap2-ruby/Makefile b/www/ap2-ruby/Makefile new file mode 100644 index 00000000000..a4db3f3806e --- /dev/null +++ b/www/ap2-ruby/Makefile @@ -0,0 +1,46 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/07/21 17:43:53 taca Exp $ + +DISTNAME= mod_ruby-${VERSION} +PKGNAME= ap2-${RUBY_PKGNAMEPREFIX}${VERSION} +CATEGORIES= www +MASTER_SITES= http://www.modruby.net/archive/ + +MAINTAINER= rasputin@idoru.mine.nu +HOMEPAGE= http://www.modruby.net/ +COMMENT= Embedded Ruby for Apache2 (development version) + +CONFLICTS+= ap-ruby + +USE_BUILDLINK2= YES +DIST_SUBDIR= ruby +USE_RUBY= YES +RUBY_REQD= 1.6 +VERSION= 1.1.1 + +HAS_CONFIGURE= yes +CONFIGURE_SCRIPT= ./configure.rb +CONFIGURE_ARGS= --with-apxs="${APXS}" \ + --with-eruby-includes="${BUILDLINK_PREFIX.ruby-eruby}/include" \ + --with-eruby-libraries="${BUILDLINK_PREFIX.ruby-eruby}/lib" +MAKE_FLAGS+= APACHE_INCLUDES='-I${PREFIX}/include/httpd \ + -I${PREFIX}/include/apr-0' + +post-build: + ${SED} -e 's|/usr/local/apache/libexec|${LOCALBASE}/lib/httpd|g' \ + ${WRKSRC}/examples/httpd.conf > ${WRKSRC}/examples/mod_ruby.conf + +post-install: + ${APXS} -i -A -n ruby ${WRKSRC}/mod_ruby.so + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/mod_ruby + ${INSTALL_DATA} ${WRKSRC}/examples/mod_ruby.conf \ + ${RUBY_EXAMPLESDIR}/mod_ruby + ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/mod_ruby + ${INSTALL_DATA} ${WRKSRC}/doc/* ${RUBY_DOCDIR}/mod_ruby + +.include "../../lang/ruby-base/Makefile.common" +.include "../../lang/ruby-base/buildlink2.mk" +.include "../../textproc/ruby-eruby/buildlink2.mk" +.include "../../devel/apr/buildlink2.mk" +.include "../../www/apache2/buildlink2.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/www/ap2-ruby/PLIST b/www/ap2-ruby/PLIST new file mode 100644 index 00000000000..8ae03c8e118 --- /dev/null +++ b/www/ap2-ruby/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/21 17:43:53 taca Exp $ +lib/httpd/mod_ruby.so +${RUBY_EXAMPLESDIR}/mod_ruby/mod_ruby.conf +@dirrm ${RUBY_EXAMPLESDIR}/mod_ruby +${RUBY_DOCDIR}/mod_ruby/Makefile +${RUBY_DOCDIR}/mod_ruby/Makefile.in +${RUBY_DOCDIR}/mod_ruby/classes.en.rd +${RUBY_DOCDIR}/mod_ruby/classes.ja.euc.rd +${RUBY_DOCDIR}/mod_ruby/default.css +${RUBY_DOCDIR}/mod_ruby/directives.en.rd +${RUBY_DOCDIR}/mod_ruby/directives.ja.euc.rd +${RUBY_DOCDIR}/mod_ruby/faq.en.rd +${RUBY_DOCDIR}/mod_ruby/faq.ja.euc.rd +${RUBY_DOCDIR}/mod_ruby/index.en.rd +${RUBY_DOCDIR}/mod_ruby/index.ja.euc.rd +${RUBY_DOCDIR}/mod_ruby/install.en.rd +${RUBY_DOCDIR}/mod_ruby/install.ja.euc.rd +@dirrm ${RUBY_DOCDIR}/mod_ruby diff --git a/www/ap2-ruby/distinfo b/www/ap2-ruby/distinfo new file mode 100644 index 00000000000..77c5f572ed6 --- /dev/null +++ b/www/ap2-ruby/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/07/21 17:43:53 taca Exp $ + +SHA1 (ruby/mod_ruby-1.1.1.tar.gz) = 87540c3be006ea04d40927af8a3d99dedecc153e +Size (ruby/mod_ruby-1.1.1.tar.gz) = 62191 bytes |