summaryrefslogtreecommitdiff
path: root/textproc/ruby-xmlscan-old/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ruby-xmlscan-old/Makefile')
-rw-r--r--textproc/ruby-xmlscan-old/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/textproc/ruby-xmlscan-old/Makefile b/textproc/ruby-xmlscan-old/Makefile
index 5ed1ec80747e..934ebb633d8d 100644
--- a/textproc/ruby-xmlscan-old/Makefile
+++ b/textproc/ruby-xmlscan-old/Makefile
@@ -17,12 +17,7 @@ MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= racc:${PORTSDIR}/devel/ruby-racc
USE_RUBY= yes
-
-.include <bsd.port.pre.mk>
-
-.if ${RUBY_VER} < 1.7
-RUN_DEPENDS+= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/lang/ruby16-shim-ruby18
-.endif
+USE_RUBY_FEATURES= racc-runtime
do-build:
cd ${WRKSRC}; racc -v -g -c -o xmldtd.rb xmldtd.ry
@@ -34,4 +29,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>