| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | PortGroup xcode 1.0 |
|---|
| 5 | |
|---|
| 6 | name GitX |
|---|
| 7 | version 0.6.2 |
|---|
| 8 | maintainers inmachina.com:max openmaintainer |
|---|
| 9 | |
|---|
| 10 | categories devel |
|---|
| 11 | description GitX is a git GUI specifically for Mac OS X |
|---|
| 12 | long_description GitX is a gitk like clone written specifically for OS X Leopard and higher. \ |
|---|
| 13 | This means that it has a native interface and tries to integrate with the \ |
|---|
| 14 | operating system as good as possible. Examples of this are drag and drop \ |
|---|
| 15 | support and QuickLook support. |
|---|
| 16 | |
|---|
| 17 | platforms darwin |
|---|
| 18 | |
|---|
| 19 | homepage http://gitx.frim.nl/ |
|---|
| 20 | |
|---|
| 21 | fetch.type git |
|---|
| 22 | git.url git://github.com/pieter/gitx.git |
|---|
| 23 | git.branch v${version} |
|---|
| 24 | |
|---|
| 25 | depends_lib-append port:git-core |
|---|
| 26 | |
|---|
| 27 | xcode.target GitX |
|---|
| 28 | |
|---|
| 29 | pre-fetch { |
|---|
| 30 | if {${os.major} < 9} { |
|---|
| 31 | return -code error "This version of ${name} is only for Mac OS X 10.5 or later." |
|---|
| 32 | } |
|---|
| 33 | } |
|---|
| 34 | |
|---|
| 35 | post-destroot { |
|---|
| 36 | file mkdir ${destroot}/${prefix}/bin |
|---|
| 37 | file rename ${destroot}/${applications_dir}/gitx ${destroot}/${prefix}/bin/gitx |
|---|
| 38 | } |
|---|
| 39 | |
|---|
| 40 | livecheck.url http://github.com/pieter/gitx/downloads |
|---|
| 41 | livecheck.regex <a href=\"/pieter/gitx/tarball/v(.*)\">tgz</a> |
|---|