| 1 | # $Id: Portfile,v 1.2 2005/12/09 16:59:15 mww Exp $ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | name git-core |
|---|
| 5 | version 1.2.4 |
|---|
| 6 | description The stupid content tracker. |
|---|
| 7 | long_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. |
|---|
| 11 | maintainers namely_void@yahoo.co.uk |
|---|
| 12 | categories devel |
|---|
| 13 | platforms darwin |
|---|
| 14 | homepage http://kernel.org/git/ |
|---|
| 15 | use_bzip2 yes |
|---|
| 16 | master_sites http://www.kernel.org/pub/software/scm/git/ |
|---|
| 17 | checksums md5 4ddb476031d76614a0a5ab625c516972 |
|---|
| 18 | distname git-${version} |
|---|
| 19 | depends_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 |
|---|
| 22 | depends_lib port:curl port:zlib port:openssl port:expat port:libiconv |
|---|
| 23 | |
|---|
| 24 | patchfiles patch-Makefiles |
|---|
| 25 | |
|---|
| 26 | use_configure no |
|---|
| 27 | |
|---|
| 28 | build.env CFLAGS="-Wall -O2 -I${prefix}/include" LDFLAGS="-L${prefix}/lib" |
|---|
| 29 | build.args prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix} |
|---|
| 30 | |
|---|
| 31 | destroot.destdir DESTDIR=${destroot} prefix=${prefix} |
|---|
| 32 | destroot.target install |
|---|
| 33 | |
|---|
| 34 | variant doc { |
|---|
| 35 | depends_build bin:asciidoc:py-asciidoc bin:xmlto:xmlto |
|---|
| 36 | build.target-append doc |
|---|
| 37 | destroot.target-append install-doc |
|---|
| 38 | } |
|---|
| 39 | |
|---|