aboutsummaryrefslogtreecommitdiff
path: root/archivers/ruby-bz2
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2004-03-04 18:50:24 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2004-03-04 18:50:24 +0000
commit234745cc6ee4199bf46318a8b02374c06c33d198 (patch)
treee05137fe0532ca3acbc456f7c52fa7a380f8d6d1 /archivers/ruby-bz2
parent9f452ffa0543c057a7008eacaf98816c7e456b15 (diff)
downloadports-234745cc6ee4199bf46318a8b02374c06c33d198.tar.gz
ports-234745cc6ee4199bf46318a8b02374c06c33d198.zip
Notes
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)