source: trunk/dports/devel/qgit/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem          1.0
4
5name                qgit
6version             2.2
7revision            1
8categories          devel
9maintainers         free.fr:ocroquette
10description         A graphical interface to git repositories
11long_description    A QT graphical interface to git repositories
12
13homepage            http://sourceforge.net/projects/qgit/
14platforms           darwin
15distname            qgit-${version}
16
17use_bzip2           yes
18worksrcdir          qgit
19
20master_sites        sourceforge
21checksums           md5 f863efa000aa1549f803c6ad743decd6
22
23depends_lib         port:qt4-mac port:git-core
24
25patchfiles          patch_src_namespace_def.cpp.diff  patch_src_qgit.cpp.diff
26
27configure {
28    # ui_msg ${worksrcpath}
29    system "cd ${worksrcpath} && ${prefix}/libexec/qt4-mac/bin/qmake"
30}
31
32destroot {
33    # Install to the application directory
34    xinstall -m 755 -d ${destroot}/Applications/MacPorts
35    file copy ${worksrcpath}/bin/qgit.app \
36              ${destroot}/Applications/MacPorts
37
38    # Also copy to /bin for easier access from the command line
39    # Especially useful since qgit is supposed to be started from
40    # the GIT repository location.
41    xinstall ${worksrcpath}/bin/qgit.app/Contents/MacOS/qgit ${destroot}${prefix}/bin
42}
43
Note: See TracBrowser for help on using the repository browser.