aboutsummaryrefslogtreecommitdiff
path: root/textproc/ruby-xmlscan
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-09-21 07:11:33 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-09-21 07:11:33 +0000
commite7adaf2a02a4c7dd3c11ed93a4cf6bfb5241fae1 (patch)
tree96777ce3759dc136cce0095a6a1045bf877dc452 /textproc/ruby-xmlscan
parent598667b8d4f59ab4b27867072574aec01fc2d591 (diff)
downloadports-e7adaf2a02a4c7dd3c11ed93a4cf6bfb5241fae1.tar.gz
ports-e7adaf2a02a4c7dd3c11ed93a4cf6bfb5241fae1.zip
Notes
Diffstat (limited to 'textproc/ruby-xmlscan')
-rw-r--r--textproc/ruby-xmlscan/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/textproc/ruby-xmlscan/Makefile b/textproc/ruby-xmlscan/Makefile
index 5ed1ec80747e..934ebb633d8d 100644
--- a/textproc/ruby-xmlscan/Makefile
+++ b/textproc/ruby-xmlscan/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>