[64923] trunk/dports/net/libproxy/Portfile
nox at macports.org
nox at macports.org
Wed Mar 17 13:38:52 PDT 2010
Revision: 64923
http://trac.macports.org/changeset/64923
Author: nox at macports.org
Date: 2010-03-17 13:38:51 -0700 (Wed, 17 Mar 2010)
Log Message:
-----------
Update libproxy to 0.4.0 (#24057) and create new variant no_gnome
Modified Paths:
--------------
trunk/dports/net/libproxy/Portfile
Modified: trunk/dports/net/libproxy/Portfile
===================================================================
--- trunk/dports/net/libproxy/Portfile 2010-03-17 20:38:40 UTC (rev 64922)
+++ trunk/dports/net/libproxy/Portfile 2010-03-17 20:38:51 UTC (rev 64923)
@@ -2,10 +2,11 @@
# $Id$
PortSystem 1.0
+PortGroup archcheck 1.0
+PortGroup cmake 1.0
name libproxy
-version 0.3.0
-revision 1
+version 0.4.0
categories net
maintainers devans openmaintainer
platforms darwin
@@ -19,30 +20,54 @@
network resource, how do I reach it? It handles all \
the details, enabling you to get back to programming.
-checksums md5 6ded75a6c6aef53be657ece207cc26c4 \
- sha1 9d0d29b352a2cc4d9511d362bc02162eca91df59 \
- rmd160 270d216a1e9c1d174ffc1572d2bdaa30bb51d034
+checksums md5 b22c95df70a40949e99add5171fc3084 \
+ sha1 4d9dc92dd40255a51e541099b39d9852563dbc6a \
+ rmd160 9375f6926cf7c301e4f96a018ca5278c7c8c5c45
-depends_build port:pkgconfig
+post-patch {
+ if {![variant_isset kde]} {
+ reinplace /px_check_modules(KDE4/d \
+ ${worksrcpath}/libproxy/CMakeLists.txt
+ }
+}
+depends_build-append \
+ port:pkgconfig
+
+depends_lib \
+ port:xorg-libX11 \
+ port:xorg-libXmu
+
+configure.args-append \
+ -D__pkg_config_checked_KDE4=YES
+
depends_lib port:gconf \
port:python26 \
port:xorg-libXmu
configure.python ${prefix}/bin/python2.6
-configure.args --without-webkit \
- --without-kde \
- --without-networkmanager \
- --without-mozjs
+variant no_gnome description "Disable GNOME support" {
+ post-patch {
+ reinplace /px_check_modules(GNOME/d \
+ ${worksrcpath}/libproxy/CMakeLists.txt
+ }
-variant no_x11 conflicts kde {
- configure.args-append --without-x11
- depends_lib-delete port:xorg-libXmu
+ depends_lib-delete port:gconf
}
+variant no_x11 requires no_gnome conflicts kde {
+ post-patch {
+ reinplace /px_check_modules(X11/d \
+ ${worksrcpath}/libproxy/CMakeLists.txt
+ }
+
+ depends_lib-delete port:xorg-libX11 port:xorg-libXmu
+}
+
variant kde conflicts no_x11 description {Enable kde plugin (requires X11)} {
- configure.args-delete --without-kde
+ depends_lib-append port:kde4libs
+ configure.args-delete -D__pkg_config_checked_KDE4=YES
}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100317/4401c054/attachment.html>
More information about the macports-changes
mailing list