ports/devel/ruby-rbprof/Makefile
Rodrigo Osorio 06df180a9e */*: Update WWW to use HTTPS for sourceforge.net projects
Homepage link is permanent redirected to its HTTPS counterpart
Issue reported by repology : https://repology.org/repository/freebsd/problems

Approved by:	portmgr (blanket)
PR:		274888
2023-11-06 11:03:47 +01:00

31 lines
1 KiB
Makefile

PORTNAME= rbprof
PORTVERSION= 0.2.1
CATEGORIES= devel ruby
MASTER_SITES= SF/aspectr/aspectr/0.3.5
DISTNAME= aspectr-0-3-5
DIST_SUBDIR= ruby
MAINTAINER= sean@chittenden.org
COMMENT= Flexible Ruby profiler
WWW= https://aspectr.sourceforge.net/rbprof/
OPTIONS_DEFINE= DOCS
#RUN_DEPENDS= ${RUBY_SITELIBDIR}/runit/error.rb:devel/ruby-unit \
# ${RUBY_SITELIBDIR}/aspectr.rb:devel/ruby-aspectr
USES= dos2unix ruby
NO_BUILD= yes
do-install:
@${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 ${STAGEDIR}${RUBY_SITELIBDIR}/
${INSTALL_DATA} ${WRKSRC}/aspects/profiler/lib/trap_method_definitions.rb ${STAGEDIR}${RUBY_SITELIBDIR}/rbprof/
.include <bsd.port.mk>