[33464] trunk/dports/irc/erc/Portfile
nox at macports.org
nox at macports.org
Sun Jan 27 06:41:03 PST 2008
Revision: 33464
http://trac.macosforge.org/projects/macports/changeset/33464
Author: nox at macports.org
Date: 2008-01-27 06:40:30 -0800 (Sun, 27 Jan 2008)
Log Message:
-----------
erc: Whitespace changes.
Modified Paths:
--------------
trunk/dports/irc/erc/Portfile
Modified: trunk/dports/irc/erc/Portfile
===================================================================
--- trunk/dports/irc/erc/Portfile 2008-01-27 14:33:48 UTC (rev 33463)
+++ trunk/dports/irc/erc/Portfile 2008-01-27 14:40:30 UTC (rev 33464)
@@ -1,43 +1,48 @@
# $Id$
-PortSystem 1.0
-name erc
-version 5.2
-categories irc
-maintainers nomaintainer
-platforms darwin
+PortSystem 1.0
-description An irc client for emacs
-long_description \
- ERC is a powerful, modular, and extensible Emacs \
- Internet Relay Chat client.
+name erc
+version 5.2
+categories irc
+maintainers nomaintainer
+platforms darwin
+description An irc client for emacs
-homepage http://savannah.gnu.org/projects/${name}
-master_sites gnu
+long_description \
+ ERC is a powerful, modular, and extensible Emacs \
+ Internet Relay Chat client.
-checksums md5 8ac1cf2c710757c9f89f6b13fd124fd7 \
- sha1 ac968db3651a1cb6b1ece871a1ec88f07e19e9be \
- rmd160 dbbf33477dac09f71ad8bd1763dd0a371dd54621
+homepage http://savannah.gnu.org/projects/${name}
+master_sites gnu
-depends_lib port:emacs
+checksums md5 8ac1cf2c710757c9f89f6b13fd124fd7 \
+ sha1 ac968db3651a1cb6b1ece871a1ec88f07e19e9be \
+ rmd160 dbbf33477dac09f71ad8bd1763dd0a371dd54621
-variant emacs_devel { depends_lib-delete port:emacs
- depends_lib-append port:emacs-devel
- }
+post-patch {
+ reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/Makefile
+ reinplace "s|(PREFIX)/info|(PREFIX)/share/info|" ${worksrcpath}/Makefile
+}
-post-patch { reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/Makefile
- reinplace "s|(PREFIX)/info|(PREFIX)/share/info|" ${worksrcpath}/Makefile
- }
+depends_lib port:emacs
-use_configure no
-build {}
+use_configure no
-post-activate { ui_msg "To use erc, add the following to your ~/.emacs file:"
- ui_msg ""
- ui_msg "(add-to-list 'load-path \"${prefix}/share/emacs/site-lisp/erc\")"
- ui_msg "(require 'erc)"
- }
+build {}
+post-activate {
+ ui_msg "To use erc, add the following to your ~/.emacs file:"
+ ui_msg ""
+ ui_msg "(add-to-list 'load-path \"${prefix}/share/emacs/site-lisp/erc\")"
+ ui_msg "(require 'erc)"
+}
+
+variant emacs_devel {
+ depends_lib-delete port:emacs
+ depends_lib-append port:emacs-devel
+}
+
livecheck.check regex
livecheck.url http://ftp.gnu.org/gnu/${name}/?C=M&O=D
livecheck.regex ${name}-(\\d+\\.\\d+(?:\\.\\d+)?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080127/b8b1055b/attachment.html
More information about the macports-changes
mailing list