1 | # $Id: Portfile,v 1.5 2004/01/14 11:44:22 jkh Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name gtk-gnutella |
---|
5 | version 0.93.3 |
---|
6 | categories net |
---|
7 | maintainers mij@opendarwin.org |
---|
8 | description GTK-based Gnutella client |
---|
9 | homepage http://gtk-gnutella.sourceforge.net/ |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | long_description GTK-Gnutella is a Gnutella client that features search, \ |
---|
13 | download, file sharing, bandwidth limiting, host caching, \ |
---|
14 | and some basic statistics. |
---|
15 | |
---|
16 | master_sites sourceforge |
---|
17 | |
---|
18 | checksums md5 34e357c768e6bbecd267d04b95e9c380 |
---|
19 | |
---|
20 | use_bzip2 yes |
---|
21 | |
---|
22 | depends_lib lib:libxml.2:libxml2 lib:libgtk.1:gtk1 |
---|
23 | |
---|
24 | depends_build bin:gawk:gawk |
---|
25 | |
---|
26 | configure.env CPPFLAGS="-I${prefix}/include -no-cpp-precomp" |
---|
27 | |
---|
28 | configure.args -d -e -r -s \ |
---|
29 | -D prefix=${prefix} \ |
---|
30 | -D sysman=${prefix}/share/man \ |
---|
31 | -D libpth="${prefix}/lib /usr/lib" \ |
---|
32 | -D remotectrl=true -D gtkversion=1 |
---|
33 | |
---|
34 | configure.pre_args-delete --prefix=${prefix} |
---|
35 | |
---|
36 | variant gtk2 { |
---|
37 | depends_lib-delete lib:libgtk.1:gtk1 |
---|
38 | depends_lib-append lib:libgtk.2:gtk2 |
---|
39 | configure.args-delete '-D gtkversion=1' |
---|
40 | configure.args-append '-D gtkversion=2' |
---|
41 | } |
---|