aboutsummaryrefslogtreecommitdiffstats
path: root/mail/rubygem-tmail
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-06-09 12:33:36 +0800
committerknu <knu@FreeBSD.org>2002-06-09 12:33:36 +0800
commite04fcbdf2a9b8fddadf78a8529351149cca47d40 (patch)
tree3628685abc16ccc349150e682306a682f0f9cad7 /mail/rubygem-tmail
parent7f53da36025cef0d03667a5450cdf9badd4d5a09 (diff)
downloadfreebsd-ports-graphics-e04fcbdf2a9b8fddadf78a8529351149cca47d40.tar.gz
freebsd-ports-graphics-e04fcbdf2a9b8fddadf78a8529351149cca47d40.tar.zst
freebsd-ports-graphics-e04fcbdf2a9b8fddadf78a8529351149cca47d40.zip
devel/ruby-racc-runtime has been replaced with lang/ruby16-shim-ruby18.
Reported by: make index
Diffstat (limited to 'mail/rubygem-tmail')
-rw-r--r--mail/rubygem-tmail/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/rubygem-tmail/Makefile b/mail/rubygem-tmail/Makefile
index dc98c681175..5de2f6a1dfc 100644
--- a/mail/rubygem-tmail/Makefile
+++ b/mail/rubygem-tmail/Makefile
@@ -17,8 +17,6 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
-RUN_DEPENDS= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/devel/ruby-racc-runtime
-
USE_RUBY= yes
USE_RUBY_SETUP= yes
@@ -26,6 +24,12 @@ CONFIGURE_ARGS= --with=tmail
WRKDIR_TMAIL= ${WRKSRC}/packages/tmail
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} < 1.7
+RUN_DEPENDS+= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/lang/ruby16-shim-ruby18
+.endif
+
do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
@@ -35,4 +39,4 @@ do-install:
${CP} -R ${WRKDIR_TMAIL}/Incompatibilities.ja ${WRKDIR_TMAIL}/README.ja ${WRKDIR_TMAIL}/doc.ja/* ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>