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

dports at macports.org dports at macports.org
Wed Jun 27 01:03:00 PDT 2012


Revision: 94708
          https://trac.macports.org/changeset/94708
Author:   dports at macports.org
Date:     2012-06-27 01:03:00 -0700 (Wed, 27 Jun 2012)
Log Message:
-----------
p5-file-rename: clear link_binaries_suffix to install command-line
utility as file-rename; fix post-destroot block to prevent build error

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-06-27 08:02:03 UTC (rev 94707)
+++ trunk/dports/perl/p5-file-rename/Portfile	2012-06-27 08:03:00 UTC (rev 94708)
@@ -20,11 +20,14 @@
 checksums           sha256 fd9be2f7d6e4c88badba440aabfe33984b1aa51921caff0bbcfe3218481e7f10 \
                     rmd160 f001df1db9ed6f1996984e4123b44b1ef775411c
 
+
+perl5.link_binaries_suffix
+
 # The module installs the command-line utility as `file-rename` but
 # it's usually installed as `rename`; create a link under that name.
 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
+        ln -s [glob -tails -directory ${destroot}${prefix}/share/perl${perl5.major}/man/man1 file-rename.*] ${destroot}${prefix}/share/perl${perl5.major}/man/man1/rename.1
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120627/9c979494/attachment.html>


More information about the macports-changes mailing list