-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
47 lines (35 loc) · 1.21 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# $Id: Portfile,v 1.10 2006/02/24 02:04:00 mij Exp $
PortSystem 1.0
name gtk-gnutella
version 0.96.2
categories net
maintainers mij@macports.org
description GTK-based Gnutella client
homepage http://gtk-gnutella.sourceforge.net/
platforms darwin
long_description GTK-Gnutella is a Gnutella client that features search, \
download, file sharing, bandwidth limiting, host caching, \
and some basic statistics.
master_sites sourceforge
checksums md5 a7c2db6223bbabff3581edc6f8b45106 \
sha1 59baec3659ad40bb07ba50b29b942facf584043f \
rmd160 09acaf3faf34046f6a7c85b938635be0a9f07203
use_bzip2 yes
depends_lib lib:libxml.2:libxml2 lib:libgtk.2:gtk2
depends_build bin:gawk:gawk
configure.env CPPFLAGS="-I${prefix}/include -no-cpp-precomp"
configure.args -Oders \
-D prefix=${prefix} \
-D official=true \
-D ccflags='-I/${prefix}/include' \
-D sysman=${prefix}/share/man \
-D libpth="${prefix}/lib /usr/lib" \
-D remotectrl=true -D gtkversion=2
configure.pre_args-delete --prefix=${prefix}
variant gtk1 {
depends_lib-delete lib:libgtk.2:gtk2
depends_lib-append lib:libgtk.1:gtk1
configure.args-delete '-D gtkversion=2'
configure.args-append '-D gtkversion=1'
}
destroot.destdir INSTALL_PREFIX=${destroot}