aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-10-21 04:20:54 +0800
committerknu <knu@FreeBSD.org>2000-10-21 04:20:54 +0800
commit5584da8de65c51f8a1218b687eab007248ceafef (patch)
treee2396e813430c4fe8071e46accd2706eb3527d7f /textproc
parent5c19db9c873670facbaf2c2544f5edb34637a42d (diff)
downloadfreebsd-ports-graphics-5584da8de65c51f8a1218b687eab007248ceafef.tar.gz
freebsd-ports-graphics-5584da8de65c51f8a1218b687eab007248ceafef.tar.zst
freebsd-ports-graphics-5584da8de65c51f8a1218b687eab007248ceafef.zip
Update to 0.1.2. Now Ruby 1.4 support has been dropped in this
version, this port still builds and installs 0.1.1 if RUBY_VER=1.4.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/eruby/Makefile13
-rw-r--r--textproc/eruby/distinfo1
2 files changed, 12 insertions, 2 deletions
diff --git a/textproc/eruby/Makefile b/textproc/eruby/Makefile
index 6638211be92..62fe2027498 100644
--- a/textproc/eruby/Makefile
+++ b/textproc/eruby/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= eruby
-PORTVERSION= 0.1.1
+PORTVERSION= ${VERSION}
PORTREVISION= 1
CATEGORIES= textproc www ruby
MASTER_SITES= http://www.ruby-lang.org/~shugo/eruby/
@@ -15,6 +15,15 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
+RUBY_REQUIRE= 160 <= Ruby
+
+.include <bsd.port.pre.mk>
+
+.if defined(RUBY_PROVIDED)
+VERSION= 0.1.2
+.else
+VERSION= 0.1.1
+.endif
CONFIGURE_ARGS= --enable-shared --default-charset="${DEFAULT_CHARSET}"
INSTALLS_SHLIB= yes
@@ -40,4 +49,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/eruby/distinfo b/textproc/eruby/distinfo
index 7f8aec87ce3..d1b6796ebbd 100644
--- a/textproc/eruby/distinfo
+++ b/textproc/eruby/distinfo
@@ -1 +1,2 @@
MD5 (ruby/eruby-0.1.1.tar.gz) = bd924fc22f46750f927553358b22ca19
+MD5 (ruby/eruby-0.1.2.tar.gz) = c69ed7d6c622fc9e6b9eab50606c1d0f