[43024] trunk/dports/x11/xorg-xcb-proto/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Wed Dec 3 12:58:44 PST 2008
Revision: 43024
http://trac.macports.org/changeset/43024
Author: jeremyhu at macports.org
Date: 2008-12-03 12:58:44 -0800 (Wed, 03 Dec 2008)
Log Message:
-----------
Added missing dependencies on python and libxml2 - bug #17499
Modified Paths:
--------------
trunk/dports/x11/xorg-xcb-proto/Portfile
Modified: trunk/dports/x11/xorg-xcb-proto/Portfile
===================================================================
--- trunk/dports/x11/xorg-xcb-proto/Portfile 2008-12-03 19:52:06 UTC (rev 43023)
+++ trunk/dports/x11/xorg-xcb-proto/Portfile 2008-12-03 20:58:44 UTC (rev 43024)
@@ -19,3 +19,32 @@
use_bzip2 yes
universal_variant no
+
+set pyversion 2.6
+depends_run port:libxml2 \
+ port:python[strsed ${pyversion} {g/[.]//}]
+configure.env PYTHON=${prefix}/bin/python${pyversion}
+
+variant python25 description {Use python 2.5 for xcbgen} {
+ depends_run-delete port:python[strsed ${pyversion} {g/[.]//}]
+ configure.env-delete PYTHON=${prefix}/bin/python${pyversion}
+
+ set pyversion 2.5
+
+ depends_lib-append port:python[strsed ${pyversion} {g/[.]//}]
+ configure.env-append PYTHON=${prefix}/bin/python${pyversion}
+}
+
+variant python30 description {Use python 3.0 for xcbgen} {
+ depends_run-delete port:python[strsed ${pyversion} {g/[.]//}]
+ configure.env-delete PYTHON=${prefix}/bin/python${pyversion}
+
+ set pyversion 3.0
+
+ depends_lib-append port:python[strsed ${pyversion} {g/[.]//}]
+ configure.env-append PYTHON=${prefix}/bin/python${pyversion}
+}
+
+livecheck.check regex
+livecheck.url ${master_sites}?C=M&O=D
+livecheck.regex xcb-proto-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081203/2dd76167/attachment.html>
More information about the macports-changes
mailing list