aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-07 22:01:14 +0800
committerbapt <bapt@FreeBSD.org>2014-04-07 22:01:14 +0800
commit0fb29bd301a6839e399f466b18b58c6bac991f32 (patch)
treec3bf3ac8a544730e9421a0b4318cad2d0a492cde /devel
parentd03f78a5f07244b8a6365c42d4dc09fdbb620ff5 (diff)
downloadfreebsd-ports-gnome-0fb29bd301a6839e399f466b18b58c6bac991f32.tar.gz
freebsd-ports-gnome-0fb29bd301a6839e399f466b18b58c6bac991f32.tar.zst
freebsd-ports-gnome-0fb29bd301a6839e399f466b18b58c6bac991f32.zip
Support stage
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-rbprof/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/devel/ruby-rbprof/Makefile b/devel/ruby-rbprof/Makefile
index 392029d10fac..dc6148592ef3 100644
--- a/devel/ruby-rbprof/Makefile
+++ b/devel/ruby-rbprof/Makefile
@@ -9,7 +9,9 @@ DISTNAME= aspectr-0-3-5
DIST_SUBDIR= ruby
MAINTAINER= sean@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>