aboutsummaryrefslogtreecommitdiff
path: root/www/mod_ruby
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/mod_ruby
parenta6de67febb4b7232985916cd24069fc97cb29c24 (diff)
downloadports-c6b2885adcc3f10b1e0acd0017a0b1d0f5165ab7.tar.gz
ports-c6b2885adcc3f10b1e0acd0017a0b1d0f5165ab7.zip
Notes
Diffstat (limited to 'www/mod_ruby')
-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}