Ticket #16032: patch-mercurial-Portfile.diff
File patch-mercurial-Portfile.diff, 1.2 KB (added by paidhi@…, 16 years ago) |
---|
-
Portfile
old new 1 # $Id : Portfile 37298 2008-06-02 19:08:55Z saispo@macports.org$1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 PortGroup python25 1.0 5 5 6 6 name mercurial 7 7 version 1.0.1 8 revision 18 revision 2 9 9 categories devel python 10 10 maintainers deric@macports.org 11 11 description A fast, lightweight, distributed SCM system written in \ … … 31 31 32 32 depends_lib-append port:py25-zlib port:py25-hashlib port:py25-bz2 33 33 34 variant bash_completion description {Install mercurial bash-completion file} { 35 depends_run-append port:bash-completion 36 } 37 34 38 post-destroot { 35 39 # install html docs 36 40 xinstall -m 644 -W ${worksrcpath}/doc hg.1.html hgrc.5.html hgignore.5.html \ … … 49 53 # copy hgweb.cgi hgwebdir.cgi 50 54 file copy ${worksrcpath}/hgweb.cgi ${destroot}${prefix}/share/${name}/ 51 55 file copy ${worksrcpath}/hgwebdir.cgi ${destroot}${prefix}/share/${name}/ 56 57 if {[variant_isset bash_completion]} { 58 xinstall -d ${destroot}${prefix}/etc/bash_completion.d 59 copy ${worksrcpath}/contrib/bash_completion ${destroot}${prefix}/etc/bash_completion.d/mercurial 60 } 52 61 }