[40957] trunk/dports/net/transmission-x11/Portfile

raimue at macports.org raimue at macports.org
Sat Oct 18 18:44:36 PDT 2008


Revision: 40957
          http://trac.macports.org/changeset/40957
Author:   raimue at macports.org
Date:     2008-10-18 18:44:36 -0700 (Sat, 18 Oct 2008)
Log Message:
-----------
net/transmission-x11:
Update to version 1.34, closes #16738

Modified Paths:
--------------
    trunk/dports/net/transmission-x11/Portfile

Modified: trunk/dports/net/transmission-x11/Portfile
===================================================================
--- trunk/dports/net/transmission-x11/Portfile	2008-10-19 01:22:34 UTC (rev 40956)
+++ trunk/dports/net/transmission-x11/Portfile	2008-10-19 01:44:36 UTC (rev 40957)
@@ -3,7 +3,7 @@
 PortSystem      1.0
 
 name            transmission-x11
-version		1.20
+version		1.34
 categories      net gnome x11
 maintainers     nomaintainer
 description     Lightweight BitTorrent client
@@ -16,18 +16,36 @@
 homepage        http://www.transmissionbt.com/
 distname        transmission-${version}
 master_sites    http://download.m0k.org/transmission/files/
-checksums       md5     6e0b25b10842fdac8a2206f29e951c0d \
-                sha1    c107544a3bb340ac16323ea7cd2f35bd6aa30596 \
-                rmd160  8aa45fc2a85f32b23a760b5401de2b38d911f8b6
+checksums       md5	c4ef93639bcb895c1b3d279b2f4e27b3 \
+                sha1	122cd096725225a5e41d79628f341ae8c2051b5c \
+                rmd160	b80a7c3fb0a7e1c82e2997b0e2dac6fd52557e3e
 use_bzip2       yes
 platforms       darwin freebsd
-depends_lib     port:gtk2 \
-                port:openssl
 
-configure.args --without-wx
+depends_lib     port:openssl \
+		port:curl
 
-# Avoid the Cocoa build
-post-extract {
-	reinplace "s|macosx/Makefile| |g" ${worksrcpath}/configure
-	reinplace "s|macosx||g" ${worksrcpath}/Makefile.in
+depends_build	port:gsed
+
+configure.args --enable-daemon --disable-wx --disable-darwin --disable-gtk --disable-libnotify
+
+variant gtk description {Build Gtk front-end} {
+	depends_lib-append	port:gtk2 \
+				port:dbus-glib
+	configure.args-delete	--disable-gtk
+	configure.args-append	--enable-gtk
 }
+
+variant aqua description {Build Aqua front-end} {
+	configure.args-delete	--disable-darwin
+	configure.args-append	--enable-darwin
+}
+
+pre-fetch {
+	if { [variant_isset aqua] } {
+		set comparison [string  compare "${os.platform} ${os.major}" "darwin 9"]
+		if {$comparison != 0} {
+			return -code error "The aqua front-end only builds on Mac OS X Leopard (10.5.x). try the gtk variant"
+		}
+	}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081018/e2e60492/attachment.html 


More information about the macports-changes mailing list