Rake is a simple ruby build program with capabilities similar to make. Rake has the following features: * Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax. No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?) * Users can specify tasks with prerequisites. * Rake supports rule patterns to sythesize implicit tasks. * Rake is lightweight. It can be distributed with other projects as a single file. Projects that depend upon rake do not require that rake be installed on target systems.
23 lines
576 B
Makefile
23 lines
576 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2005/04/11 04:07:44 minskim Exp $
|
|
|
|
DISTNAME= rake-0.5.3
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= http://rubyforge.org/frs/download.php/3876/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://rake.rubyforge.org/
|
|
COMMENT= Ruby Make
|
|
|
|
NO_BUILD= yes
|
|
USE_RUBY_INSTALL= yes
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
|
|
pre-configure:
|
|
${MV} ${WRKSRC}/bin/rake ${WRKSRC}/bin/rake.orig
|
|
${ECHO} "#!${RUBY}" > ${WRKSRC}/bin/rake
|
|
${CAT} ${WRKSRC}/bin/rake.orig >> ${WRKSRC}/bin/rake
|
|
${RM} ${WRKSRC}/bin/rake.orig
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|