diff options
author | knu <knu@FreeBSD.org> | 2002-08-03 09:03:49 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-08-03 09:03:49 +0000 |
commit | 73fca039a6f8914d8905ea95d4a01f911b39fc81 (patch) | |
tree | de19c7b4cbffc79091309701ed30766d8f1db501 /japanese/rbnamazu/Makefile | |
parent | fe3083416443ee9b2b2367bfee3293a2057476b2 (diff) | |
download | FreeBSD-ports-73fca039a6f8914d8905ea95d4a01f911b39fc81.zip FreeBSD-ports-73fca039a6f8914d8905ea95d4a01f911b39fc81.tar.gz |
ruby-optparse is now part of ruby16-shim-ruby18.
Diffstat (limited to 'japanese/rbnamazu/Makefile')
-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 0a09e1d..0a5e31c 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> |