[52865] trunk/dports/net/deluge/Portfile

devans at macports.org devans at macports.org
Wed Jun 24 15:20:05 PDT 2009


Revision: 52865
          http://trac.macports.org/changeset/52865
Author:   devans at macports.org
Date:     2009-06-24 15:20:05 -0700 (Wed, 24 Jun 2009)
Log Message:
-----------
deluge: port formatting changes, add mode line, no functional changes.

Modified Paths:
--------------
    trunk/dports/net/deluge/Portfile

Modified: trunk/dports/net/deluge/Portfile
===================================================================
--- trunk/dports/net/deluge/Portfile	2009-06-24 22:01:14 UTC (rev 52864)
+++ trunk/dports/net/deluge/Portfile	2009-06-24 22:20:05 UTC (rev 52865)
@@ -1,19 +1,20 @@
+# -*- 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
+PortSystem      1.0
+PortGroup       python25 1.0
 
-name		deluge
-version		1.1.9
-categories	net gnome python
+name            deluge
+version         1.1.9
+categories      net gnome python
 maintainers     devans openmaintainer
-description	A GNOME BitTorrent client.
+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
+                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/
+master_sites    http://download.deluge-torrent.org/source/
 
 use_bzip2       yes
 
@@ -21,32 +22,25 @@
                 sha1    20d035f75b42382e00cabb8a587866abb00d11fc \
                 rmd160  b1f23d8b0392d80e580444675238be7cd71a3c65
 
-depends_build \
-	port:py25-setuptools
+depends_build   port:py25-setuptools
 
-depends_lib-append	\
-	port:boost \
-        port:dbus-python25 \
-	port:gettext \
-	port:librsvg \
-	port:py25-chardet \
-        port:py25-gtk \
-	port:py25-setuptools \
-	port:py25-xdg
+depends_lib-append \
+                port:boost \
+                port:dbus-python25 \
+                port:gettext \
+                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
+        depends_lib-delete port:boost
 }
 
-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}
-
 pre-fetch {
-	if { ![file exists ${prefix}/lib/libboost_python-mt.dylib] } {
-	    if { [file exists ${prefix}/lib/libboost_system-mt.dylib] } {
+        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.
@@ -57,7 +51,7 @@
 ****
 
 "
-	    } else {
+            } else {
                 ui_error "
 ****
 **** Deluge requires port boost installed with variant +python25.
@@ -70,9 +64,14 @@
             }
             
             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}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090624/1829362e/attachment-0001.html>


More information about the macports-changes mailing list