Ticket #19272: Portfile.3

File Portfile.3, 1.2 KB (added by max@…, 15 years ago)

converted tabs to spaces

Line 
1# $Id$
2
3PortSystem          1.0
4PortGroup           xcode 1.0
5
6name                GitX
7version             0.6.3
8maintainers         inmachina.com:max openmaintainer
9
10categories          devel
11description         GitX is a git GUI specifically for Mac OS X
12long_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
17platforms           darwin
18
19homepage            http://gitx.frim.nl/
20
21fetch.type          git
22git.url             git://github.com/pieter/gitx.git
23git.branch          v${version}
24
25depends_lib-append  port:git-core
26
27xcode.target        GitX
28
29pre-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
35post-destroot {
36    file mkdir  ${destroot}/${prefix}/bin
37    file rename ${destroot}/${applications_dir}/gitx ${destroot}/${prefix}/bin/gitx
38}
39
40livecheck.url       http://github.com/pieter/gitx/downloads
41livecheck.regex     <a href=\"/pieter/gitx/tarball/v(.*)\">tgz</a>