Skip to content

Commit

Permalink
Livecheck default option for perl5 group.
Browse files Browse the repository at this point in the history
This option checks against CPAN search page. It considers the latest release
when there is a developer release.

As of now, a simple:
port livecheck categories:perl
reveals that:
- It doesn't work for 11 ports*
- 113 ports are outdated.
- 1 non-perl5 group based port is more current than freshmeat.

The other 193 ports are up-to-date.

* Those are:
- p5-csp
- p5-gnome
- p5-locale-gettext
- p5-mecab
- p5-net-ssleay
- p5-pathtools
- p5-razor-agents
- p5-term-readkey
- subversion-perlbindings
- svk
and
- p5-class-dbi (port version: 3.0.14, new version: v3.0.14)

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@18725 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
pguyot committed Jul 25, 2006
1 parent b4ed646 commit 6d1fc1d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/port1.0/resources/group/perl5-1.0.tcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# et:ts=4
# perl5-1.0.tcl
#
# $Id: perl5-1.0.tcl,v 1.11 2005/05/04 08:12:59 olegb Exp $
# $Id: perl5-1.0.tcl,v 1.12 2006/07/25 08:17:50 pguyot Exp $
#
# Copyright (c) 2004 Robert Shaw <rshaw@opendarwin.org>,
# Toby Peterson <toby@opendarwin.org>
Expand Down Expand Up @@ -101,6 +101,10 @@ proc perl5.setup {module vers {cpandir ""}} {
reinplace "s|${destroot}||" ${packlist}
}
}

livecheck.check regexm
livecheck.url http://search.cpan.org/dist/${perl5.module}/
livecheck.regex (?:This Release)?<td class=label>(?:This|Latest) Release</td>.*<td class=cell>(?:<\[^<\]+>)?${perl5.module}-(\[^<\]+?)<
}

# Switch from default MakeMaker-style routine to Module::Build-style
Expand Down

0 comments on commit 6d1fc1d

Please sign in to comment.