[22431] trunk/dports
source_changes at macosforge.org
source_changes at macosforge.org
Wed Feb 28 20:20:27 PST 2007
Revision: 22431
http://trac.macosforge.org/projects/macports/changeset/22431
Author: pipping at macports.org
Date: 2007-02-28 20:20:27 -0800 (Wed, 28 Feb 2007)
Log Message:
-----------
* make sure manpages, etc. have the correct name (with_default_names)
see #11459
Modified Paths:
--------------
trunk/dports/devel/m4/Portfile
trunk/dports/sysutils/coreutils/Portfile
trunk/dports/sysutils/diffutils/Portfile
trunk/dports/sysutils/file/Portfile
trunk/dports/sysutils/findutils/Portfile
Modified: trunk/dports/devel/m4/Portfile
===================================================================
--- trunk/dports/devel/m4/Portfile 2007-03-01 04:18:30 UTC (rev 22430)
+++ trunk/dports/devel/m4/Portfile 2007-03-01 04:20:27 UTC (rev 22431)
@@ -22,16 +22,22 @@
rmd160 b2054da753b6f32bf7af2a83191f8bd193edf48c
configure.args --infodir=${prefix}/share/info \
--program-prefix=g
+post-destroot {
+ cd ${destroot}${prefix}/share/info/
+ file rename m4.info gm4.info
+}
test.run yes
test.target check
variant with_default_names {
post-destroot {
- cd ${destroot}${prefix}/bin
- foreach a [glob g*] {
- regexp g(.+) $a crap b
- file link -hard $b g$b
+ foreach d {bin share/info share/man/man1} {
+ cd ${destroot}${prefix}/$d
+ foreach a [glob g*] {
+ regexp g(.+) $a crap b
+ file link -hard $b g$b
+ }
}
}
}
Modified: trunk/dports/sysutils/coreutils/Portfile
===================================================================
--- trunk/dports/sysutils/coreutils/Portfile 2007-03-01 04:18:30 UTC (rev 22430)
+++ trunk/dports/sysutils/coreutils/Portfile 2007-03-01 04:20:27 UTC (rev 22431)
@@ -43,10 +43,12 @@
variant with_default_names {
post-destroot {
- cd ${destroot}${prefix}/bin
- foreach a [glob g*] {
- regexp g(.+) $a crap b
- file link -hard $b g$b
+ foreach d {bin share/man/man1} {
+ cd ${destroot}${prefix}/$d
+ foreach a [glob g*] {
+ regexp g(.+) $a crap b
+ file link -hard $b g$b
+ }
}
}
}
Modified: trunk/dports/sysutils/diffutils/Portfile
===================================================================
--- trunk/dports/sysutils/diffutils/Portfile 2007-03-01 04:18:30 UTC (rev 22430)
+++ trunk/dports/sysutils/diffutils/Portfile 2007-03-01 04:20:27 UTC (rev 22431)
@@ -20,16 +20,22 @@
configure.args --program-prefix=g \
--infodir=${prefix}/share/info \
--mandir=${prefix}/share/man
+post-destroot {
+ cd ${destroot}${prefix}/share/info
+ file rename diff.info gdiff.info
+}
test.run yes
test.target check
variant with_default_names {
post-destroot {
- cd ${destroot}${prefix}/bin
- foreach a [glob g*] {
- regexp g(.+) $a crap b
- file link -hard $b g$b
+ foreach d {bin share/info share/man/man1} {
+ cd ${destroot}${prefix}/$d
+ foreach a [glob g*] {
+ regexp g(.+) $a crap b
+ file link -hard $b g$b
+ }
}
}
}
Modified: trunk/dports/sysutils/file/Portfile
===================================================================
--- trunk/dports/sysutils/file/Portfile 2007-03-01 04:18:30 UTC (rev 22430)
+++ trunk/dports/sysutils/file/Portfile 2007-03-01 04:20:27 UTC (rev 22431)
@@ -28,10 +28,12 @@
variant with_default_names {
post-destroot {
- cd ${destroot}${prefix}/bin
- foreach a [glob g*] {
- regexp g(.+) $a crap b
- file link -hard $b g$b
+ foreach d {bin share/man/man1 share/man/man3 share/man/man5} {
+ cd ${destroot}${prefix}/$d
+ foreach a [glob g*] {
+ regexp g(.+) $a crap b
+ file link -hard $b g$b
+ }
}
}
}
Modified: trunk/dports/sysutils/findutils/Portfile
===================================================================
--- trunk/dports/sysutils/findutils/Portfile 2007-03-01 04:18:30 UTC (rev 22430)
+++ trunk/dports/sysutils/findutils/Portfile 2007-03-01 04:20:27 UTC (rev 22431)
@@ -33,10 +33,12 @@
variant with_default_names {
post-destroot {
- cd ${destroot}${prefix}/bin
- foreach a [glob g*] {
- regexp g(.+) $a crap b
- file link -hard $b g$b
+ foreach d {bin libexec share/info share/man/man1 share/man/man5} {
+ cd ${destroot}${prefix}/$d
+ foreach a [glob g*] {
+ regexp g(.+) $a crap b
+ file link -hard $b g$b
+ }
}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070228/dbd5af4e/attachment.html
More information about the macports-changes
mailing list