diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-08-03 09:03:49 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-08-03 09:03:49 +0000 |
commit | fe8a515d5877db37bb0c2f2c9e8396ceead603cc (patch) | |
tree | f3818280cde8ba0f86c24567eb96d171dd1ecfc6 /japanese/rbnamazu | |
parent | 1fd170c545428c9bf723ce9134821ed854e11ba7 (diff) | |
download | ports-fe8a515d5877db37bb0c2f2c9e8396ceead603cc.tar.gz ports-fe8a515d5877db37bb0c2f2c9e8396ceead603cc.zip |
Notes
Diffstat (limited to 'japanese/rbnamazu')
-rw-r--r-- | japanese/rbnamazu/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/japanese/rbnamazu/Makefile b/japanese/rbnamazu/Makefile index 0a09e1d33d66..0a5e31c45219 100644 --- a/japanese/rbnamazu/Makefile +++ b/japanese/rbnamazu/Makefile @@ -13,8 +13,6 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org -RUN_DEPENDS= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse - USE_RUBY= yes .if !defined(NOPORTDOCS) USE_RUBY_RD= yes @@ -25,6 +23,12 @@ NO_BUILD= yes MODULES= rbnamazu.rb nmzqr.rb nmzqr.tab.rb nmzdoc.rb RD_DOCS= rbnamazu.rd.ja rbnamazu.rd.en +.include <bsd.port.pre.mk> + +.if ${RUBY_VER} < 1.7 +RUN_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/lang/ruby16-shim-ruby18 +.endif + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/namazu.rb ${PREFIX}/bin/ ${LN} -sf namazu.rb ${PREFIX}/bin/rbnamazu @@ -45,4 +49,4 @@ do-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |