blob: 34892a857bb8ff6de2831d32a55516aa00144aee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
PORTNAME= savvycan
PORTVERSION= 220
PORTEPOCH= 2
CATEGORIES= net
MAINTAINER= leres@FreeBSD.org
COMMENT= CAN bus reverse engineering and capture tool
WWW= https://www.savvycan.com/
LICENSE= MIT
USES= compiler:c++11-lang gmake python:build qmake qt:5
USE_QT= core gui help network opengl printsupport serialbus serialport \
websockets-qml widgets buildtools:build
USE_GITHUB= yes
GH_TUPLE= collin80:SavvyCAN:V${PORTVERSION}
NO_MTREE= yes
PLIST_FILES= bin/savvycan
PORTSCOUT= skipv:continuous
OPTIONS_DEFINE+= EXAMPLES
PORTEXAMPLES= *
.include <bsd.port.options.mk>
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/SavvyCAN ${STAGEDIR}${PREFIX}/bin/savvycan
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|