[41114] trunk/dports/sysutils/bash-completion/Portfile

raimue at macports.org raimue at macports.org
Thu Oct 23 15:04:48 PDT 2008


Revision: 41114
          http://trac.macports.org/changeset/41114
Author:   raimue at macports.org
Date:     2008-10-23 15:04:47 -0700 (Thu, 23 Oct 2008)
Log Message:
-----------
sysutils/bash-completion:
Move reinplace from destroot to patch (to avoid issues if destroot is run multiple times)

Modified Paths:
--------------
    trunk/dports/sysutils/bash-completion/Portfile

Modified: trunk/dports/sysutils/bash-completion/Portfile
===================================================================
--- trunk/dports/sysutils/bash-completion/Portfile	2008-10-23 21:20:12 UTC (rev 41113)
+++ trunk/dports/sysutils/bash-completion/Portfile	2008-10-23 22:04:47 UTC (rev 41114)
@@ -24,9 +24,12 @@
 
 worksrcdir      [strsed $name "s/-/_/"]
 
-destroot {
+post-patch {
     reinplace "s:/etc/bash_completion:${prefix}/etc/bash_completion:g" \
         ${worksrcpath}/bash_completion
+}
+
+destroot {
     xinstall -d ${destroot}${prefix}/etc/bash_completion.d
     xinstall -m 755 ${worksrcpath}/bash_completion ${destroot}${prefix}/etc/
     xinstall -m 644 ${filespath}/port.cmd ${destroot}${prefix}/etc/bash_completion.d/port
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081023/bf84f72c/attachment.html>


More information about the macports-changes mailing list