Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 15:04:14 +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: r350498 - head/math/ruby-numru_units
Message-ID:  <201404071504.s37F4EuG096275@svn.freebsd.org>

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

Log:
  Support stage

Modified:
  head/math/ruby-numru_units/Makefile

Modified: head/math/ruby-numru_units/Makefile
==============================================================================
--- head/math/ruby-numru_units/Makefile	Mon Apr  7 15:02:39 2014	(r350497)
+++ head/math/ruby-numru_units/Makefile	Mon Apr  7 15:04:14 2014	(r350498)
@@ -14,7 +14,9 @@ DIST_SUBDIR=	ruby
 MAINTAINER=	murashin@gfd-dennou.org
 COMMENT=	A class to handle units of physical quantities for Ruby
 
-LICENSE=	BSD
+OPTIONS_DEFINE=	DOCS
+
+LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 USE_RUBY=	yes
@@ -22,16 +24,11 @@ NO_BUILD=	yes
 
 DOCS=		ChangeLog LICENSE.txt doc/units.html doc/units.rd
 
-NO_STAGE=	yes
 do-install:
-	@cd ${WRKSRC}/ && ${RUBY} ./install.rb
-
-post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${RUBY_MODDOCDIR}
+	@cd ${WRKSRC}/ && ${RUBY} ./install.rb -d ${STAGEDIR}${RUBY_SITELIBDIR}
+	@${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
 .for f in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
+	${INSTALL_DATA} ${WRKSRC}/${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?201404071504.s37F4EuG096275>