source: trunk/dports/irc/erc/Portfile @ 57375

Last change on this file since 57375 was 57375, checked in by ryandesign@…, 10 years ago

Change deprecated livecheck.check to livecheck.type
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            erc
6version         5.2
7revision        1
8categories      irc
9maintainers     nomaintainer
10platforms       darwin
11description     An irc client for emacs
12
13long_description \
14        ERC is a powerful, modular, and extensible Emacs \
15        Internet Relay Chat client.
16
17homepage        http://savannah.gnu.org/projects/${name}
18master_sites    gnu
19
20checksums       md5 8ac1cf2c710757c9f89f6b13fd124fd7 \
21                sha1 ac968db3651a1cb6b1ece871a1ec88f07e19e9be \
22                rmd160 dbbf33477dac09f71ad8bd1763dd0a371dd54621
23
24post-patch {
25    reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/Makefile
26    reinplace "s|(PREFIX)/info|(PREFIX)/share/info|" ${worksrcpath}/Makefile
27}
28
29depends_build   port:emacs
30
31depends_run     port:emacs
32
33use_configure   no
34
35build {}
36
37post-activate {
38    ui_msg "To use erc, add the following to your ~/.emacs file:"
39    ui_msg ""
40    ui_msg "(add-to-list 'load-path \"${prefix}/share/emacs/site-lisp/erc\")"
41    ui_msg "(require 'erc)"
42}
43
44livecheck.type  regex
45livecheck.url   http://ftp.gnu.org/gnu/${name}/?C=M&O=D
46livecheck.regex ${name}-(\\d+\\.\\d+(?:\\.\\d+)?)
Note: See TracBrowser for help on using the repository browser.