[90131] trunk/dports/perl/p5-file-rename/Portfile

dports at macports.org dports at macports.org
Wed Feb 22 22:10:33 PST 2012


Revision: 90131
          http://trac.macports.org/changeset/90131
Author:   dports at macports.org
Date:     2012-02-22 22:10:31 -0800 (Wed, 22 Feb 2012)
Log Message:
-----------
p5-file-rename: skip the post-destroot in the stub port

Modified Paths:
--------------
    trunk/dports/perl/p5-file-rename/Portfile

Modified: trunk/dports/perl/p5-file-rename/Portfile
===================================================================
--- trunk/dports/perl/p5-file-rename/Portfile	2012-02-23 06:00:33 UTC (rev 90130)
+++ trunk/dports/perl/p5-file-rename/Portfile	2012-02-23 06:10:31 UTC (rev 90131)
@@ -21,7 +21,9 @@
 
 # The module installs the command-line utility as `file-rename` but
 # it's usually installed as `rename`; create a link under that name.
-post-destroot {
-    ln -s file-rename ${destroot}${prefix}/bin/rename
-    ln -s [glob -tails -directory ${destroot}${prefix}/share/man/man1 file-rename.*] ${destroot}${prefix}/share/man/man1/rename.1
+if {$subport != $name} {
+    post-destroot {
+        ln -s file-rename ${destroot}${prefix}/bin/rename
+        ln -s [glob -tails -directory ${destroot}${prefix}/share/man/man1 file-rename.*] ${destroot}${prefix}/share/man/man1/rename.1
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120222/6dfb735b/attachment.html>


More information about the macports-changes mailing list