aboutsummaryrefslogtreecommitdiff
path: root/japanese/rbnamazu
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 /japanese/rbnamazu
parent598667b8d4f59ab4b27867072574aec01fc2d591 (diff)
downloadports-e7adaf2a02a4c7dd3c11ed93a4cf6bfb5241fae1.tar.gz
ports-e7adaf2a02a4c7dd3c11ed93a4cf6bfb5241fae1.zip
Notes
Diffstat (limited to 'japanese/rbnamazu')
-rw-r--r--japanese/rbnamazu/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/japanese/rbnamazu/Makefile b/japanese/rbnamazu/Makefile
index 0a5e31c45219..fb861eaa08e5 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>