aboutsummaryrefslogtreecommitdiff
path: root/www/mod_ruby
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-05-24 11:21:20 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-05-24 11:21:20 +0000
commit10b228db3a6fe688d45064796f66f2a950d39853 (patch)
treef3d8f963ee682371c63316882e01288502d3d217 /www/mod_ruby
parentffa55a1de694698a245b052851b54321681868c4 (diff)
downloadports-10b228db3a6fe688d45064796f66f2a950d39853.tar.gz
ports-10b228db3a6fe688d45064796f66f2a950d39853.zip
Notes
Diffstat (limited to 'www/mod_ruby')
-rw-r--r--www/mod_ruby/Makefile9
-rw-r--r--www/mod_ruby/distinfo1
2 files changed, 8 insertions, 2 deletions
diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile
index c3225608c356..4b34ab7b1050 100644
--- a/www/mod_ruby/Makefile
+++ b/www/mod_ruby/Makefile
@@ -11,6 +11,10 @@ CATEGORIES= www ruby
MASTER_SITES= http://www.modruby.net/archive/
DIST_SUBDIR= ruby
+PATCH_SITES= http://www.ruby-lang.org/~knu/
+PATCHFILES= ${DISTNAME}-2001.05.24.patch.gz
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
@@ -30,12 +34,13 @@ DOCS_EN= ChangeLog README.en
DOCS_JA= README.ja
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} ${RUBY_FLAGS} Makefile.RB ${CONFIGURE_ARGS}
+ @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} ${RUBY_FLAGS} configure.rb ${CONFIGURE_ARGS}
do-install:
${APXS} -i -n ruby ${WRKSRC}/mod_ruby.so
${INSTALL_DATA} ${FILESDIR}/httpd.conf.${PORTNAME} ${PREFIX}/etc/apache/
- ${CP} -R ${WRKSRC}/ruby/* ${RUBY_SITELIBDIR}/
+ ${MKDIR} ${RUBY_SITELIBDIR}/apache
+ ${INSTALL_DATA} ${WRKSRC}/ruby/apache/*.rb ${RUBY_SITELIBDIR}/apache/
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
.for f in ${DOCS_EN}
diff --git a/www/mod_ruby/distinfo b/www/mod_ruby/distinfo
index 3206cef2d780..dce96019f390 100644
--- a/www/mod_ruby/distinfo
+++ b/www/mod_ruby/distinfo
@@ -1 +1,2 @@
MD5 (ruby/mod_ruby-0.8.1.tar.gz) = 8001fe92b7b63c42071613379105aa3f
+MD5 (ruby/mod_ruby-0.8.1-2001.05.24.patch.gz) = f0c57fe7e481b49b03982c80b1904e91