# -*- 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 python25 1.0 name deluge version 1.1.9 categories net gnome python maintainers devans openmaintainer 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/ use_bzip2 yes checksums md5 38b9dbf255ed9620760d546dbb757882 \ sha1 20d035f75b42382e00cabb8a587866abb00d11fc \ rmd160 b1f23d8b0392d80e580444675238be7cd71a3c65 depends_build port:py25-setuptools depends_lib-append \ port:boost \ port:dbus-python25 \ port:librsvg \ port:py25-chardet \ port:py25-gtk \ port:py25-setuptools \ port:py25-xdg if { ![file exists ${prefix}/lib/libboost_python-mt.dylib] } { depends_lib-delete port:boost } pre-extract { if { ![file exists ${prefix}/lib/libboost_python-mt.dylib] } { if { [file exists ${prefix}/lib/libboost_system-mt.dylib] } { ui_error " **** **** Deluge requires port boost installed with variant +python25. **** Please do the following then try installing deluge again: **** **** sudo port deactivate boost **** sudo port install boost +python25 **** " } else { ui_error " **** **** Deluge requires port boost installed with variant +python25. **** Please do the following then try installing deluge again: **** **** sudo port install boost +python25 **** " } error "Deluge requires boost +python25" } } 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} livecheck.check regex livecheck.url http://download.deluge-torrent.org/source/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"