aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-10-20 20:21:26 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-10-20 20:21:26 +0000
commit80437806153727cd8baa9badbb93283d709f085a (patch)
treeda5810ed0c97cc851823bd9f14def9eb787cc897
parent404d32719774716fb35c45363f59d55692c9b31b (diff)
downloadports-80437806153727cd8baa9badbb93283d709f085a.tar.gz
ports-80437806153727cd8baa9badbb93283d709f085a.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.
Notes
Notes: svn path=/head/; revision=34042
-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