[38067] trunk/dports/lang
raimue at macports.org
raimue at macports.org
Sat Jul 5 06:24:01 PDT 2008
Revision: 38067
http://trac.macosforge.org/projects/macports/changeset/38067
Author: raimue at macports.org
Date: 2008-07-05 06:24:00 -0700 (Sat, 05 Jul 2008)
Log Message:
-----------
lang/perl5.8, lang/perl5.10:
Add a perl binary with major version, bin/perl5.8 and bin/perl5.10
Modified Paths:
--------------
trunk/dports/lang/perl5.10/Portfile
trunk/dports/lang/perl5.8/Portfile
Modified: trunk/dports/lang/perl5.10/Portfile
===================================================================
--- trunk/dports/lang/perl5.10/Portfile 2008-07-05 10:20:15 UTC (rev 38066)
+++ trunk/dports/lang/perl5.10/Portfile 2008-07-05 13:24:00 UTC (rev 38067)
@@ -4,7 +4,7 @@
name perl5.10
version 5.10.0
-revision 1
+revision 2
categories lang
platforms darwin
maintainers afb at macports.org openmaintainer
@@ -56,6 +56,9 @@
move ${bin} ${bin}-${branch}
}
}
+
+ ln -s ${prefix}/bin/perl${version} ${destroot}${prefix}/bin/$name
+
foreach man1File [glob ${destroot}${prefix}/share/man/man1/*] {
regexp (.*)(\.1.*) ${man1File} -> program suffix
file rename ${man1File} ${program}-${branch}${suffix}
Modified: trunk/dports/lang/perl5.8/Portfile
===================================================================
--- trunk/dports/lang/perl5.8/Portfile 2008-07-05 10:20:15 UTC (rev 38066)
+++ trunk/dports/lang/perl5.8/Portfile 2008-07-05 13:24:00 UTC (rev 38067)
@@ -4,7 +4,7 @@
name perl5.8
version 5.8.8
-revision 2
+revision 3
categories lang
platforms darwin freebsd linux
maintainers nomaintainer
@@ -51,6 +51,8 @@
test.run yes
post-destroot {
+ ln -s ${prefix}/bin/perl${version} ${destroot}${prefix}/bin/$name
+
foreach man3File [glob ${destroot}${prefix}/share/man/man3/*] {
file rename ${man3File} ${man3File}pm
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080705/a2015186/attachment.html
More information about the macports-changes
mailing list