Changes since 0.7.1: * Error messages are now send to stderr rather than stdout (from Payton Quackenbush). * Better error handling on invalid command line arguments (from Payton Quackenbush). * Added rcov task and updated unit testing for better code coverage. * Fixed some bugs where the application object was going to the global appliation instead of using its own data. * Added square and curly bracket patterns to FileList#include (Tilman Sauerbeck). * Added plain filename support to rule dependents (suggested by Nobu Nakada). * Added pathmap support to rule dependents. * Added a 'tasks' method to a namespace to get a list of tasks associated with the namespace. * Fixed the method name leak from FileUtils (bug found by Glenn Vanderburg). * Added rake_extension to handle detection of extension collisions. * Added test for noop, bad_option and verbose flags to sh command. * Removed dependency on internal fu_xxx functions from FileUtils. * Added a 'shame' task to the Rakefile. * Added tar_command and zip_command options to the Package task. * Added a description to the gem task in GemPackageTask. * Fixed a bug when rules have multiple prerequisites (patch by Joel VanderWerf) * Added a protected 'require "rubygems"' to test/test_application to unbreak cruisecontrol.rb. * Added the handful of RakeFileUtils to the private method as well. * Added block based exclusion. * The clean task will no longer delete 'core' if it is a directory. * Removed rake_dup. Now we just simply rescue a bad dup. * Refactored the FileList reject logic to remove duplication. * Removed if __FILE__ at the end of the rake.rb file. * Added existing and existing! methods to FileList * FileLists now claim to be Arrays (via is_a?) to get better support from the FileUtil module. * Added init and top_level for custom rake applications.
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.6 2007/04/27 19:40:01 minskim Exp $
|
|
|
|
DISTNAME= rake-0.7.3
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= http://rubyforge.org/frs/download.php/19879/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://rake.rubyforge.org/
|
|
COMMENT= Ruby Make
|
|
|
|
NO_BUILD= yes
|
|
USE_RUBY_INSTALL= yes
|
|
USE_TOOLS+= gunzip
|
|
DOCDIR= ${RUBY_DOCDIR}/rake
|
|
EXAMPLESDIR= ${RUBY_EXAMPLESDIR}/rake
|
|
DOCS= CHANGES README TODO doc/glossary.rdoc \
|
|
doc/jamis.rb doc/proto_rake.rdoc \
|
|
doc/rakefile.rdoc doc/rational.rdoc
|
|
EXAMPLES= Rakefile1 Rakefile2 a.c b.c main.c
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Fixing hardcoded paths.
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= doc/rake.1
|
|
SUBST_SED.paths= -e 's,/usr/share/doc/,${RUBY_DOCDIR}/,g'
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
|
|
post-extract:
|
|
if [ ! -f ${WRKSRC}/doc/rake.1 ]; then \
|
|
${GUNZIP_CMD} ${WRKSRC}/doc/rake.1.gz; \
|
|
fi
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/rake.1 ${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_DATA_DIR} ${DOCDIR}/release_notes
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
|
|
.endfor
|
|
for f in ${WRKSRC}/doc/release_notes/*; do \
|
|
${INSTALL_DATA} $$f ${DOCDIR}/release_notes; \
|
|
done
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
.for f in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/example/${f} ${EXAMPLESDIR}
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|