[47975] trunk/dports/net/argus-clients/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Mar 11 15:17:16 PDT 2009


Revision: 47975
          http://trac.macports.org/changeset/47975
Author:   ryandesign at macports.org
Date:     2009-03-11 15:17:16 -0700 (Wed, 11 Mar 2009)
Log Message:
-----------
argus-clients: simplify destroot by using MacPorts macros

Modified Paths:
--------------
    trunk/dports/net/argus-clients/Portfile

Modified: trunk/dports/net/argus-clients/Portfile
===================================================================
--- trunk/dports/net/argus-clients/Portfile	2009-03-11 21:52:22 UTC (rev 47974)
+++ trunk/dports/net/argus-clients/Portfile	2009-03-11 22:17:16 UTC (rev 47975)
@@ -30,11 +30,11 @@
 }
 
 post-destroot   {
-    file rename "${destroot}${prefix}/argus" "${destroot}${prefix}/share/argus"
-    file delete -force "${destroot}${prefix}/bin/argusbug"
+    move "${destroot}${prefix}/argus" "${destroot}${prefix}/share/argus"
+    delete "${destroot}${prefix}/bin/argusbug"
     if {[variant_isset graph]} {
         reinplace "s|#! /usr/bin/perl|#! ${prefix}/bin/perl|" ${destroot}${prefix}/bin/ragraph
     } else {
-        file delete -force "${destroot}${prefix}/bin/ragraph"
+        delete "${destroot}${prefix}/bin/ragraph"
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090311/e5a014ca/attachment.html>


More information about the macports-changes mailing list