summaryrefslogtreecommitdiff
path: root/math/ruby-narray/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/ruby-narray/Makefile')
-rw-r--r--math/ruby-narray/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/math/ruby-narray/Makefile b/math/ruby-narray/Makefile
index a6d0e7d01914..f4d9914bf0c4 100644
--- a/math/ruby-narray/Makefile
+++ b/math/ruby-narray/Makefile
@@ -7,6 +7,7 @@
PORTNAME= narray
PORTVERSION= 0.5.5
+PORTREVISION= 1
CATEGORIES= math ruby
MASTER_SITES= http://www.ir.isas.ac.jp/~masa/ruby/dist/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -26,15 +27,15 @@ DOC_JA= README.jp SPEC.jp
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_DOCDIR}/narray/ja
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
.for f in ${DOC_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/narray/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.for f in ${DOC_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/narray/ja/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endfor
- ${MKDIR} ${RUBY_EXAMPLESDIR}/narray
- ${INSTALL_DATA} ${WRKSRC}/speed/*.rb ${RUBY_EXAMPLESDIR}/narray/
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/speed/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
.endif
.include <bsd.port.mk>