aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/ruby-bz2
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2004-03-05 02:50:24 +0800
committerknu <knu@FreeBSD.org>2004-03-05 02:50:24 +0800
commitb09f92507c848662f08b76e3bbdecc4c2b072233 (patch)
tree9f8e291ff5eca25a34a636c56f1cacd8606afb4f /archivers/ruby-bz2
parentb8910456a441d3f32dc120da80165a4df4e2a83f (diff)
downloadfreebsd-ports-gnome-b09f92507c848662f08b76e3bbdecc4c2b072233.tar.gz
freebsd-ports-gnome-b09f92507c848662f08b76e3bbdecc4c2b072233.tar.zst
freebsd-ports-gnome-b09f92507c848662f08b76e3bbdecc4c2b072233.zip
This does not work with ruby 1.6, but requires ruby 1.8 or later.
Maybe ruby 1.6 will be supported again, but for the moment mark this port IGNORE when it is being built with ruby 1.6. PR: ports/61631 Submitted by: Paul Argentoff <argentoff@rtelekom.ru>
Diffstat (limited to 'archivers/ruby-bz2')
-rw-r--r--archivers/ruby-bz2/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/archivers/ruby-bz2/Makefile b/archivers/ruby-bz2/Makefile
index 03fb714ad761..220589fa85a8 100644
--- a/archivers/ruby-bz2/Makefile
+++ b/archivers/ruby-bz2/Makefile
@@ -29,6 +29,15 @@ DOCS= Changes \
${RUBY_RD_HTML_FILES} \
docs/doc
+RUBY_REQUIRE= Ruby >= 180
+
+.include <bsd.port.pre.mk>
+
+.if !defined(RUBY_PROVIDED)
+IGNORE= only works with Ruby 1.8 or later
+RUBY_VER= 1.8 # This gets in effect when NO_IGNORE is defined
+.endif
+
post-build:
.if !defined(NOPORTDOCS)
cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc
@@ -36,7 +45,7 @@ post-build:
post-install: doc-install
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
doc-install:
.if !defined(NOPORTDOCS)