summaryrefslogtreecommitdiffstats
path: root/security/ruby-sha1
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-05-17 21:16:46 +0000
committerknu <knu@FreeBSD.org>2001-05-17 21:16:46 +0000
commita62ab3c21d49feab313194efc5110e470d051867 (patch)
tree7d779b81eafab4c47003555beec150835d72329a /security/ruby-sha1
parent5f7dc21297d25fcac72f0cf5ff48ca87d952478f (diff)
downloadFreeBSD-ports-a62ab3c21d49feab313194efc5110e470d051867.zip
FreeBSD-ports-a62ab3c21d49feab313194efc5110e470d051867.tar.gz
Update lang/ruby and lang/ruby-devel to the latest snapshots.
Remove shells/ruby-shell as it is now part of the standard distribution. (in both Ruby 1.6.4 and 1.7.0) Mark security/ruby-sha1 broken for Ruby >= 1.7.0, as it is also part of the standard distribution now.
Diffstat (limited to 'security/ruby-sha1')
-rw-r--r--security/ruby-sha1/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/security/ruby-sha1/Makefile b/security/ruby-sha1/Makefile
index cc0db19..f52aa8e 100644
--- a/security/ruby-sha1/Makefile
+++ b/security/ruby-sha1/Makefile
@@ -21,10 +21,18 @@ USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
+RUBY_REQUIRE= Ruby < 170
+
+.include <bsd.port.pre.mk>
+
+.if !defined(RUBY_PROVIDED)
+BROKEN= "ruby-sha1 is included as a standard module in Ruby >= 1.7.0"
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/sha1
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/sha1/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud