1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/devel/ruby-rcov/Makefile
Cheng-Lung Sung 6aab02c756 * Update to 0.7.0
* Use rubyforge.org mirrors

PR:		ports/102186
Submitted by:	maintainer (Rui Lopes)
2006-08-17 15:32:16 +00:00

43 lines
1.1 KiB
Makefile

# Ports collection makefile for: rcov
# Date created: 25 May 2006
# Whom: Rui Lopes (rgl ruilopes com)
#
# $FreeBSD$
#
PORTNAME= rcov
PORTVERSION= 0.7.0
CATEGORIES= devel ruby
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= rgl@ruilopes.com
COMMENT= A tool for simple code coverage analysis in Ruby
USE_RUBY= yes
USE_RUBY_SETUP= yes
DOC_FILES= BLURB CHANGES LEGAL LICENSE README.API \
README.en README.rake README.rant THANKS
EXAMPLE_FILES= Rakefile Rantfile
# make sure setup.rb honours $PREFIX
post-configure:
@${REINPLACE_CMD} -E 's,^([^r].+=)${LOCALBASE}(.*)$$,\1${PREFIX}\2,g' ${WRKSRC}/.config
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${RUBY_MODEXAMPLESDIR:S,^${LOCALBASE},${PREFIX},}
${MKDIR} ${RUBY_MODDOCDIR:S,^${LOCALBASE},${PREFIX},}
.for f in ${EXAMPLE_FILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR:S,^${LOCALBASE},${PREFIX},}
.endfor
.for f in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR:S,^${LOCALBASE},${PREFIX},}
.endfor
.endif
.include <bsd.port.mk>