aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-10-21 04:21:26 +0800
committerknu <knu@FreeBSD.org>2000-10-21 04:21:26 +0800
commit484aa12f10fb7901ed5d04f81bcdd64456563d00 (patch)
tree3f3b754d12188e3866e927b7538857b5af0d3f5b
parent5584da8de65c51f8a1218b687eab007248ceafef (diff)
downloadfreebsd-ports-gnome-484aa12f10fb7901ed5d04f81bcdd64456563d00.tar.gz
freebsd-ports-gnome-484aa12f10fb7901ed5d04f81bcdd64456563d00.tar.zst
freebsd-ports-gnome-484aa12f10fb7901ed5d04f81bcdd64456563d00.zip
Update to 0.2.1. Now Ruby 1.4 support has been dropped in this
version, this port still builds and installs 0.2.0 if RUBY_VER=1.4.
-rw-r--r--www/mod_ruby/Makefile13
-rw-r--r--www/mod_ruby/distinfo1
2 files changed, 12 insertions, 2 deletions
diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile
index 9a504bac35d7..e7bc9c289cbe 100644
--- a/www/mod_ruby/Makefile
+++ b/www/mod_ruby/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mod_ruby
-PORTVERSION= 0.2.0
+PORTVERSION= ${VERSION}
CATEGORIES= www ruby
MASTER_SITES= http://www.ruby-lang.org/~shugo/mod_ruby/
DIST_SUBDIR= ruby
@@ -18,6 +18,15 @@ LIB_DEPENDS= eruby.1:${PORTSDIR}/textproc/eruby
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
USE_RUBY= yes
+RUBY_REQUIRE= 160 <= Ruby
+
+.include <bsd.port.pre.mk>
+
+.if defined(RUBY_PROVIDED)
+VERSION= 0.2.1
+.else
+VERSION= 0.2.0
+.endif
APXS= ${LOCALBASE}/sbin/apxs
@@ -45,4 +54,4 @@ do-install:
.endif
${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/mod_ruby/distinfo b/www/mod_ruby/distinfo
index 19c11e35a37a..66487ea5a109 100644
--- a/www/mod_ruby/distinfo
+++ b/www/mod_ruby/distinfo
@@ -1 +1,2 @@
MD5 (ruby/mod_ruby-0.2.0.tar.gz) = 816feff73fcabbc4bb75e5c17919bc3e
+MD5 (ruby/mod_ruby-0.2.1.tar.gz) = 28b786af4eaf36faf1be43cd9cf68ac6