freebsd-ports/x11-toolkits/py-wxPython40/Makefile
Loïc Bartoletti fc45cfe430 x11-toolkits/py-wxPython40: GUI toolkit for the Python programming language
py-wxPython40 aka Phoenix is a reborn of wxPython and in particular it allows to use wxWidgets with Python3.


  - Add x11-toolkits/py-wxPython40
  - Replace wxPython30 by wxPython40 when python wxWidgets is required
  - Fix cad/kicad and cad/kicad-devel to use wxPython40 "Phoenix"
  - Update comms/congruity, graphics/py-mayavi from wx 2.8 to 3.0
  - While I'm here fix portlint per emulators/playonbsd
  - Remove RUN_DEPENDS from USE_WX per graphics/djvusmooth
  - Bump portversion
  - Fix unicode on x11-toolkits/wxgtk30 and take Maintainer'ship

PR:     241893
Reviewed by:	koobs, tcberner
Approved by:	tcberner (mentor)
Differential Revision:  https://reviews.freebsd.org/D21915
Exp-run by:     antoine
2020-02-29 18:24:19 +00:00

37 lines
971 B
Makefile

# $FreeBSD$
PORTNAME= wxPython
PORTVERSION= 4.0.7
CATEGORIES= x11-toolkits python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 40
DIST_SUBDIR= python
MAINTAINER= python@FreeBSD.org
COMMENT= GUI toolkit for the Python programming language
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
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pathlib2>0:devel/py-pathlib2@${PY_FLAVOR}
USES= compiler:c++11-lib gl localbase pkgconfig python
USE_GL= glu
USE_WX= 3.0
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>