Ticket #50452: Portfile.patch
File Portfile.patch, 2.9 KB (added by khepler, 9 years ago) |
---|
-
Portfile.
old new 16 16 Linux/NetBSD/FreeBSD/OpenBSD (GTK+ interface) and BeOS \ 17 17 (native interface). This is the GTK+ version. 18 18 homepage http://www.transmissionbt.com/ 19 master_sites sourceforge:transmission.mirror 19 master_sites http://download.m0k.org/transmission/files/ \ 20 http://download.transmissionbt.com/files/ \ 21 https://transmission.cachefly.net/ 20 22 21 23 platforms darwin freebsd 22 24 … … 28 30 checksums rmd160 9d209bdf0ebeb6f4d6d9dc726cf8bf9e9c8ccb40 \ 29 31 sha256 a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb 30 32 31 depends_build port:gsed \ 32 port:intltool \ 33 depends_build port:intltool \ 33 34 port:pkgconfig \ 34 35 port:autoconf \ 35 36 port:automake \ 36 37 port:libtool 37 38 38 depends_lib port:desktop-file-utils \ 39 port:gtk3 \ 39 depends_lib port:miniupnpc \ 40 40 path:lib/libssl.dylib:openssl \ 41 41 port:curl \ 42 42 port:gettext \ 43 43 port:libevent 44 44 45 depends_run port:gnome-themes-standard46 47 45 # reconfigure using upstream autogen.sh for intltool 0.51 compatibility 48 46 49 47 configure.cmd ./autogen.sh 50 48 51 49 configure.args --enable-daemon \ 52 50 --enable-cli \ 53 --with -gtk \51 --without-gtk \ 54 52 --disable-mac 55 53 54 default_variants +gtk 55 56 56 variant aqua description {Build Aqua front-end} { 57 57 configure.args-replace --disable-mac --enable-mac 58 58 } 59 59 60 variant gtk description {Build Gtk3 front-end} { 61 depends_lib-append port:gtk3 \ 62 port:libnotify \ 63 port:desktop-file-utils 64 65 depends_run port:gnome-themes-standard 66 67 configure.args-replace --without-gtk --with-gtk 68 69 post-activate { 70 system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" 71 system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" 72 } 73 } 74 60 75 platform darwin 8 { 61 76 pre-fetch { 62 77 ui_error "${name} requires Mac OS X 10.5 or greater." … … 64 79 } 65 80 } 66 81 67 post-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 72 livecheck.type regex 73 livecheck.url http://sourceforge.net/projects/transmission.mirror/files/ 74 livecheck.regex "transmission-(\\d+(?:\\.\\d+)*)${extract.suffix}" 82 livecheck.url ${homepage}/download.php 83 livecheck.regex The current release version is <b>(.*)</b>