[36371] trunk/dports/devel/git-core/Portfile
raimue at macports.org
raimue at macports.org
Mon Apr 28 19:29:06 PDT 2008
Revision: 36371
http://trac.macosforge.org/projects/macports/changeset/36371
Author: raimue at macports.org
Date: 2008-04-28 19:29:06 -0700 (Mon, 28 Apr 2008)
Log Message:
-----------
devel/git-core:
Install contrib directory in share/doc/git-core, fixes #14987
Modified Paths:
--------------
trunk/dports/devel/git-core/Portfile
Modified: trunk/dports/devel/git-core/Portfile
===================================================================
--- trunk/dports/devel/git-core/Portfile 2008-04-29 02:03:21 UTC (rev 36370)
+++ trunk/dports/devel/git-core/Portfile 2008-04-29 02:29:06 UTC (rev 36371)
@@ -4,6 +4,7 @@
name git-core
version 1.5.4.5
+revision 1
description The stupid content tracker.
long_description A stupid (but extremely fast) directory content manager. \
It doesn't do a whole lot, but what it _does_ do is track \
@@ -58,14 +59,16 @@
if {![variant_isset svn]} {
system "rm ${destroot}${prefix}/bin/git-svn*"
}
+ set docdestroot ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdestroot}
if {[variant_isset doc]} {
- set docdestroot ${destroot}${prefix}/share/doc/${name}
- xinstall -d ${docdestroot}
system "cd ${docdestroot} && ${extract.cmd} ${extract.pre_args} \
${distpath}/git-htmldocs-${version}${extract.suffix} \
${extract.post_args}"
}
+ file copy ${worksrcpath}/contrib ${docdestroot}
+
foreach badfile [exec find ${destroot} -name perllocal.pod] {
ui_info "Removing ${badfile}"
file delete ${badfile}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080428/c712b59b/attachment.html
More information about the macports-changes
mailing list