summaryrefslogtreecommitdiff
path: root/x11/py-wxWidgets/Makefile
blob: d179caba94bbc0cb2385564c643f7c3b5d8ce4bf (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
# $NetBSD: Makefile,v 1.29 2010/11/15 22:59:08 abs Exp $
#

VERSION=	2.8.10.1
DISTNAME=	wxPython-src-${VERSION}
PKGNAME=	${PYPKGPREFIX}-wxWidgets-${VERSION}
PKGREVISION=	5
CATEGORIES=	x11 python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=wxpython/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://wxpython.org/
COMMENT=	Python bindings for wxWidgets

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/wxPython-src-${VERSION}/wxPython
USE_LANGUAGES=	c c++
USE_TOOLS+=	gmake pkg-config

# previous name of the package
CONFLICTS+=	${PYPKGPREFIX}-wxWindows-[0-9]*

WXARG=	WXPORT=gtk2 UNICODE=1

PYDISTUTILSPKG=	yes
# no scripts to avoid conflicts
#PYSETUPBUILDARGS=	NO_SCRIPTS=1 ${WXARG}
#PYSETUPINSTALLARGS=	NO_SCRIPTS=1 ${WXARG}

.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../x11/wxGTK28/buildlink3.mk"
.include "../../x11/wxGTK28-contrib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"