aboutsummaryrefslogtreecommitdiff
path: root/mail/ruby-tmail/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-06-09 04:33:36 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-06-09 04:33:36 +0000
commit3417b89e3048c6590b8575dd0cda226d4e48037c (patch)
treee48a3fc40be74a8615d9467033d2c44de44cb561 /mail/ruby-tmail/Makefile
parentfddcc32c8bbcf887634b487fa74621d14a7d95a4 (diff)
downloadports-3417b89e3048c6590b8575dd0cda226d4e48037c.tar.gz
ports-3417b89e3048c6590b8575dd0cda226d4e48037c.zip
devel/ruby-racc-runtime has been replaced with lang/ruby16-shim-ruby18.
Reported by: make index
Notes
Notes: svn path=/head/; revision=60942
Diffstat (limited to 'mail/ruby-tmail/Makefile')
-rw-r--r--mail/ruby-tmail/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/ruby-tmail/Makefile b/mail/ruby-tmail/Makefile
index dc98c681175b..5de2f6a1dfcd 100644
--- a/mail/ruby-tmail/Makefile
+++ b/mail/ruby-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>