diff --git a/dports/devel/git-core/Portfile b/dports/devel/git-core/Portfile
index 363ad3b..b7b6091 100644
a
|
b
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | name git-core |
5 | 5 | version 1.5.2.3 |
| 6 | revision 1 |
6 | 7 | description The stupid content tracker. |
7 | 8 | long_description A stupid (but extremely fast) directory content manager. \ |
8 | 9 | It doesn't do a whole lot, but what it _does_ do is track \ |
… |
… |
depends_lib port:curl port:zlib port:openssl port:expat port:libiconv |
25 | 26 | |
26 | 27 | patchfiles patch-Documentation_Makefile patch-Makefile patch-http.h |
27 | 28 | |
| 29 | extract.only git-${version}${extract.suffix} \ |
| 30 | git-manpages-${version}${extract.suffix} |
| 31 | |
28 | 32 | use_configure no |
29 | 33 | |
30 | 34 | build.env CFLAGS="-Wall -O2 -I${prefix}/include" LDFLAGS="-L${prefix}/lib" |
… |
… |
post-destroot { |
54 | 58 | if {![variant_isset svn]} { |
55 | 59 | system "rm ${destroot}${prefix}/bin/git-svn*" |
56 | 60 | } |
| 61 | if {[variant_isset doc]} { |
| 62 | set docdestroot ${destroot}${prefix}/share/doc/${name} |
| 63 | xinstall -d ${docdestroot} |
| 64 | cd ${docdestroot} |
| 65 | system "${extract.cmd} ${extract.pre_args} \ |
| 66 | ${distpath}/git-htmldocs-${version}${extract.suffix} \ |
| 67 | ${extract.post_args}" |
| 68 | } |
57 | 69 | } |
58 | 70 | |
59 | | variant doc { |
60 | | depends_build-append port:asciidoc port:xmlto |
61 | | build.args-append XML_CATALOG_FILES=${prefix}/etc/xml/catalog |
62 | | build.target-append doc |
63 | | destroot.target-append install-doc |
| 71 | variant doc description {Install HTML and plaintext documentation} { |
| 72 | distfiles-append git-htmldocs-${version}${extract.suffix} |
| 73 | checksums-append git-htmldocs-${version}${extract.suffix} sha1 02bf28c0fd064ad4c9335e80ca837582bc882d65 |
64 | 74 | } |
65 | 75 | |
66 | 76 | variant svn { |