# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name deluge version 1.3.3 revision 1 categories net gnome python license GPL-3 maintainers devans openmaintainer supported_archs noarch description A GNOME BitTorrent client. long_description \ Deluge is a GNOME client for the BitTorrent network written in python. homepage http://www.deluge-torrent.org platforms darwin master_sites http://download.deluge-torrent.org/source/ dist_subdir python/${name}/${version}_${revision} use_bzip2 yes checksums md5 4027c60bb5d1c5da61e97a47e62ab1ab \ sha1 e45782cf4cb3c185bef0512ec2aeaa6350ef1200 \ rmd160 3d3736472e15cfc08df749a3d22e31c603d41907 depends_lib-append \ path:lib/libtorrent-rasterbar.dylib:libtorrent-rasterbar \ port:boost \ port:librsvg build.env PYTHON_CFLAGS="-I${prefix}/include -I${prefix}/include/boost" \ PYTHON_LDFLAGS=-L${prefix}/lib \ CFLAGS="-I${prefix}/include -I${prefix}/include/boost" \ CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} variant python26 conflicts python27 description {Build for Python 2.6} { python.version 26 depends_lib-append \ port:dbus-python26 \ port:py26-chardet \ port:py26-game \ port:py26-gtk \ port:py26-distribute \ port:py26-xdg \ port:py26-twisted \ port:py26-twisted-web2 \ port:py26-openssl \ port:py26-mako } variant python27 conflicts python26 description {Build for Python 2.7} { python.version 27 depends_lib-append \ port:dbus-python27 \ port:py27-chardet \ port:py27-game \ port:py27-gtk \ port:py27-distribute \ port:py27-xdg \ port:py27-twisted \ port:py27-twisted-web2 \ port:py27-openssl \ port:py27-mako } if {![variant_isset python26]} { default_variants +python27 } livecheck.type regex livecheck.url http://download.deluge-torrent.org/source/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"