summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-11-04 00:11:00 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-11-04 00:11:00 +0000
commitc6b2885adcc3f10b1e0acd0017a0b1d0f5165ab7 (patch)
treed1e41421c378e02264e28018f9d547ab862eb39d /www
parentMake fetchable by updating to 0.2.1 (diff)
Do s/ruby/${RUBY}/ on doc/Makefile.
Notes
Notes: svn path=/head/; revision=69395
Diffstat (limited to 'www')
-rw-r--r--www/mod_ruby/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile
index bb33684e814b..213573634bc2 100644
--- a/www/mod_ruby/Makefile
+++ b/www/mod_ruby/Makefile
@@ -27,11 +27,17 @@ CONFIGURE_ARGS= --with-apxs="${APXS}" \
--enable-eruby=yes \
--with-eruby-includes="${LOCALBASE}/include" \
--with-eruby-libraries="${LOCALBASE}/lib"
+MAKE_ARGS= RUBY="${RUBY}"
INSTALL_TARGET= site-install
DOCS_EN= COPYING ChangeLog README.en doc/default.css doc/*.en.*
DOCS_JA= README.ja doc/default.css doc/*.ja.*
+post-patch:
+.if !defined(NOPORTDOCS)
+ ${RUBY} -i -pe 'sub(/ruby /, "${RUBY} ")' ${WRKSRC}/doc/Makefile
+.endif
+
do-configure:
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} ${RUBY_FLAGS} configure.rb ${CONFIGURE_ARGS}