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

devans at macports.org devans at macports.org
Sun Jan 11 21:21:47 PST 2015


Revision: 131432
          https://trac.macports.org/changeset/131432
Author:   devans at macports.org
Date:     2015-01-11 21:21:46 -0800 (Sun, 11 Jan 2015)
Log Message:
-----------
p5-file-rename: update to version 0.20, add perl branches 5.18 5.20, use module build.

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

Modified: trunk/dports/perl/p5-file-rename/Portfile
===================================================================
--- trunk/dports/perl/p5-file-rename/Portfile	2015-01-12 05:07:53 UTC (rev 131431)
+++ trunk/dports/perl/p5-file-rename/Portfile	2015-01-12 05:21:46 UTC (rev 131432)
@@ -4,9 +4,8 @@
 PortSystem          1.0
 PortGroup           perl5 1.0
 
-perl5.branches      5.16
-perl5.setup         File-Rename 0.06
-revision            2
+perl5.branches      5.16 5.18 5.20
+perl5.setup         File-Rename 0.20
 maintainers         nomaintainer
 license             {Artistic-1 GPL}
 
@@ -14,19 +13,12 @@
 long_description    A perl extension and command-line utility for renaming \
                     files, based on Larry Wall's 'rename' script
 
-checksums           sha256 fd9be2f7d6e4c88badba440aabfe33984b1aa51921caff0bbcfe3218481e7f10 \
-                    rmd160 f001df1db9ed6f1996984e4123b44b1ef775411c
+checksums           rmd160  262181499b36d07a8f7725776a1c721842cfb9bb \
+                    sha256  5eee75ea92a987930c5bec4a631ee0201f23c77908ba322e553df80845efc6b1
 
 platforms           darwin
 supported_archs     noarch
 
-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/perl${perl5.major}/man/man1 file-rename.*] ${destroot}${prefix}/share/perl${perl5.major}/man/man1/rename.1
-    }
+    perl5.use_module_build
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150111/ac8e1744/attachment.html>


More information about the macports-changes mailing list