aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-04-08 05:17:32 +0800
committeritetcu <itetcu@FreeBSD.org>2009-04-08 05:17:32 +0800
commitf27ba41f9d99f1d8e7b1606c2929c1c1416dea81 (patch)
treed2a968c7061fb7a70b6e1015669f7a4b857707e3
parent2fd528cef638af6dcc45fcb93e0b01b583067781 (diff)
downloadfreebsd-ports-gnome-f27ba41f9d99f1d8e7b1606c2929c1c1416dea81.tar.gz
freebsd-ports-gnome-f27ba41f9d99f1d8e7b1606c2929c1c1416dea81.tar.zst
freebsd-ports-gnome-f27ba41f9d99f1d8e7b1606c2929c1c1416dea81.zip
Fix plist with -DNOPORT*.
Prompted by: QAT QA run Approved by: maintainer timeout on QATMail
-rw-r--r--devel/ruby-rbprof/Makefile6
-rw-r--r--devel/ruby-rbprof/pkg-plist2
2 files changed, 5 insertions, 3 deletions
diff --git a/devel/ruby-rbprof/Makefile b/devel/ruby-rbprof/Makefile
index ebf6156273cb..8dbe376b3fbc 100644
--- a/devel/ruby-rbprof/Makefile
+++ b/devel/ruby-rbprof/Makefile
@@ -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}/
diff --git a/devel/ruby-rbprof/pkg-plist b/devel/ruby-rbprof/pkg-plist
index eb3da2ed792c..28a5361eb315 100644
--- a/devel/ruby-rbprof/pkg-plist
+++ b/devel/ruby-rbprof/pkg-plist
@@ -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