diff options
Diffstat (limited to 'textproc/eruby')
-rw-r--r-- | textproc/eruby/Makefile | 13 | ||||
-rw-r--r-- | textproc/eruby/distinfo | 1 |
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 |