[76845] trunk/dports
afb at macports.org
afb at macports.org
Thu Mar 10 06:01:17 PST 2011
Revision: 76845
http://trac.macports.org/changeset/76845
Author: afb at macports.org
Date: 2011-03-10 06:01:14 -0800 (Thu, 10 Mar 2011)
Log Message:
-----------
add gnubin manpages (#27434)
Modified Paths:
--------------
trunk/dports/archivers/gnutar/Portfile
trunk/dports/devel/m4/Portfile
trunk/dports/lang/gawk/Portfile
trunk/dports/net/gnetcat/Portfile
trunk/dports/sysutils/coreutils/Portfile
trunk/dports/sysutils/diffutils/Portfile
trunk/dports/sysutils/findutils/Portfile
trunk/dports/sysutils/gwhich/Portfile
trunk/dports/textproc/gsed/Portfile
Modified: trunk/dports/archivers/gnutar/Portfile
===================================================================
--- trunk/dports/archivers/gnutar/Portfile 2011-03-10 13:03:48 UTC (rev 76844)
+++ trunk/dports/archivers/gnutar/Portfile 2011-03-10 14:01:14 UTC (rev 76845)
@@ -24,6 +24,7 @@
platforms darwin
depends_lib port:gettext port:libiconv
+depends_build port:help2man
configure.env-append FORCE_UNSAFE_CONFIGURE=1
configure.args --program-prefix=gnu \
@@ -43,6 +44,8 @@
xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
ln -sf ${prefix}/bin/gnutar ${destroot}${prefix}/libexec/gnubin/tar
+ xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
+ system "help2man ${worksrcpath}/src/tar | gzip -9 > ${destroot}${prefix}/libexec/gnubin/man/man1/tar.1.gz"
}
livecheck.type regex
Modified: trunk/dports/devel/m4/Portfile
===================================================================
--- trunk/dports/devel/m4/Portfile 2011-03-10 13:03:48 UTC (rev 76844)
+++ trunk/dports/devel/m4/Portfile 2011-03-10 14:01:14 UTC (rev 76845)
@@ -43,6 +43,10 @@
foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
}
+ xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
+ foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] {
+ ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz
+ }
}
test.run yes
Modified: trunk/dports/lang/gawk/Portfile
===================================================================
--- trunk/dports/lang/gawk/Portfile 2011-03-10 13:03:48 UTC (rev 76844)
+++ trunk/dports/lang/gawk/Portfile 2011-03-10 14:01:14 UTC (rev 76845)
@@ -34,4 +34,13 @@
post-destroot {
delete ${destroot}${prefix}/bin/awk
+
+ xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
+ foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
+ ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
+ }
+ xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
+ foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] {
+ ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz
+ }
}
Modified: trunk/dports/net/gnetcat/Portfile
===================================================================
--- trunk/dports/net/gnetcat/Portfile 2011-03-10 13:03:48 UTC (rev 76844)
+++ trunk/dports/net/gnetcat/Portfile 2011-03-10 14:01:14 UTC (rev 76845)
@@ -68,6 +68,10 @@
foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
}
+ xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
+ foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] {
+ ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz
+ }
# create and copy the port docs
xinstall -d ${destroot}${docdir}
Modified: trunk/dports/sysutils/coreutils/Portfile
===================================================================
--- trunk/dports/sysutils/coreutils/Portfile 2011-03-10 13:03:48 UTC (rev 76844)
+++ trunk/dports/sysutils/coreutils/Portfile 2011-03-10 14:01:14 UTC (rev 76845)
@@ -55,6 +55,10 @@
foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
}
+ xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
+ foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] {
+ ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz
+ }
}
# Set the RUN_EXPENSIVE_TESTS environmental variable to 'yes' to run more
Modified: trunk/dports/sysutils/diffutils/Portfile
===================================================================
--- trunk/dports/sysutils/diffutils/Portfile 2011-03-10 13:03:48 UTC (rev 76844)
+++ trunk/dports/sysutils/diffutils/Portfile 2011-03-10 14:01:14 UTC (rev 76845)
@@ -42,6 +42,10 @@
foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
}
+ xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
+ foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] {
+ ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz
+ }
}
test.run yes
Modified: trunk/dports/sysutils/findutils/Portfile
===================================================================
--- trunk/dports/sysutils/findutils/Portfile 2011-03-10 13:03:48 UTC (rev 76844)
+++ trunk/dports/sysutils/findutils/Portfile 2011-03-10 14:01:14 UTC (rev 76845)
@@ -46,4 +46,8 @@
foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
}
+ xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
+ foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] {
+ ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz
+ }
}
Modified: trunk/dports/sysutils/gwhich/Portfile
===================================================================
--- trunk/dports/sysutils/gwhich/Portfile 2011-03-10 13:03:48 UTC (rev 76844)
+++ trunk/dports/sysutils/gwhich/Portfile 2011-03-10 14:01:14 UTC (rev 76845)
@@ -34,6 +34,10 @@
foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
}
+ xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
+ foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] {
+ ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz
+ }
}
test.run yes
Modified: trunk/dports/textproc/gsed/Portfile
===================================================================
--- trunk/dports/textproc/gsed/Portfile 2011-03-10 13:03:48 UTC (rev 76844)
+++ trunk/dports/textproc/gsed/Portfile 2011-03-10 14:01:14 UTC (rev 76845)
@@ -53,6 +53,10 @@
foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
}
+ xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
+ foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] {
+ ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz
+ }
}
test.run yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110310/e04fa216/attachment.html>
More information about the macports-changes
mailing list