aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ruby-tmail/Makefile9
-rw-r--r--mail/rubygem-tmail/Makefile9
2 files changed, 4 insertions, 14 deletions
diff --git a/mail/ruby-tmail/Makefile b/mail/ruby-tmail/Makefile
index 1b74af57f95a..6ba2c842c720 100644
--- a/mail/ruby-tmail/Makefile
+++ b/mail/ruby-tmail/Makefile
@@ -19,17 +19,12 @@ MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
USE_RUBY_SETUP= yes
+USE_RUBY_FEATURES= racc-runtime
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}
@@ -39,4 +34,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.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/rubygem-tmail/Makefile b/mail/rubygem-tmail/Makefile
index 1b74af57f95a..6ba2c842c720 100644
--- a/mail/rubygem-tmail/Makefile
+++ b/mail/rubygem-tmail/Makefile
@@ -19,17 +19,12 @@ MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
USE_RUBY_SETUP= yes
+USE_RUBY_FEATURES= racc-runtime
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}
@@ -39,4 +34,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.post.mk>
+.include <bsd.port.mk>