From 796a422d76b991ad5546f7bcc7c97710888289e4 Mon Sep 17 00:00:00 2001
From: taca <taca@pkgsrc.org>
Date: Mon, 7 Aug 2006 16:11:32 +0000
Subject: Update rake to 0.7.1, pkgsrc changes:

- install release notes.

= Rake Changelog

== Version 0.7.1

* Added optional filter parameter to the --tasks command line option.
* Added flatten to allow rule transform procs to return lists of
  prereqs (Joel VanderWerf provided patch).
* Added pathmap to String and FileList.
* The -r option will now load .rake files (but a straight require
  doesn't yet).  NOTE: This is experimental ... it may be
  discontinued.
* The -f option without a value will disable the search for a
  Rakefile.  The assumption is that the -r files are adequate.
* Fixed the safe_ln function to fall back to cp in more error
  scenarios.

== Version 0.7.0

* Added Rake.original_dir to return the original starting directory of
  the rake application.
* Added safe_ln support for openAFS (from Ludvig Omholt).
* Added --trace reminder on short exception messages (David Heinemeier
  Hansson suggestion).
* Added multitask declaration that executes prerequisites in
  parallel. (Doug Young providied an initial implementation).
* Fixed missing_const hack to be compatible with Rails. (Jamis Buck
  supplied test case).
* Made the RDoc task default to internal (in-process) RDoc formatting.
  The old behavior is still available by setting the +external+ flag
  to true.
* Rakefiles are now loaded with the expanded path to prevent
  accidental polution from the Ruby load path.
* The +namespace+ command now returns a NameSpace object that can be
  used to lookup tasks defined in that namespace.  This allows for
  better anonymous namespace behavior.
* Task objects my now be used in prerequisite lists directly.
---
 devel/rake/Makefile | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

(limited to 'devel/rake/Makefile')

diff --git a/devel/rake/Makefile b/devel/rake/Makefile
index 6fd5fac32f1..ab56923319e 100644
--- a/devel/rake/Makefile
+++ b/devel/rake/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2005/11/02 13:54:45 taca Exp $
+# $NetBSD: Makefile,v 1.4 2006/08/07 16:11:32 taca Exp $
 
-DISTNAME=	rake-0.6.2
+DISTNAME=	rake-0.7.1
 CATEGORIES=	devel ruby
-MASTER_SITES=	http://rubyforge.org/frs/download.php/6357/
+MASTER_SITES=	http://rubyforge.org/frs/download.php/9499/
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	minskim@NetBSD.org
@@ -26,14 +26,17 @@ pre-configure:
 	${RM} ${WRKSRC}/bin/rake.orig
 
 post-install:
-	@if [ ! -f ${WRKSRC}/doc/rake.1 ]; then \
+	if [ ! -f ${WRKSRC}/doc/rake.1 ]; then \
 		${GUNZIP_CMD} ${WRKSRC}/doc/rake.1.gz; \
 	fi
 	${INSTALL_MAN} ${WRKSRC}/doc/rake.1 ${PREFIX}/${PKGMANDIR}/man1
-	${INSTALL_DATA_DIR} ${DOCDIR}
+	${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}
-- 
cgit v1.2.3