aboutsummaryrefslogtreecommitdiff
path: root/textproc/ruby-xmlscan-old/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-06-09 06:10:04 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-06-09 06:10:04 +0000
commit91a4d5dbbf4e29986ef823b3e855d1a15cae1777 (patch)
treedc15494353b20e0c6999fc20e0e9b986ba01c23f /textproc/ruby-xmlscan-old/Makefile
parent536c69d9042aa2b6ac0440d0c89ec1aa6f4c4a39 (diff)
downloadports-91a4d5dbbf4e29986ef823b3e855d1a15cae1777.tar.gz
ports-91a4d5dbbf4e29986ef823b3e855d1a15cae1777.zip
Notes
Diffstat (limited to 'textproc/ruby-xmlscan-old/Makefile')
-rw-r--r--textproc/ruby-xmlscan-old/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/textproc/ruby-xmlscan-old/Makefile b/textproc/ruby-xmlscan-old/Makefile
index 7b4170cfe394..5ed1ec80747e 100644
--- a/textproc/ruby-xmlscan-old/Makefile
+++ b/textproc/ruby-xmlscan-old/Makefile
@@ -15,10 +15,15 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= racc:${PORTSDIR}/devel/ruby-racc
-RUN_DEPENDS= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/devel/ruby-racc-runtime
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
+
do-build:
cd ${WRKSRC}; racc -v -g -c -o xmldtd.rb xmldtd.ry
@@ -29,4 +34,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>