Modified: trunk/dports/devel/git-core/Portfile (96038 => 96039)
--- trunk/dports/devel/git-core/Portfile 2012-07-30 02:14:11 UTC (rev 96038)
+++ trunk/dports/devel/git-core/Portfile 2012-07-30 06:56:18 UTC (rev 96039)
@@ -75,6 +75,8 @@
eval destroot.args ${build.args}
}
+set docdestroot ${destroot}${prefix}/share/doc/${name}
+
post-destroot {
foreach f {1 5 7} {
xinstall -d ${destroot}${prefix}/share/man/man${f}
@@ -85,7 +87,6 @@
if {![variant_isset svn]} {
system "rm ${destroot}${prefix}/libexec/git-core/git-svn*"
}
- set docdestroot ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdestroot}
file copy ${worksrcpath}/contrib ${docdestroot}
@@ -128,8 +129,6 @@
}
post-destroot {
- set docdestroot ${destroot}${prefix}/share/doc/${name}
- xinstall -d ${docdestroot}
foreach f [glob ${workpath}/htmldocs/*] {
file copy ${f} ${docdestroot}
}