aboutsummaryrefslogtreecommitdiffstats
path: root/www
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 /www
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.
Diffstat (limited to 'www')
-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
236729b500863eed9243da83dd2c11099560'>- Retire mbone as a physical categorypav2011-03-071-1/+0 * - Terminate support for X11BASE having different value from LOCALBASEpav2009-12-181-4/+1 * - Allow users to redefine an update target.sem2009-10-221-0/+2 * - bsd.port.mk - Remove ${INDEXDIR}/${INDEXFILE}.bz2 after fetchindex is bein...miwi2009-08-231-1/+1 * Major optimizations for 'make index' and other recursive traversalkris2008-07-201-1/+11 * Remove obsolete anti-foot-shooting measure that tried to force youlinimon2007-09-271-3/+0 * The default method for 'make update' is now portsnap. Previously,linimon2007-05-251-8/+14 * When setting INDEX_PRISTINE, also set USE_NONDEFAULT_X11BASE toerwin2007-05-201-0/+1 * Add new category x11-driverspav2007-05-201-0/+1 * Add two missing dollars.ru2007-02-261-2/+2 * - Introduce a new ports category ports-mgmt: Ports for managing, installing andpav2007-01-311-0/+1