svn commit: r346092 - head/devel/ruby-memoize

Martin Wilke miwi at FreeBSD.org
Wed Feb 26 04:45:16 UTC 2014


Author: miwi
Date: Wed Feb 26 04:45:16 2014
New Revision: 346092
URL: http://svnweb.freebsd.org/changeset/ports/346092
QAT: https://qat.redports.org/buildarchive/r346092/

Log:
  - Stage support

Modified:
  head/devel/ruby-memoize/Makefile

Modified: head/devel/ruby-memoize/Makefile
==============================================================================
--- head/devel/ruby-memoize/Makefile	Wed Feb 26 04:45:10 2014	(r346091)
+++ head/devel/ruby-memoize/Makefile	Wed Feb 26 04:45:16 2014	(r346092)
@@ -22,14 +22,12 @@ PORTEXAMPLES=	example_fibonacci.rb \
 		example_memoize.rb
 EXAMPLESDIR=	${RUBY_MODEXAMPLESDIR}
 
-NO_STAGE=	yes
 do-install:
-	@${INSTALL_DATA} ${WRKSRC}/lib/memoize.rb ${RUBY_SITELIBDIR}/
-.if !defined(NOPORTEXAMPLES)
-	@${MKDIR} ${RUBY_MODEXAMPLESDIR}
+	${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
+	${INSTALL_DATA} ${WRKSRC}/lib/memoize.rb ${STAGEDIR}${RUBY_SITELIBDIR}/
+	${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
 .for f in ${PORTEXAMPLES}
-	@${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_MODEXAMPLESDIR}
+	@${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list