# $Id: Portfile 32257 2007-12-23 09:39:21Z ryandesign@macports.org $ PortSystem 1.0 PortGroup python24 1.0 name stgit version 0.13 categories devel python maintainers boeyms openmaintainer description Push/pop utility on top of GIT long_description StGIT is a Python application providing similar \ functionality to Quilt (i.e. pushing/popping patches \ to/from a stack) on top of GIT. These operations are \ performed using GIT commands and the patches are stored \ as GIT commit objects, allowing easy merging of the StGIT \ patches into other repositories using standard GIT \ functionality. \ Note that StGIT is not an SCM interface on top of GIT and \ it expects a previously initialised GIT repository \ (unless it is cloned using StGIT directly). For standard \ SCM operations, either use plain GIT commands or the \ Cogito tool but it is not recommended to mix them with \ the StGIT commands. homepage http://www.procode.org/stgit/ master_sites http://homepage.ntlworld.com/cmarinas/stgit/ \ http://download.gna.org/stgit/ checksums md5 deef5e864e465c13c92ac5c9f5a45700 \ sha1 0a2d7b8e5fc09f3ea7f62dbcd57881ea51d7595a \ rmd160 aba40517731b63e20645cd9596d96b7ca5943ab7 depends_run port:git-core set stgdocs "${worksrcpath}/Documentation/\\\[a-z\\\]*.txt" set stgman "" post-destroot { # Install what little documentation there is xinstall -m 644 -W ${worksrcpath} COPYING README \ ${destroot}${prefix}/share/doc/${name} eval xinstall -m 644 [eval glob ${stgdocs}] \ ${destroot}${prefix}/share/doc/${name} if {${stgman} != ""} { eval xinstall -m 644 [eval glob ${stgman}] \ ${destroot}${prefix}/share/man/man1 } } variant html_man_docs \ description {Build and install documentation in HTML and manpage format} { #upvar stgdocs stgman # Need to add post-destroot addition of extra docs... lappend stgdocs ${worksrcpath}/Documentation/*.html lappend stgman ${worksrcpath}/Documentation/*.1 depends_build-append port:asciidoc port:xmlto post-build { system "cd ${worksrcpath} && make doc" } }