aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-07 23:00:24 +0800
committerbapt <bapt@FreeBSD.org>2014-04-07 23:00:24 +0800
commit916f451f2472bfbe345a4aeb396304c296e8c6bb (patch)
treefc02b510ac4e35c1711725965eff7cb273959ffa /math
parent16c99566a4c75a32f7197a929c050237c0aae376 (diff)
downloadfreebsd-ports-graphics-916f451f2472bfbe345a4aeb396304c296e8c6bb.tar.gz
freebsd-ports-graphics-916f451f2472bfbe345a4aeb396304c296e8c6bb.tar.zst
freebsd-ports-graphics-916f451f2472bfbe345a4aeb396304c296e8c6bb.zip
Support stage
Diffstat (limited to 'math')
-rw-r--r--math/ruby-narray_miss/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/math/ruby-narray_miss/Makefile b/math/ruby-narray_miss/Makefile
index 7204f47567d..add794e40a1 100644
--- a/math/ruby-narray_miss/Makefile
+++ b/math/ruby-narray_miss/Makefile
@@ -14,7 +14,9 @@ DIST_SUBDIR= ruby
MAINTAINER= murashin@gfd-dennou.org
COMMENT= Additional class with processing of missing value to NArray
-LICENSE= BSD
+OPTIONS_DEFINE= DOCS
+
+LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/${PORTNAME}/LICENSE.txt
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
@@ -27,14 +29,11 @@ NO_BUILD= yes
DOCS= LICENSE.txt README.rdoc
-NO_STAGE= yes
do-install:
- cd ${WRKSRC}/${PORTNAME} && ${RAKE_BIN} nongeminstall
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODDOCDIR}
+ cd ${WRKSRC}/${PORTNAME} && ${SETENV} DESTDIR=${STAGEDIR} ${RAKE_BIN} nongeminstall
+ @${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/${f} ${RUBY_MODDOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}
.endfor
-.endif
.include <bsd.port.mk>