summaryrefslogtreecommitdiff
path: root/x11-toolkits/py-wxPython28
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-11-09 23:07:32 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-11-09 23:07:32 +0000
commit120c389b0f2faa7cdecaaf0dd0dc03fadfc177a2 (patch)
treea1a7f1be49aa4d4a8adc10c219450184deb73f8a /x11-toolkits/py-wxPython28
parentsvgalib is only available for i386 archs. (diff)
- Update to 2.4.2.4.
- Use wxgtk2 by default, provide WITH_GTK1 knob.
Notes
Notes: svn path=/head/; revision=93598
Diffstat (limited to 'x11-toolkits/py-wxPython28')
-rw-r--r--x11-toolkits/py-wxPython28/Makefile20
-rw-r--r--x11-toolkits/py-wxPython28/distinfo2
2 files changed, 7 insertions, 15 deletions
diff --git a/x11-toolkits/py-wxPython28/Makefile b/x11-toolkits/py-wxPython28/Makefile
index f47d1f767f5e..65d05eb363f0 100644
--- a/x11-toolkits/py-wxPython28/Makefile
+++ b/x11-toolkits/py-wxPython28/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= wxPython
-PORTVERSION= 2.4.1.2
-PORTREVISION= 1
+PORTVERSION= 2.4.2.4
CATEGORIES= x11-toolkits python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wxpython
@@ -17,13 +16,10 @@ DISTNAME= ${PORTNAME}Src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.ORG
COMMENT= Python bindings for the wxWindows/GTK GUI toolkit
-LIB_DEPENDS= wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl
WRKSRC= ${WRKDIR}/${DISTNAME}/wxPython
-WX_CONFIG= ${X11BASE}/bin/wx-config
-
USE_GMAKE= yes
USE_PYTHON= yes
USE_PYDISTUTILS=yes
@@ -50,20 +46,16 @@ post-install:
.include <bsd.port.pre.mk>
-.if exists(${WX_CONFIG})
-# detect if wxgtk was linked against gtk1 or gtk2
-DECISION_GTK_1_OR_2!= ${WX_CONFIG} --static --libs
-.else
-DECISION_GTK_1_OR_2= ""
-.endif
+.if !defined(WITH_GTK1)
+LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
+WX_CONFIG= ${X11BASE}/bin/wxgtk2-2.4-config
-.if ${DECISION_GTK_1_OR_2:M*glib-2.0} != ""
-USE_GNOME+= gtk20
CONFIGURE_ARGS+= --enable-gtk2
PYDISTUTILS_BUILDARGS+= WXPORT=gtk2
PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS} ${PYDISTUTILS_BUILDARGS}
.else
-USE_GNOME+= gtk12
+LIB_DEPENDS= wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk
+WX_CONFIG= ${X11BASE}/bin/wxgtk-2.4-config
.endif
.include <bsd.port.post.mk>
diff --git a/x11-toolkits/py-wxPython28/distinfo b/x11-toolkits/py-wxPython28/distinfo
index c9eec43e1b71..cb8f7410866b 100644
--- a/x11-toolkits/py-wxPython28/distinfo
+++ b/x11-toolkits/py-wxPython28/distinfo
@@ -1 +1 @@
-MD5 (wxPythonSrc-2.4.1.2.tar.gz) = 515fa95c5c0497404a858213b6586411
+MD5 (wxPythonSrc-2.4.2.4.tar.gz) = ea4eb68e10a0c2a9be643b35dcb78e41