1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name qgit |
---|
6 | version 2.1 |
---|
7 | categories devel |
---|
8 | maintainers ocroquette@free.fr |
---|
9 | description A graphical interface to git repositories |
---|
10 | long_description A QT graphical interface to git repositories |
---|
11 | |
---|
12 | homepage http://sourceforge.net/projects/qgit/ |
---|
13 | platforms darwin |
---|
14 | distname qgit-${version} |
---|
15 | |
---|
16 | use_bzip2 yes |
---|
17 | worksrcdir qgit |
---|
18 | |
---|
19 | master_sites sourceforge |
---|
20 | checksums md5 f22787c814fbe832d6da7c6a2436c3c0 |
---|
21 | |
---|
22 | depends_lib port:qt4-mac port:git-core |
---|
23 | |
---|
24 | configure { |
---|
25 | # ui_msg ${worksrcpath} |
---|
26 | system "cd ${worksrcpath} && qmake" |
---|
27 | } |
---|
28 | |
---|
29 | destroot { |
---|
30 | # Install to the application directory |
---|
31 | xinstall -m 755 -d ${destroot}/Applications/MacPorts |
---|
32 | file copy ${worksrcpath}/bin/qgit.app \ |
---|
33 | ${destroot}/Applications/MacPorts |
---|
34 | |
---|
35 | # Also copy to /bin for easier access from the command line |
---|
36 | # Especially useful since qgit is supposed to be started from |
---|
37 | # the GIT repository location. |
---|
38 | xinstall ${worksrcpath}/bin/qgit.app/Contents/MacOS/qgit ${destroot}${prefix}/bin |
---|
39 | } |
---|
40 | |
---|