Ticket #29417: Portfile

File Portfile, 2.0 KB (added by tael67@…, 8 years ago)

Removed MD5

Line 
1# $Id: Portfile 78512 2011-05-10 12:57:07Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            transmission-x11
6version         2.22
7revision        2
8categories      net x11
9maintainers     gmail.com:tael67 openmaintainer
10description     Lightweight BitTorrent client
11long_description Transmission is a free, lightweight BitTorrent client. \
12                It features a simple, intuitive interface on top of an \
13                efficient, cross-platform back-end. Transmission is open \
14                source (MIT license) and runs on Mac OS X (Cocoa interface), \
15                Linux/NetBSD/FreeBSD/OpenBSD (GTK+ interface) and BeOS \
16                (native interface). This is the GTK+ version.
17homepage        http://www.transmissionbt.com/
18distname        transmission-${version}
19dist_subdir     transmission
20master_sites    http://download.m0k.org/transmission/files/
21checksums       sha1     ddd515bdcc201193b45f58b705f6e8fde9fcb5d1 \
22                                rmd160   e87b560f81fc8bc422dc7071a4b27bdcf2b2d6ac
23use_bzip2       yes
24platforms       darwin freebsd
25
26depends_lib     port:openssl \
27                port:curl
28depends_build   port:gsed \
29                port:intltool
30
31configure.args  --enable-daemon \
32                --enable-cli \
33                --disable-wx \
34                --disable-mac \
35                --disable-gtk \
36                --disable-libnotify
37
38variant gtk description {Build Gtk front-end} {
39  depends_lib-append  port:gtk2 \
40        port:dbus-glib
41  configure.args-delete --disable-gtk
42  configure.args-append --enable-gtk
43}
44
45variant aqua description {Build Aqua front-end} {
46  configure.args-delete --disable-mac
47  configure.args-append --enable-mac
48  pre-fetch {
49                    if {"darwin" == ${os.platform} && ${os.major} < 9} {
50                      ui_error "${name} +aqua requires Mac OS X 10.5 or greater. Try the +gtk variant instead."
51                      return -code error "incompatible Mac OS X version"
52                }
53  }
54}
55
56
57livecheck.type  regex
58livecheck.url   ${master_sites}
59livecheck.regex "transmission-(\\d+(?:\\.\\d+)*)${extract.suffix}"