aboutsummaryrefslogtreecommitdiff
path: root/www/mod_ruby
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-02-19 09:31:10 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-02-19 09:31:10 +0000
commit4bdb8d724f4eb0446a851102a304508990cc5b38 (patch)
tree21dbe61020f49d9a0c1baf72e4f25a082cc54038 /www/mod_ruby
parent229d1a83027d6b6412f2bcf7dac82e93a6bfa978 (diff)
downloadports-4bdb8d724f4eb0446a851102a304508990cc5b38.tar.gz
ports-4bdb8d724f4eb0446a851102a304508990cc5b38.zip
Notes
Diffstat (limited to 'www/mod_ruby')
-rw-r--r--www/mod_ruby/Makefile8
-rw-r--r--www/mod_ruby/distinfo2
-rw-r--r--www/mod_ruby/pkg-plist4
3 files changed, 10 insertions, 4 deletions
diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile
index ce46de8f6f1f..3889605a6049 100644
--- a/www/mod_ruby/Makefile
+++ b/www/mod_ruby/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mod_ruby
-PORTVERSION= 1.0.4
+PORTVERSION= 1.0.5
CATEGORIES= www ruby
MASTER_SITES= http://www.modruby.net/archive/
DIST_SUBDIR= ruby
@@ -19,6 +19,7 @@ LIB_DEPENDS= eruby.10:${PORTSDIR}/textproc/eruby
RUN_DEPENDS= ${APXS}:${APACHE_PORT}
USE_RUBY= yes
+USE_REINPLACE= yes
APXS?= ${LOCALBASE}/sbin/apxs
APACHE_PORT?= ${PORTSDIR}/www/apache13
@@ -40,6 +41,11 @@ do-configure:
post-install: doc-install
${INSTALL_DATA} ${WRKSRC}/examples/httpd.conf `${APXS} -q SYSCONFDIR`/httpd.conf.${PORTNAME}
+# Would be nice if we could use PLIST_SUB here..
+ ${REINPLACE_CMD} \
+ -e 's,%%LIBEXECDIR%%,'`${APXS} -q LIBEXECDIR | ${SED} 's:${LOCALBASE}/::'`',g;' \
+ -e 's,%%SYSCONFDIR%%,'`${APXS} -q SYSCONFDIR | ${SED} 's:${LOCALBASE}/::'`',g;' \
+ ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/www/mod_ruby/distinfo b/www/mod_ruby/distinfo
index 90cdc995ac5b..af0ab79e372a 100644
--- a/www/mod_ruby/distinfo
+++ b/www/mod_ruby/distinfo
@@ -1 +1 @@
-MD5 (ruby/mod_ruby-1.0.4.tar.gz) = 8e8e577b4462d524892ed3c4fa676bce
+MD5 (ruby/mod_ruby-1.0.5.tar.gz) = 8d8bacb13bd5792aeda36cf36289485f
diff --git a/www/mod_ruby/pkg-plist b/www/mod_ruby/pkg-plist
index 8c6386406777..906a4631b092 100644
--- a/www/mod_ruby/pkg-plist
+++ b/www/mod_ruby/pkg-plist
@@ -6,8 +6,8 @@
%%RUBY_SITELIBDIR%%/apache/ruby-run.rb
%%RUBY_SITELIBDIR%%/auto-reload.rb
@dirrm %%RUBY_SITELIBDIR%%/apache
-etc/apache/httpd.conf.mod_ruby
-libexec/apache/mod_ruby.so
+%%LIBEXECDIR%%/mod_ruby.so
+%%SYSCONFDIR%%/httpd.conf.mod_ruby
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en