summaryrefslogtreecommitdiff
path: root/textproc/eruby
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-10-20 20:20:54 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-10-20 20:20:54 +0000
commit404d32719774716fb35c45363f59d55692c9b31b (patch)
treec9d9d34ac0036b2f97ff27423b0433f74bbb5ff0 /textproc/eruby
parentUse RUBY_PORTVERSION, RUBY_DISTNAME and RUBY_WRKSRC. (diff)
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.
Notes
Notes: svn path=/head/; revision=34041
Diffstat (limited to 'textproc/eruby')
-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 6638211be921..62fe2027498a 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 7f8aec87ce3d..d1b6796ebbd0 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