[94593] trunk/dports/irc/xchat2/Portfile
afb at macports.org
afb at macports.org
Sun Jun 24 00:52:29 PDT 2012
Revision: 94593
https://trac.macports.org/changeset/94593
Author: afb at macports.org
Date: 2012-06-24 00:52:27 -0700 (Sun, 24 Jun 2012)
Log Message:
-----------
set license, add python plugin variants (#34928)
Modified Paths:
--------------
trunk/dports/irc/xchat2/Portfile
Modified: trunk/dports/irc/xchat2/Portfile
===================================================================
--- trunk/dports/irc/xchat2/Portfile 2012-06-24 04:05:38 UTC (rev 94592)
+++ trunk/dports/irc/xchat2/Portfile 2012-06-24 07:52:27 UTC (rev 94593)
@@ -12,6 +12,7 @@
description GTK+2 IRC client
homepage http://www.xchat.org/
platforms darwin
+license GPL-2+
long_description \
XChat2 is a graphical IRC client based on GTK2 that has \
@@ -37,7 +38,7 @@
--disable-openssl --disable-dependency-tracking
universal_variant no
-variant xft conflicts quartz description "Enable Xft2 font support" {
+variant xft conflicts quartz description "Enable Xft2 font support" {
configure.args-append --enable-xft
}
@@ -51,5 +52,26 @@
configure.args-append --disable-xlib
}
+variant python25 description "Enable Python plugin, using python25" conflicts python26 python27 {
+ configure.args-delete --disable-python
+ configure.args-append --enable-python
+ depends_lib-append port:python25
+ configure.env pythonpath="${prefix}/bin/python2.5"
+}
+
+variant python26 description "Enable Python plugin, using python26" conflicts python25 python27 {
+ configure.args-delete --disable-python
+ configure.args-append --enable-python
+ depends_lib-append port:python26
+ configure.env pythonpath="${prefix}/bin/python2.6"
+}
+
+variant python27 description "Enable Python plugin, using python27" conflicts python25 python26 {
+ configure.args-delete --disable-python
+ configure.args-append --enable-python
+ depends_lib-append port:python27
+ configure.env pythonpath="${prefix}/bin/python2.7"
+}
+
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/20120624/6567dc8d/attachment.html>
More information about the macports-changes
mailing list