diff options
author | knu <knu@FreeBSD.org> | 2000-08-12 00:39:39 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-12 00:39:39 +0800 |
commit | 50018e51a9812f305312d991597080aba0b7bf22 (patch) | |
tree | 5faf304fa4541c3521f02f5e2808e06a597942a1 /www/mod_ruby | |
parent | b9d1ea02533579b9ffc374828787118c1a2e4886 (diff) | |
download | freebsd-ports-gnome-50018e51a9812f305312d991597080aba0b7bf22.tar.gz freebsd-ports-gnome-50018e51a9812f305312d991597080aba0b7bf22.tar.zst freebsd-ports-gnome-50018e51a9812f305312d991597080aba0b7bf22.zip |
Add mod_ruby, an Apache module that embeds Ruby interpreter within.
Diffstat (limited to 'www/mod_ruby')
-rw-r--r-- | www/mod_ruby/Makefile | 52 | ||||
-rw-r--r-- | www/mod_ruby/distinfo | 1 | ||||
-rw-r--r-- | www/mod_ruby/pkg-comment | 1 | ||||
-rw-r--r-- | www/mod_ruby/pkg-descr | 5 | ||||
-rw-r--r-- | www/mod_ruby/pkg-message | 16 | ||||
-rw-r--r-- | www/mod_ruby/pkg-plist | 8 |
6 files changed, 83 insertions, 0 deletions
diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile new file mode 100644 index 000000000000..9f15d78155ff --- /dev/null +++ b/www/mod_ruby/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: mod_ruby +# Date created: 12 Aug 2000 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= mod_ruby +PORTVERSION= ${RELEASE_VER}.${SNAPSHOT_DATE} +CATEGORIES= www lang # ruby +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= knu +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 \ + ruby:${PORTSDIR}/lang/ruby +RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 \ + ruby:${PORTSDIR}/lang/ruby + +WRKSRC= ${WRKDIR}/${PORTNAME} + +RELEASE_VER= 0.1.8 +SNAPSHOT_DATE= 2000.08.04 + +APXS= ${LOCALBASE}/sbin/apxs + +RUBY= ${LOCALBASE}/bin/ruby +RUBY_VER= 1.4 +RUBY_ARCH= ${ARCH}-freebsd${OSREL} + +DOCS_EN= ChangeLog README.en +DOCS_JA= README.ja + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} Makefile.RB + +do-install: + ${APXS} -i -A -n ruby ${WRKSRC}/mod_ruby.so +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/ruby/mod_ruby/ja +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/mod_ruby/ +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/mod_ruby/ja/ +.endfor +.endif + ${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/www/mod_ruby/distinfo b/www/mod_ruby/distinfo new file mode 100644 index 000000000000..825112546219 --- /dev/null +++ b/www/mod_ruby/distinfo @@ -0,0 +1 @@ +MD5 (ruby/mod_ruby-0.1.8.2000.08.04.tar.gz) = 52d5b75ce7ad821bf2ae0524a454aac7 diff --git a/www/mod_ruby/pkg-comment b/www/mod_ruby/pkg-comment new file mode 100644 index 000000000000..b58f66da9d48 --- /dev/null +++ b/www/mod_ruby/pkg-comment @@ -0,0 +1 @@ +An Apache module that embeds Ruby interpreter within diff --git a/www/mod_ruby/pkg-descr b/www/mod_ruby/pkg-descr new file mode 100644 index 000000000000..0b3c9a7ee39a --- /dev/null +++ b/www/mod_ruby/pkg-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. + +WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=mod_ruby diff --git a/www/mod_ruby/pkg-message b/www/mod_ruby/pkg-message new file mode 100644 index 000000000000..a1b41cc59905 --- /dev/null +++ b/www/mod_ruby/pkg-message @@ -0,0 +1,16 @@ +************************************************************ +Please edit your apache.conf or httpd.conf to enable and +setup this module, and you might also need to create an +htpasswd file, if you introduce basic authentication. + +You can always refer to the useful documents held in +${PREFIX}/share/doc/ruby/mod_ruby/, where ${PREFIX} is +typically /usr/local. + +When it's done, do the following to take effect: + + apachectl configtest (and correct any errors reported) + apachectl restart + +Enjoy! +************************************************************ diff --git a/www/mod_ruby/pkg-plist b/www/mod_ruby/pkg-plist new file mode 100644 index 000000000000..de0b83996cdb --- /dev/null +++ b/www/mod_ruby/pkg-plist @@ -0,0 +1,8 @@ +libexec/apache/mod_ruby.so +@exec %D/sbin/apxs -e -A -n ruby %D/%F +@unexec %D/sbin/apxs -e -A -n ruby %D/%F +share/doc/ruby/mod_ruby/ChangeLog +share/doc/ruby/mod_ruby/README.en +share/doc/ruby/mod_ruby/ja/README.ja +@dirrm share/doc/ruby/mod_ruby/ja +@dirrm share/doc/ruby/mod_ruby |