svn commit: r350480 - head/devel/ruby-rbprof
Baptiste Daroussin
bapt at FreeBSD.org
Mon Apr 7 14:01:15 UTC 2014
Author: bapt
Date: Mon Apr 7 14:01:14 2014
New Revision: 350480
URL: http://svnweb.freebsd.org/changeset/ports/350480
QAT: https://qat.redports.org/buildarchive/r350480/
Log:
Support stage
Modified:
head/devel/ruby-rbprof/Makefile
Modified: head/devel/ruby-rbprof/Makefile
==============================================================================
--- head/devel/ruby-rbprof/Makefile Mon Apr 7 13:59:23 2014 (r350479)
+++ head/devel/ruby-rbprof/Makefile Mon Apr 7 14:01:14 2014 (r350480)
@@ -9,7 +9,9 @@ DISTNAME= aspectr-0-3-5
DIST_SUBDIR= ruby
MAINTAINER= sean at chittenden.org
-COMMENT= A flexible Ruby profiler
+COMMENT= Flexible Ruby profiler
+
+OPTIONS_DEFINE= DOCS
#RUN_DEPENDS= ${RUBY_SITELIBDIR}/runit/error.rb:${PORTSDIR}/devel/ruby-unit \
# ${RUBY_SITELIBDIR}/aspectr.rb:${PORTSDIR}/devel/ruby-aspectr
@@ -18,17 +20,14 @@ USE_RUBY= yes
NO_BUILD= yes
-NO_STAGE= yes
do-install:
-.ifndef NOPORTDOCS
- @${MKDIR} ${PORTDOCS}${RUBY_DOCDIR}/rbprof
- ${INSTALL_DATA} ${WRKSRC}/README ${PORTDOCS}${RUBY_DOCDIR}/rbprof/
- ${INSTALL_DATA} ${WRKSRC}/TODO ${PORTDOCS}${RUBY_DOCDIR}/rbprof/
-.endif
+ @${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/rbprof
+ @${MKDIR} ${STAGEDIR}${PORTDOCS}${RUBY_DOCDIR}/rbprof
+ ${INSTALL_DATA} ${WRKSRC}/README \
+ ${WRKSRC}/TODO ${STAGEDIR}${PORTDOCS}${RUBY_DOCDIR}/rbprof/
${RUBY} -p -i -e 'gsub(/\r\n/, "\n")' ${WRKSRC}/aspects/profiler/lib/rbprof.rb
${RUBY} -p -i -e 'gsub(/\r\n/, "\n")' ${WRKSRC}/aspects/profiler/lib/trap_method_definitions.rb
- ${INSTALL_DATA} ${WRKSRC}/aspects/profiler/lib/rbprof.rb ${RUBY_SITELIBDIR}/
- ${MKDIR} ${RUBY_SITELIBDIR}/rbprof
- ${INSTALL_DATA} ${WRKSRC}/aspects/profiler/lib/trap_method_definitions.rb ${RUBY_SITELIBDIR}/rbprof/
+ ${INSTALL_DATA} ${WRKSRC}/aspects/profiler/lib/rbprof.rb ${STAGEDIR}${RUBY_SITELIBDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/aspects/profiler/lib/trap_method_definitions.rb ${STAGEDIR}${RUBY_SITELIBDIR}/rbprof/
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list