freebsd-ports/net/savvycan/Makefile
Craig Leres b9624c3f56 net/savvycan: 1.0.245
Changes since 1.0.187:

 - Fix off by one error in PCAN file loader

 - Merge pull request #339 from jogo-/patch-10

 - Fix typos in numerous modules

 - Updated help files

 - Fix blf import for BLF_CAN_MSG2

 - Support dragging and dropping of files onto app icon

 - Add support to read CANServer binary log files

 - improve interpolation for CSV-export.

Reported by:	portscout
2021-12-26 15:08:23 -08:00

53 lines
1.3 KiB
Makefile

PORTNAME= savvycan
PORTVERSION= 1.0.245
PORTEPOCH= 1
CATEGORIES= net
MAINTAINER= leres@FreeBSD.org
COMMENT= CAN bus reverse engineering and capture tool
LICENSE= MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
USES= compiler:c++11-lang gmake python:build,3.6+ qmake qt:5
USE_QT= buildtools_build core gui help printsupport serialbus \
serialport websockets-qml widgets
USE_GITHUB= yes
GH_TUPLE= collin80:SavvyCAN:${DISTVERSIONPREFIX}${PORTVERSION}
NO_MTREE= yes
PLIST_FILES= bin/savvycan \
man/man1/savvycan.1.gz
PORTSCOUT= skipv:continuous
OPTIONS_DEFINE+= DOCS EXAMPLES
PORTDOCS= *
PORTEXAMPLES= *
.include <bsd.port.options.mk>
post-build:
cd ${WRKSRC}/docs && ${GMAKE} man
.if ${PORT_OPTIONS:MDOCS}
cd ${WRKSRC}/docs && ${GMAKE} html
.endif
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/SavvyCAN ${STAGEDIR}${PREFIX}/bin/savvycan
${MKDIR} ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/docs/build/man/savvycan.1 \
${STAGEDIR}${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs/build && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>