source: trunk/dports/net/transmission-x11/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
3
4PortSystem          1.0
5
6name                transmission-x11
7version             2.84
8categories          net x11
9license             {GPL-2 OpenSSLException}
10maintainers         nomaintainer
11description         Lightweight BitTorrent client
12long_description    Transmission is a free, lightweight BitTorrent client. \
13                    It features a simple, intuitive interface on top of an \
14                    efficient, cross-platform back-end. Transmission is open \
15                    source (MIT license) and runs on Mac OS X (Cocoa interface), \
16                    Linux/NetBSD/FreeBSD/OpenBSD (GTK+ interface) and BeOS \
17                    (native interface). This is the GTK+ version.
18homepage            http://www.transmissionbt.com/
19master_sites        sourceforge:transmission.mirror
20
21platforms           darwin freebsd
22
23use_xz              yes
24
25distname            transmission-${version}
26dist_subdir         transmission
27
28checksums           rmd160  9d209bdf0ebeb6f4d6d9dc726cf8bf9e9c8ccb40 \
29                    sha256  a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb
30
31depends_build       port:gsed \
32                    port:intltool \
33                    port:pkgconfig \
34                    port:autoconf \
35                    port:automake \
36                    port:libtool
37
38depends_lib         port:desktop-file-utils \
39                    port:gtk3 \
40                    path:lib/libssl.dylib:openssl \
41                    port:curl \
42                    port:gettext \
43                    port:libevent
44
45depends_run         port:gnome-themes-standard
46
47# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
48
49configure.cmd       ./autogen.sh
50
51configure.args      --enable-daemon \
52                    --enable-cli \
53                    --with-gtk \
54                    --disable-mac
55
56variant aqua description {Build Aqua front-end} {
57    configure.args-replace  --disable-mac --enable-mac
58}
59
60platform darwin 8 {
61    pre-fetch {
62        ui_error "${name} requires Mac OS X 10.5 or greater."
63        return -code error "incompatible Mac OS X version"
64    }
65}
66
67post-activate {
68    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
69    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
70}
71
72livecheck.type      regex
73livecheck.url       http://sourceforge.net/projects/transmission.mirror/files/
74livecheck.regex     "transmission-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.