head	1.18;
access;
symbols
	pkgsrc-2017Q1:1.16.0.6
	pkgsrc-2017Q1-base:1.16
	pkgsrc-2016Q4:1.16.0.4
	pkgsrc-2016Q4-base:1.16
	pkgsrc-2016Q3:1.16.0.2
	pkgsrc-2016Q3-base:1.16
	pkgsrc-2016Q2:1.15.0.4
	pkgsrc-2016Q2-base:1.15
	pkgsrc-2016Q1:1.15.0.2
	pkgsrc-2016Q1-base:1.15
	pkgsrc-2015Q4:1.14.0.2
	pkgsrc-2015Q4-base:1.14
	pkgsrc-2015Q3:1.12.0.4
	pkgsrc-2015Q3-base:1.12
	pkgsrc-2015Q2:1.12.0.2
	pkgsrc-2015Q2-base:1.12
	pkgsrc-2015Q1:1.11.0.2
	pkgsrc-2015Q1-base:1.11
	pkgsrc-2014Q4:1.9.0.8
	pkgsrc-2014Q4-base:1.9
	pkgsrc-2014Q3:1.9.0.6
	pkgsrc-2014Q3-base:1.9
	pkgsrc-2014Q2:1.9.0.4
	pkgsrc-2014Q2-base:1.9
	pkgsrc-2014Q1:1.9.0.2
	pkgsrc-2014Q1-base:1.9
	pkgsrc-2013Q4:1.7.0.6
	pkgsrc-2013Q4-base:1.7
	pkgsrc-2013Q3:1.7.0.4
	pkgsrc-2013Q3-base:1.7
	pkgsrc-2013Q2:1.7.0.2
	pkgsrc-2013Q2-base:1.7
	pkgsrc-2013Q1:1.6.0.2
	pkgsrc-2013Q1-base:1.6
	pkgsrc-2012Q4:1.5.0.2
	pkgsrc-2012Q4-base:1.5
	pkgsrc-2012Q3:1.3.0.4
	pkgsrc-2012Q3-base:1.3
	pkgsrc-2012Q2:1.3.0.2
	pkgsrc-2012Q2-base:1.3
	pkgsrc-2012Q1:1.2.0.2
	pkgsrc-2012Q1-base:1.2
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.18
date	2017.05.30.16.04.55;	author taca;	state dead;
branches;
next	1.17;
commitid	89uQyZja6cBQJqTz;

1.17
date	2017.04.22.18.27.04;	author taca;	state Exp;
branches;
next	1.16;
commitid	x1nQ2MyU6RepKyOz;

1.16
date	2016.09.08.15.19.17;	author joerg;	state Exp;
branches;
next	1.15;
commitid	fhwICqTqzpVMXulz;

1.15
date	2016.03.14.00.59.06;	author tnn;	state Exp;
branches;
next	1.14;
commitid	jwqIPKtoqQf3WxYy;

1.14
date	2015.11.23.15.46.58;	author taca;	state Exp;
branches;
next	1.13;
commitid	2IrGRlP18MoEreKy;

1.13
date	2015.09.25.08.55.18;	author taca;	state Exp;
branches;
next	1.12;
commitid	kWpAUQMNFfIb4CCy;

1.12
date	2015.06.12.22.54.40;	author taca;	state Exp;
branches;
next	1.11;
commitid	gM1QN6urhw2c5cpy;

1.11
date	2015.03.10.16.33.55;	author taca;	state Exp;
branches;
next	1.10;
commitid	tzQrm6H5CM9705dy;

1.10
date	2015.02.01.16.33.06;	author taca;	state Exp;
branches;
next	1.9;
commitid	wLKWVXVdeUSwbk8y;

1.9
date	2014.03.13.18.36.21;	author taca;	state Exp;
branches;
next	1.8;
commitid	2ahWnSGcisOvjzsx;

1.8
date	2014.02.09.05.21.19;	author taca;	state Exp;
branches;
next	1.7;
commitid	1jnapBNJXABIVnox;

1.7
date	2013.06.16.15.23.39;	author taca;	state Exp;
branches;
next	1.6;
commitid	kEiAzZdsfGeeVQTw;

1.6
date	2013.03.14.16.42.13;	author taca;	state Exp;
branches;
next	1.5;

1.5
date	2012.12.17.16.52.48;	author taca;	state Exp;
branches;
next	1.4;

1.4
date	2012.10.31.11.19.42;	author asau;	state Exp;
branches;
next	1.3;

1.3
date	2012.05.11.10.01.58;	author sbd;	state Exp;
branches;
next	1.2;

1.2
date	2012.03.17.13.57.59;	author taca;	state Exp;
branches;
next	1.1;

1.1
date	2012.03.17.13.51.36;	author taca;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2012.03.17.13.51.36;	author taca;	state Exp;
branches;
next	;


desc
@@


1.18
log
@Remove ruby-rake since all ruby2*-base pacakge have it.
@
text
@# $NetBSD: Makefile,v 1.17 2017/04/22 18:27:04 taca Exp $

DISTNAME=	rake-${VERS}
CATEGORIES=	devel

MAINTAINER=	taca@@NetBSD.org
HOMEPAGE=	https://github.com/ruby/rake
COMMENT=	Ruby Make
LICENSE=	mit

CONFLICTS+=	 rake-[0-9]*

USE_TOOLS+=	gzip
FIX_PERM=	doc/release_notes/rake-0.7.3.rdoc
VERS=		10.4.2

RUBY_VERSIONS_ACCEPTED= 22 21

FILES_SUBST+=	GEM_NAME=${GEM_NAME} RAKE_HACK=${RAKE_HACK} RAKEBIN=${RAKEBIN}
PLIST_SUBST+=	RAKE_HACK=${RAKE_HACK} RAKEBIN=${RAKEBIN}

INSTALLATION_DIRS=	${PKGMANDIR}/man1

.include "../../lang/ruby/rubyversion.mk"

OVERRIDE_GEMSPEC+= :executables rake=${RAKEBIN} \
		:files bin/rake=bin/${RAKEBIN} doc/rake.1.gz=doc/rake.1

.if defined(RUBY_RAKE_VERSION)
RAKEBIN=	rake${RUBY_SUFFIX}-${PKGVERSION_NOREV}
.  if ${RUBY_RAKE_VERSION} == ${VERS}
RAKE_HACK=	.${PKGVERSION_NOREV}
RAKE_SPEC=	${GEM_HOME}/specifications/${GEM_NAME}.gemspec
.  endif
.endif
RAKEBIN?=	rake${RUBY_SUFFIX}

# rake.1.gz has one extra byte at EOF.
pre-configure:
	cd ${WRKSRC}/doc && (gzip -dc rake.1.gz >rake.1 2>/dev/null || ${TRUE})
	cd ${WRKSRC}; ${CHMOD} -x ${FIX_PERM}
	cd ${WRKSRC}/bin && ${MV} rake ${RAKEBIN}

post-install:
	${INSTALL_MAN} ${WRKSRC}/doc/rake.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/rake.1
.if !empty(RAKE_HACK)
	${MV} ${DESTDIR}${PREFIX}/${RAKE_SPEC} \
		${DESTDIR}${PREFIX}/${RAKE_SPEC}${RAKE_HACK}
.endif

.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
@


1.17
log
@Remove 18 from RUBY_VERSIONS_ACCEPTED.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2016/09/08 15:19:17 joerg Exp $
@


1.16
log
@Rename RUBY_VERSION_SUPPORTED into _RUBY_VERSIONS_ACCEPTED to follow the
naming scheme of the other multi-version packages. Add support for the
coorresponding RUBY_VERSIONS_INCOMPATIBLE list.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2016/03/14 00:59:06 tnn Exp $
d17 1
a17 1
RUBY_VERSIONS_ACCEPTED= 18 21 22
@


1.15
log
@remove references to ruby200
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2015/11/23 15:46:58 taca Exp $
d17 1
a17 1
RUBY_VERSION_SUPPORTED= 18 21 22
@


1.14
log
@Remove 193 from RUBY_VERSION_SUPPORTED.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2015/09/25 08:55:18 taca Exp $
d17 1
a17 1
RUBY_VERSION_SUPPORTED= 200 18 21 22
@


1.13
log
@Update HOMEPAGE.
Avoid using rubyforge.org since it stopped most of services.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2015/06/12 22:54:40 taca Exp $
d17 1
a17 1
RUBY_VERSION_SUPPORTED= 200 193 18 21 22
@


1.12
log
@ruby-rake is build on Ruby 2.2, too.  Fix one of pbulkscan problems.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2015/03/10 16:33:55 taca Exp $
d7 1
a7 1
HOMEPAGE=	http://rubyforge.org/projects/rake/
@


1.11
log
@Allow build with ruby18.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2015/02/01 16:33:06 taca Exp $
d17 1
a17 1
RUBY_VERSION_SUPPORTED= 200 193 18 21
@


1.10
log
@Update ruby-rake to 10.4.2.

=== 10.4.2 / 2014-12-02

Bug fixes:

* Rake no longer edits ARGV.  This allows you to re-exec rake from a rake
  task.  Pull requset #9 by Matt Palmer.
* Documented how Rake::DSL#desc handles sentences in task descriptions.
  Issue #7 by Raza Sayed.
* Fixed test error on 1.9.3 with legacy RubyGems.  Issue #8 by Matt Palmer.
* Deleted duplicated History entry.  Pull request #10 by Yuji Yamamoto.

=== 10.4.1 / 2014-12-01

Bug fixes:

* Reverted fix for #277 as it caused numerous issues for rake users.
  rails/spring issue #366 by Gustavo Dutra.

=== 10.4.0 / 2014-11-22

Enhancements:

* Upgraded to minitest 5.  Pull request #292 by Teo Ljungberg.
* Added support for Pathname in rake tasks.  Pull request #271 by Randy
  Coulman.
* Rake now ignores falsy dependencies which allows for easier programmatic
  creation of tasks.  Pull request #273 by Manav.
* Rake no longer edits ARGV.  This allows you to re-exec rake from a rake
  task.  Issue #277 by Matt Palmer.
* Etc.nprocessors is used for counting the number of CPUs.

Bug fixes:

* Updated rake manpage.  Issue #283 by Nathan Long, pull request #291 by
  skittleys.
* Add Rake::LATE to allow rebuilding of files that depend on deleted files.
  Bug #286, pull request #287 by David Grayson.
* Fix relinking of files when repackaging.  Bug #276 by Muenze.
* Fixed some typos.  Pull request #280 by Jed Northridge.
* Try counting CPUs via cpuinfo if host_os was not matched.  Pull request
  #282 by Edouard B.

=== 10.3.2 / 2014-05-15

Bug fixes:

* Rake no longer infinitely loops when showing exception causes that refer to
  each other.  Bug #272 by Chris Bandy.
* Fixed documentation typos.  Bug #275 by Jake Worth.

=== 10.3.1 / 2014-04-17

Bug fixes:

* Really stop reporting an error when cleaning already-deleted files.  Pull
  request #269 by Randy Coulman
* Fixed infinite loop when cleaning already-deleted files on windows.

=== 10.3 / 2014-04-15

Enhancements:

* Added --build-all option to rake which treats all file prerequisites as
  out-of-date.  Pull request #254 by Andrew Gilbert.
* Added Rake::NameSpace#scope.  Issue #263 by Jon San Miguel.

Bug fixes:

* Suppress org.jruby package files in rake error messages for JRuby users.
  Issue #213 by Charles Nutter.
* Fixed typo, removed extra "h".  Pull request #267 by Hsing-Hui Hsu.
* Rake no longer reports an error when cleaning already-deleted files.  Pull
  request #266 by Randy Coulman.
* Consume stderr while determining CPU count to avoid hang.  Issue #268 by
  Albert Sun.

=== 10.2.2 / 2014-03-27

Bug fixes:

* Restored Ruby 1.8.7 compatibility

=== 10.2.1 / 2014-03-25

Bug fixes:

* File tasks including a ':' are now top-level tasks again.  Issue #262 by
  Josh Holtrop.
* Use sysctl for CPU count for all BSDs.  Pull request #261 by Joshua Stein.
* Fixed CPU detection for unknown platforms.

=== 10.2.0 / 2014-03-24

Enhancements:

* Rake now requires Ruby 1.9 or newer.  For me, this is a breaking change, but
  it seems that Jim planned to release it with Rake 10.2.  See also pull
  request #247 by Philip Arndt.
* Rake now allows you to declare tasks under a namespace like:

    task 'a:b' do ... end

  Pull request #232 by Judson Lester.
* Task#source defaults to the first prerequisite in non-rule tasks.  Pull
  request #215 by Avdi Grimm.
* Rake now automatically rebuilds and reloads imported files.  Pull request
  #209 by Randy Coulman.
* The rake task arguments can contain escaped commas.  Pull request #214 by
  Filip Hrbek.
* Rake now prints the exception class on errors.  Patch #251 by David Cornu.

Bug fixes:

* Fixed typos.  Pull request #256 by Valera Rozuvan, #250 via Jake Worth, #260
  by Zachary Scott.
* Fixed documentation for calling tasks with arguments.  Pull request #235 by
  John Varghese.
* Clarified `rake -f` usage message.  Pull request #252 by Marco Pfatschbacher.
* Fixed a test failure on windows.  Pull request #231 by Hiroshi Shirosaki.
* Fixed corrupted rake.1.gz.  Pull request #225 by Michel Boaventura.
* Fixed bug in can_detect_signals? in test.  Patch from #243 by Alexey
  Borzenkov.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2014/03/13 18:36:21 taca Exp $
d17 2
@


1.9
log
@Update ruby-rake to 10.1.1.

= Rake 10.1.0 Released

== Changes in Version 10.1

Here are new features in this version of Rake:

* Add support for variable length task argument lists. If more actual
  arguments are supplied than named arguments, then the extra
  arguments values will be in args.extras.

* Application name is not displayed in the help banner. (Previously
  "rake" was hardcoded, now rake-based applications can display their
  own names).

=== Bug Fixes (in 10.1)

Bug fixes include:

* Fix backtrace suppression issues.

* Rules now explicit get task arguments passed to them.

* Rename FileList#exclude? to FileList#exclude_from_list? to avoid
  conflict with new Rails method.

* Clean / Clobber tasks now report failure to remove files.

* Plus heaps of internal code cleanup.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2014/02/09 05:21:19 taca Exp $
d15 1
a15 1
VERS=		10.1.1
@


1.8
log
@* Preserve modified time of saveing rake command file.
* Improve handling of gemspec file when the version of bundlerd dosen't
  match with ruby-rake's version.  Should be fix PR pkg/48485.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2013/06/16 15:23:39 taca Exp $
a3 1
PKGREVISION=	1
d15 1
a15 1
VERS=		10.0.4
d28 1
a28 1
RAKEBIN=	rake${RUBY_VER}-${PKGVERSION_NOREV}
d34 1
a34 1
RAKEBIN?=	rake${RUBY_VER}
@


1.7
log
@Update ruby-rake to 10.0.4.

No release note is available for 10.0.4, please refer for full changes:
https://github.com/jimweirich/rake/commits/master.

pkgsrc change: fix save/restore of command files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2013/03/14 16:42:13 taca Exp $
d3 2
a4 1
DISTNAME=	rake-10.0.4
d16 1
d28 3
a30 4
.if ${RUBY_VER} == 18
RAKEBIN=rake${RUBY_VER}
.else
RAKEBIN=rake${RUBY_VER}-${PKGVERSION_NOREV}
d33 1
d35 1
@


1.6
log
@Remove condition check that RUBY_VER == 193.  It was needed when ruby192
existed on pkgsrc.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2012/12/17 16:52:48 taca Exp $
d3 1
a3 1
DISTNAME=	rake-10.0.3
@


1.5
log
@Update ruby-rake to 10.0.3.

Exact changes are unknown.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2012/10/31 11:19:42 asau Exp $
a29 1
.if ${RUBY_VER} == 193
a32 1
.endif
@


1.4
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2012/05/11 10:01:58 sbd Exp $
d3 1
a3 1
DISTNAME=	rake-0.9.2.2
d14 1
a14 2
FIX_PERM=	doc/release_notes/rake-0.7.3.rdoc \
		lib/rake/ruby182_test_unit_fix.rb
@


1.3
log
@Use gzip in stdout mode so that the output file is created even with the
'unexpected end of file' error.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2012/03/17 13:57:59 taca Exp $
a10 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.2
log
@Update ruby-rake to 0.9.2.2.

* Now installable with ruby19 or ruby193.

= Rake Changelog

== Master (for 0.9.3)

* The rake test loader now removes arguments it has processed.  Issue #51
* Rake::TaskArguments now responds to #values_at
* RakeFileUtils.verbose_flag = nil silences output the same as 0.8.7
* Rake tests are now directory-independent
* Rake tests are no longer require flexmock
* Commands constant is no longer polluting top level namespace.

== Version 0.9.2

* Unknown

== Version 0.9.1

* Added deprecation warnings to the Rake DSL methods.

== Version 0.9.0

* *Incompatible* *change*: Rake DSL commands ('task', 'file', etc.)  are
  no longer private methods in Object.  If you need to call 'task :xzy' inside
  your class, include Rake::DSL into the class.  The DSL is still available at
  the top level scope (via the top level object which extends Rake::DSL).

* Rake now warns when the deprecated :needs syntax used.

* Rake history is now UTF-8 encoded.

* Rake now uses case-insensitive comparisons to find the Rakefile on Windows.
  Based on patch by Roger Pack.

* Rake now requires (instead of loads) files in the test task.  Patch by Cezary
  Baginski.

* Fixed typos.  Patches by Sean Scot August Moon and R.T. Lechow.

* Rake now prints the Rakefile directory only when it's different from the
  current directory.  Patch by Alex Chaffee.

* Improved rakefile_location discovery on Windows.  Patch by James Tucker.

* Rake now recognizes "Windows Server" as a windows system.  Patch by Matthias
  Lüdtke

* Rake::RDocTask is deprecated.  Use RDoc::Task from RDoc 2.4.2+ (require
  'rdoc/task')

* Rake::GemPackageTask is deprecated.  Use Gem::PackageTask (require
  'rubygems/package_task')

* Rake now outputs various messages to $stderr instead of $stdout.

* Rake no longer emits warnings for Config.  Patch by Santiago Pastorino.

* Split rake.rb into individual files.

* Support for the --where (-W) flag for showing where a task is defined.

* Fixed quoting in test task.
  (http://onestepback.org/redmine/issues/show/44,
  http://www.pivotaltracker.com/story/show/1223138)

* Fixed the silent option parsing problem.
  (http://onestepback.org/redmine/issues/show/47)

* Fixed :verbose=>false flag on sh and ruby commands.

* Rake command line options may be given by default in a RAKEOPT
  environment variable.

* Errors in Rake will now display the task invocation chain in effect
  at the time of the error.

* Accepted change by warnickr to not expand test patterns in shell
  (allowing more files in the test suite).

* Fixed that file tasks did not perform prereq lookups in scope
  (Redmine #57).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2012/03/17 13:51:36 taca Exp $
d41 1
a41 1
	cd ${WRKSRC}/doc && (gzip -d rake.1.gz 2>/dev/null || ${TRUE})
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 2
DISTNAME=	rake-0.8.7
PKGREVISION=	2
d11 1
a11 1
USE_TOOLS+=	gzip
d13 1
a13 3
OVERRIDE_GEMSPEC+= :executables rake=rake${RUBY_VER} \
		:files bin/rake=bin/rake${RUBY_VER} doc/rake.1.gz=doc/rake.1 \
		test/data/unittest/subdir=
d15 1
d19 2
a20 1
CONFLICTS+=	 rake-[0-9]*
a21 2
# rake is bundled Ruby 1.9
RUBY_VERSION_SUPPORTED= 18
d24 16
d41 1
a41 1
	cd ${WRKSRC}/doc && gzip -d rake.1.gz
d43 1
a43 1
	${MV} ${WRKSRC}/bin/rake ${WRKSRC}/bin/rake${RUBY_VER}
d47 5
a51 1
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/rake${RUBY_VER}.1
@


1.1.1.1
log
@Importing devel/rake as devel/ruby-rake.

@
text
@@
