-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
taca
committed
Jul 21, 2003
1 parent
a09b0ac
commit f3b0ab7
Showing
5 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
=========================================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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= [email protected] | ||
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |