2020-02-29 19:24:19 +01:00
|
|
|
PORTNAME= wxPython
|
2022-09-13 10:44:52 +02:00
|
|
|
PORTVERSION= 4.2.0
|
2020-02-29 19:24:19 +01:00
|
|
|
CATEGORIES= x11-toolkits python
|
2023-01-11 16:47:15 +01:00
|
|
|
MASTER_SITES= PYPI
|
2020-02-29 19:24:19 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2022-09-13 10:44:52 +02:00
|
|
|
PKGNAMESUFFIX= 42
|
2020-02-29 19:24:19 +01:00
|
|
|
DIST_SUBDIR= python
|
|
|
|
|
2022-12-29 15:26:13 +01:00
|
|
|
PATCH_SITES= https://github.com/wxWidgets/Phoenix/commit/
|
|
|
|
PATCHFILES= 2e9169effa9abf14f34f8436a791b8829eea7774.patch:-p1
|
|
|
|
|
2022-07-06 13:35:47 +02:00
|
|
|
MAINTAINER= desktop@FreeBSD.org
|
2020-02-29 19:24:19 +01:00
|
|
|
COMMENT= GUI toolkit for the Python programming language
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://www.wxpython.org
|
2020-02-29 19:24:19 +01:00
|
|
|
|
|
|
|
LICENSE= WXWINDOWS LGPL21+ GPLv2+
|
|
|
|
LICENSE_COMB= multi
|
|
|
|
LICENSE_NAME_WXWINDOWS= wxWindows Library Licence, Version 3.1
|
|
|
|
LICENSE_FILE_WXWINDOWS= ${WRKSRC}/license/licence.txt
|
|
|
|
LICENSE_PERMS_WXWINDOWS= dist-mirror pkg-mirror auto-accept
|
|
|
|
|
2022-12-29 15:26:13 +01:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pathlib2>0:devel/py-pathlib2@${PY_FLAVOR}
|
2020-02-29 19:24:19 +01:00
|
|
|
|
2023-06-15 00:00:28 +02:00
|
|
|
USES= compiler:c++11-lib gl localbase pkgconfig python
|
2020-02-29 19:24:19 +01:00
|
|
|
USE_GL= glu
|
2022-09-13 10:44:52 +02:00
|
|
|
USE_WX= 3.2
|
2020-02-29 19:24:19 +01:00
|
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
|
|
|
|
|
|
NLS_USES= gettext
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|WX_CONFIG = 'wx-config'|WX_CONFIG = '${WX_CONFIG}'|" ${WRKSRC}/build.py
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/wx -name *.so -exec ${STRIP_CMD} {} +
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|