Ticket #39843: Portfile.patch
File Portfile.patch, 1.5 KB (added by neverpanic (Clemens Lang), 11 years ago) |
---|
-
Portfile
73 73 destroot.target install 74 74 pre-destroot { 75 75 eval destroot.args ${build.args} 76 copy${worksrcpath}/contrib/subtree/git-subtree.1 ${workpath}/man176 xinstall -m 644 ${worksrcpath}/contrib/subtree/git-subtree.1 ${workpath}/man1 77 77 } 78 78 79 79 set docdestroot ${destroot}${prefix}/share/doc/${name} … … 108 108 xinstall -m 755 ${worksrcpath}/contrib/subtree/git-subtree.sh \ 109 109 ${destroot}${prefix}/libexec/git-core/git-subtree 110 110 111 file copy ${worksrcpath}/contrib ${share_path} 111 file delete -force ${share_path}/contrib 112 copy ${worksrcpath}/contrib ${share_path} 112 113 113 114 } 114 115 … … 147 148 } 148 149 149 150 pre-destroot { 150 copy${worksrcpath}/contrib/subtree/git-subtree.html ${workpath}/htmldocs151 xinstall -m 644 ${worksrcpath}/contrib/subtree/git-subtree.html ${workpath}/htmldocs 151 152 } 152 153 153 154 post-destroot { 154 155 foreach f [glob ${workpath}/htmldocs/*] { 155 file copy ${f} ${docdestroot} 156 file delete -force "${docdestroot}/[file tail ${f}]" 157 copy ${f} ${docdestroot} 156 158 } 157 159 } 158 160 } … … 197 199 pre-destroot { 198 200 xinstall -m 755 "${worksrcpath}/contrib/credential/osxkeychain/git-credential-osxkeychain" \ 199 201 "${destroot}${prefix}/bin/" 200 system -W "${worksrcpath}/contrib/credential/osxkeychain" "make clean"201 202 } 202 203 } 203 204