[65520] trunk/dports/irc/erc/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Mar 26 17:03:55 PDT 2010


Revision: 65520
          http://trac.macports.org/changeset/65520
Author:   ryandesign at macports.org
Date:     2010-03-26 17:03:55 -0700 (Fri, 26 Mar 2010)
Log Message:
-----------
erc: update to 5.3, build in the build phase instead of the destroot phase, switch post-patch reinplaces to simpler destroot overrides

Modified Paths:
--------------
    trunk/dports/irc/erc/Portfile

Modified: trunk/dports/irc/erc/Portfile
===================================================================
--- trunk/dports/irc/erc/Portfile	2010-03-26 23:54:32 UTC (rev 65519)
+++ trunk/dports/irc/erc/Portfile	2010-03-27 00:03:55 UTC (rev 65520)
@@ -3,8 +3,7 @@
 PortSystem      1.0
 
 name            erc
-version         5.2
-revision        1
+version         5.3
 categories      irc
 maintainers     nomaintainer
 platforms       darwin
@@ -17,22 +16,18 @@
 homepage        http://savannah.gnu.org/projects/${name}
 master_sites    gnu
 
-checksums       md5 8ac1cf2c710757c9f89f6b13fd124fd7 \
-                sha1 ac968db3651a1cb6b1ece871a1ec88f07e19e9be \
-                rmd160 dbbf33477dac09f71ad8bd1763dd0a371dd54621
+checksums       md5     ebe35423994702c982bbbcfacd568add \
+                sha1    4dc9b698b9dffbf43771dd8abb4f19ea03ce4e1c \
+                rmd160  40c3b2fc28da1d249b7706daa708c588273f7a5e
 
-post-patch {
-    reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/Makefile
-    reinplace "s|(PREFIX)/info|(PREFIX)/share/info|" ${worksrcpath}/Makefile
-}
-
 depends_build   port:emacs
 
 depends_run     port:emacs
 
 use_configure   no
 
-build {}
+destroot.destdir PREFIX=${destroot}${prefix} \
+                 INFODIR=${destroot}${prefix}/share/info
 
 post-activate {
     ui_msg "To use erc, add the following to your ~/.emacs file:"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100326/8495b37b/attachment.html>


More information about the macports-changes mailing list