blob: 3d8f4637de542c9a0199df0a1c3263407de0e907 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.20 2008/06/12 02:14:58 joerg Exp $
#
DISTNAME= wxPython-src-2.6.3.3
PKGNAME= ${PYPKGPREFIX}-wxWidgets-2.6.3.3
CATEGORIES= x11 python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxpython/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tsarna@NetBSD.org
HOMEPAGE= http://wxpython.org/
COMMENT= Python bindings for wxWidgets
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/wxPython-src-2.6.3.3/wxPython
USE_LANGUAGES= c c++
USE_TOOLS+= gmake pkg-config
# previous name of the package
CONFLICTS+= ${PYPKGPREFIX}-wxWindows-[0-9]*
WXARG= WXPORT=gtk2 \
WX_CONFIG=${BUILDLINK_PREFIX.wxGTK}/bin/wx-config \
CONTRIBS_INC="../contrib/include" \
BUILD_ANIMATE=0
PYDISTUTILSPKG= yes
# no scripts to avoid conflicts
PYSETUPBUILDARGS= NO_SCRIPTS=1 ${WXARG}
PYSETUPINSTALLARGS= NO_SCRIPTS=1 ${WXARG}
PYBINMODULE= yes
PLIST_SUBST+= GTKVER=2
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../x11/wxGTK/buildlink3.mk"
.include "../../x11/wxGTK-contrib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|