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
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pyobd
|
|
DISTVERSION= 0.9.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://www.obdtester.com/download/
|
|
DISTNAME= pyobd_${PORTVERSION}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= OBD-II compliant car diagnostic tool
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
DEPRECATED= Uses deprecated version of python
|
|
EXPIRATION_DATE= 2020-08-15
|
|
|
|
BUILD_DEPENDS= convert:graphics/ImageMagick6
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}serial>0:comms/py-serial@${PY_FLAVOR}
|
|
|
|
USES= dos2unix gnome python:2.7 shebangfix
|
|
DOS2UNIX_FILES= ${PORTNAME}.desktop
|
|
SHEBANG_FILES= ${PORTNAME}
|
|
USE_WX= 3.0
|
|
WX_COMPS= python
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
NO_ARCH= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
do-build:
|
|
@convert ${WRKSRC}/${PORTNAME}.gif ${WRKSRC}/${PORTNAME}.png
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \
|
|
${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \
|
|
${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${WRKSRC}/*.py ${WRKSRC}/*.pyc \
|
|
${STAGEDIR}${DATADIR}
|
|
@${CHMOD} +x ${STAGEDIR}${DATADIR}/${PORTNAME}
|
|
@${LN} -sf ../share/${PORTNAME}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|