aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-racc
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-09-21 15:11:33 +0800
committerknu <knu@FreeBSD.org>2002-09-21 15:11:33 +0800
commit26a5decc21d5346ac279d24e9a5f550a5df7df86 (patch)
tree7b03c7a89bb45363781bdfdbde422c2711df4537 /devel/ruby-racc
parent51f52db84625d66e2ce85affe0065e6bdd12429d (diff)
downloadfreebsd-ports-gnome-26a5decc21d5346ac279d24e9a5f550a5df7df86.tar.gz
freebsd-ports-gnome-26a5decc21d5346ac279d24e9a5f550a5df7df86.tar.zst
freebsd-ports-gnome-26a5decc21d5346ac279d24e9a5f550a5df7df86.zip
Define USE_RUBY_FEATURES instead of hardcoding conditional *_DEPENDS.
Diffstat (limited to 'devel/ruby-racc')
-rw-r--r--devel/ruby-racc/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/devel/ruby-racc/Makefile b/devel/ruby-racc/Makefile
index 30085008c8df..5e07835d38f5 100644
--- a/devel/ruby-racc/Makefile
+++ b/devel/ruby-racc/Makefile
@@ -19,18 +19,12 @@ MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
USE_RUBY_SETUP= yes
+USE_RUBY_FEATURES= racc-runtime
CONFIGURE_ARGS= --with=racc
WRKDIR_RACC= ${WRKSRC}/packages/racc
-.include <bsd.port.pre.mk>
-
-.if ${RUBY_VER} < 1.7
-RUN_DEPENDS+= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/lang/ruby16-shim-ruby18 \
- ${RUBY_SITEARCHLIBDIR}/strscan.so:${PORTSDIR}/lang/ruby16-shim-ruby18
-.endif
-
post-extract:
${CP} -p ${WRKDIR_RACC}/misc/* ${WRKDIR_RACC}/bin/
@@ -43,4 +37,4 @@ do-install:
${INSTALL_DATA} ${WRKDIR_RACC}/doc.ja/* ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>