337a99bc8b
- Rename wxPython40 to wxPython4 - Update to 4.1 version - Fix wxgtk31 for string - Use wxGtk31 instead of wxgtk30 - Fix kicad* ports with wxgtk31/wxPython 4.1 Changes: - https://www.wxpython.org/news/2020-11-21-wxpython-411-release/index.html Reviewed by: tcberner Approved by: yuri, bofh Differential Revision: D34080
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
PORTNAME= pyobd
|
|
DISTVERSION= 0.9.3
|
|
PORTREVISION= 6
|
|
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
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>0:comms/py-pyserial@${PY_FLAVOR}
|
|
|
|
USES= dos2unix gnome magick:6,build python shebangfix
|
|
DOS2UNIX_FILES= ${PORTNAME}.desktop
|
|
SHEBANG_FILES= ${PORTNAME}
|
|
USE_WX= 3.1
|
|
WX_COMPS= python
|
|
|
|
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>
|