diff options
author | knu <knu@FreeBSD.org> | 2002-09-21 15:11:33 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-09-21 15:11:33 +0800 |
commit | 26a5decc21d5346ac279d24e9a5f550a5df7df86 (patch) | |
tree | 7b03c7a89bb45363781bdfdbde422c2711df4537 /japanese/rbnamazu | |
parent | 51f52db84625d66e2ce85affe0065e6bdd12429d (diff) | |
download | freebsd-ports-graphics-26a5decc21d5346ac279d24e9a5f550a5df7df86.tar.gz freebsd-ports-graphics-26a5decc21d5346ac279d24e9a5f550a5df7df86.tar.zst freebsd-ports-graphics-26a5decc21d5346ac279d24e9a5f550a5df7df86.zip |
Define USE_RUBY_FEATURES instead of hardcoding conditional *_DEPENDS.
Diffstat (limited to 'japanese/rbnamazu')
-rw-r--r-- | japanese/rbnamazu/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/japanese/rbnamazu/Makefile b/japanese/rbnamazu/Makefile index 0a5e31c4521..fb861eaa08e 100644 --- a/japanese/rbnamazu/Makefile +++ b/japanese/rbnamazu/Makefile @@ -14,6 +14,7 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org USE_RUBY= yes +USE_RUBY_FEATURES= optparse .if !defined(NOPORTDOCS) USE_RUBY_RD= yes .endif @@ -23,12 +24,6 @@ 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 @@ -49,4 +44,4 @@ do-install: .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |