[90130] trunk/dports/perl/p5-file-rename/Portfile
dports at macports.org
dports at macports.org
Wed Feb 22 22:00:33 PST 2012
Revision: 90130
http://trac.macports.org/changeset/90130
Author: dports at macports.org
Date: 2012-02-22 22:00:33 -0800 (Wed, 22 Feb 2012)
Log Message:
-----------
p5-file-rename: the file-rename utility is usually installed elsewhere
as `rename`, so create a symlink for that name.
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 01:29:54 UTC (rev 90129)
+++ trunk/dports/perl/p5-file-rename/Portfile 2012-02-23 06:00:33 UTC (rev 90130)
@@ -5,6 +5,7 @@
PortGroup perl5 1.0
perl5.setup File-Rename 0.06
+revision 1
platforms darwin
maintainers nomaintainer
license {Artistic-1 GPL}
@@ -17,3 +18,10 @@
checksums sha256 fd9be2f7d6e4c88badba440aabfe33984b1aa51921caff0bbcfe3218481e7f10 \
rmd160 f001df1db9ed6f1996984e4123b44b1ef775411c
+
+# 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
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120222/7d62c1ae/attachment.html>
More information about the macports-changes
mailing list