[40144] trunk/dports/net/deluge
jmr at macports.org
jmr at macports.org
Mon Sep 22 07:30:11 PDT 2008
Revision: 40144
http://trac.macports.org/changeset/40144
Author: jmr at macports.org
Date: 2008-09-22 07:30:08 -0700 (Mon, 22 Sep 2008)
Log Message:
-----------
deluge: update to version 1.0.0
Modified Paths:
--------------
trunk/dports/net/deluge/Portfile
Added Paths:
-----------
trunk/dports/net/deluge/files/
trunk/dports/net/deluge/files/patch-setup.py.diff
Modified: trunk/dports/net/deluge/Portfile
===================================================================
--- trunk/dports/net/deluge/Portfile 2008-09-22 12:26:59 UTC (rev 40143)
+++ trunk/dports/net/deluge/Portfile 2008-09-22 14:30:08 UTC (rev 40144)
@@ -4,7 +4,7 @@
PortGroup python25 1.0
name deluge
-version 0.5.9.1
+version 1.0.0
categories net gnome python
maintainers nomaintainer
description A GNOME BitTorrent client.
@@ -15,12 +15,10 @@
master_sites http://download.deluge-torrent.org/source/${version}/
-checksums md5 f0545334af0011747d565d6a778a8b23 \
- sha1 1144d07fc808669aa74af00b1f7808db73c8d96d \
- rmd160 d765706b5432514bbf0057e2b0fbc481160d5c1c
+checksums md5 3fdb6838c1ec411d4f8ab5b1d8608f73 \
+ sha1 3ca5a5609f8b956c2f80af3b5f7f8f77cfc49771 \
+ rmd160 9151af0ccd95b0a9f8ed020559a9ae1e30916840
-worksrcdir ${name}-torrent-${version}
-
depends_lib-append \
port:dbus-python25 \
port:gettext \
@@ -31,9 +29,12 @@
port:py25-zlib \
port:boost
+patchfiles patch-setup.py.diff
+
configure.cflags-append -I${prefix}/include/boost
configure.cppflags-append -I${prefix}/include/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"
+ CFLAGS="-I${prefix}/include -I${prefix}/include/boost" \
+ PREFIX=${prefix}
Added: trunk/dports/net/deluge/files/patch-setup.py.diff
===================================================================
--- trunk/dports/net/deluge/files/patch-setup.py.diff (rev 0)
+++ trunk/dports/net/deluge/files/patch-setup.py.diff 2008-09-22 14:30:08 UTC (rev 40144)
@@ -0,0 +1,14 @@
+--- setup.py.orig 2008-09-22 05:22:24.000000000 +1000
++++ setup.py 2008-09-22 23:57:51.000000000 +1000
+@@ -232,7 +232,10 @@
+ os.system("cd " + path + "&& python setup.py bdist_egg -d ..")
+
+ # Main setup
+-PREFIX = "/usr/"
++if not os.environ.has_key("PREFIX"):
++ PREFIX = "/usr/"
++else:
++ PREFIX = os.environ["PREFIX"]
+ if windows_check():
+ PREFIX = ""
+ _data_files = [(os.path.join(PREFIX, 'share/icons/scalable/apps'), [
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080922/059b12e3/attachment.html
More information about the macports-changes
mailing list