Ticket #1301: Portfile

File Portfile, 1.0 KB (added by yves@…, 21 years ago)

new portfile for gtkg

Line 
1# $Id: Portfile,v 1.5 2004/01/14 11:44:22 jkh Exp $
2
3PortSystem 1.0
4name            gtk-gnutella
5version         0.93.3
6categories      net
7maintainers     mij@opendarwin.org
8description     GTK-based Gnutella client
9homepage        http://gtk-gnutella.sourceforge.net/
10platforms       darwin
11
12long_description GTK-Gnutella is a Gnutella client that features search, \
13                 download, file sharing, bandwidth limiting, host caching, \
14                 and some basic statistics.
15
16master_sites    sourceforge
17
18checksums       md5 34e357c768e6bbecd267d04b95e9c380
19
20use_bzip2       yes
21
22depends_lib     lib:libxml.2:libxml2 lib:libgtk.1:gtk1
23
24depends_build   bin:gawk:gawk
25
26configure.env   CPPFLAGS="-I${prefix}/include -no-cpp-precomp"
27
28configure.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
34configure.pre_args-delete       --prefix=${prefix}
35
36variant 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}