Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 15:00:25 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350496 - head/math/ruby-narray_miss
Message-ID:  <201404071500.s37F0PYi093235@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Apr  7 15:00:24 2014
New Revision: 350496
URL: http://svnweb.freebsd.org/changeset/ports/350496
QAT: https://qat.redports.org/buildarchive/r350496/

Log:
  Support stage

Modified:
  head/math/ruby-narray_miss/Makefile

Modified: head/math/ruby-narray_miss/Makefile
==============================================================================
--- head/math/ruby-narray_miss/Makefile	Mon Apr  7 14:57:04 2014	(r350495)
+++ head/math/ruby-narray_miss/Makefile	Mon Apr  7 15:00:24 2014	(r350496)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404071500.s37F0PYi093235>