From 2cfbc8e92cc6599e366fbf89d944e5e72293c939 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 7 Apr 2014 15:00:24 +0000 Subject: [PATCH] Support stage --- math/ruby-narray_miss/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/math/ruby-narray_miss/Makefile b/math/ruby-narray_miss/Makefile index 7204f47567df..add794e40a13 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