[61225] trunk/dports/irc/xchat2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Dec 5 12:24:46 PST 2009
Revision: 61225
http://trac.macports.org/changeset/61225
Author: ryandesign at macports.org
Date: 2009-12-05 12:24:45 -0800 (Sat, 05 Dec 2009)
Log Message:
-----------
xchat2: use ${branch} variable to avoid hardcoding the branch all over the portfile
Modified Paths:
--------------
trunk/dports/irc/xchat2/Portfile
Modified: trunk/dports/irc/xchat2/Portfile
===================================================================
--- trunk/dports/irc/xchat2/Portfile 2009-12-05 20:21:58 UTC (rev 61224)
+++ trunk/dports/irc/xchat2/Portfile 2009-12-05 20:24:45 UTC (rev 61225)
@@ -5,6 +5,7 @@
name xchat2
version 2.8.6
revision 2
+set branch [join [lrange [split ${version} .] 0 1] .]
categories irc
maintainers afb openmaintainer
description GTK+2 IRC client
@@ -15,8 +16,8 @@
XChat2 is a graphical IRC client based on GTK2 that has \
many features and can be scripted with Perl and/or Python.
-master_sites http://xchat.org/files/source/2.8/
-patch_sites http://xchat.org/files/source/2.8/patches/
+master_sites http://xchat.org/files/source/${branch}/
+patch_sites http://xchat.org/files/source/${branch}/patches/
distname xchat-${version}
@@ -44,5 +45,5 @@
variant quartz conflicts xft { configure.args-append --disable-xlib }
-livecheck.url http://www.xchat.org/files/source/2.8/?S=D
+livecheck.url http://www.xchat.org/files/source/${branch}/?S=D
livecheck.regex xchat-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091205/28651b71/attachment-0001.html>
More information about the macports-changes
mailing list