Ticket #7696: Portfile

File Portfile, 1.2 KB (added by namely_void@…, 19 years ago)

New Portfile

Line 
1# $Id: Portfile,v 1.2 2005/12/09 16:59:15 mww Exp $
2
3PortSystem 1.0
4name            git-core
5version         1.2.4
6description     The stupid content tracker.
7long_description        A stupid (but extremely fast) directory \
8                        content manager. It doesn't do a whole lot, \
9                        but what it _does_ do is track directory contents \
10                        efficiently.
11maintainers     namely_void@yahoo.co.uk
12categories      devel
13platforms       darwin
14homepage        http://kernel.org/git/
15use_bzip2       yes
16master_sites    http://www.kernel.org/pub/software/scm/git/
17checksums       md5 4ddb476031d76614a0a5ab625c516972
18distname        git-${version}
19depends_run     bin:curl:curl bin:diff:diffutils bin:merge:rcs bin:wish:tk \
20                bin:ssh:openssh bin:python:python24 bin:rsync:rsync \
21                bin:sed:gsed
22depends_lib     port:curl port:zlib port:openssl port:expat port:libiconv
23
24patchfiles      patch-Makefiles
25
26use_configure   no
27
28build.env       CFLAGS="-Wall -O2 -I${prefix}/include" LDFLAGS="-L${prefix}/lib"
29build.args      prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix}
30
31destroot.destdir DESTDIR=${destroot} prefix=${prefix}
32destroot.target install
33
34variant doc {
35        depends_build           bin:asciidoc:py-asciidoc bin:xmlto:xmlto
36        build.target-append     doc
37        destroot.target-append  install-doc
38}
39