From e7adaf2a02a4c7dd3c11ed93a4cf6bfb5241fae1 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sat, 21 Sep 2002 07:11:33 +0000 Subject: Define USE_RUBY_FEATURES instead of hardcoding conditional *_DEPENDS. --- mail/ruby-tmail/Makefile | 9 ++------- mail/rubygem-tmail/Makefile | 9 ++------- 2 files changed, 4 insertions(+), 14 deletions(-) (limited to 'mail') 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 - -.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 +.include 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 - -.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 +.include -- cgit v1.2.3