1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Fix plist with -DNOPORT*.

Prompted by:	QAT QA run
Approved by:	maintainer timeout on QATMail
This commit is contained in:
Ion-Mihai Tetcu 2009-04-07 21:17:32 +00:00
parent 8899c2d0a9
commit 6aedeed6e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231817
2 changed files with 5 additions and 3 deletions

View File

@ -21,12 +21,14 @@ COMMENT= A flexible Ruby profiler
USE_RUBY= yes
NO_BUILD= yes
NO_BUILD= yes
do-install:
${MKDIR} ${PORTDOCS}${RUBY_DOCDIR}/rbprof
.ifndef NOPORTDOCS
@${MKDIR} ${PORTDOCS}${RUBY_DOCDIR}/rbprof
${INSTALL_DATA} ${WRKSRC}/README ${PORTDOCS}${RUBY_DOCDIR}/rbprof/
${INSTALL_DATA} ${WRKSRC}/TODO ${PORTDOCS}${RUBY_DOCDIR}/rbprof/
.endif
${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}/

View File

@ -2,5 +2,5 @@
%%PORTDOCS%%%%RUBY_DOCDIR%%/rbprof/TODO
%%RUBY_SITELIBDIR%%/rbprof.rb
%%RUBY_SITELIBDIR%%/rbprof/trap_method_definitions.rb
@dirrm %%PORTDOCS%%%%RUBY_DOCDIR%%/rbprof
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/rbprof
@dirrm %%RUBY_SITELIBDIR%%/rbprof