Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2019 19:09:36 +0000 (UTC)
From:      Craig Leres <leres@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r508666 - in head/net: . savvycan
Message-ID:  <201908111909.x7BJ9a7V007066@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: leres
Date: Sun Aug 11 19:09:36 2019
New Revision: 508666
URL: https://svnweb.freebsd.org/changeset/ports/508666

Log:
  net/savvycan: This adds net/savvycan which is a CAN bus reverse
  engineering and capture tool. It supports EVTV hardware, socketCAN
  compatible devices, and other hardware.
  
  Reviewed by:	ler (mentor)
  Approved by:	ler (mentor)
  Differential Revision:	https://reviews.freebsd.org/D21212

Added:
  head/net/savvycan/
  head/net/savvycan/Makefile   (contents, props changed)
  head/net/savvycan/distinfo   (contents, props changed)
  head/net/savvycan/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Sun Aug 11 18:58:31 2019	(r508665)
+++ head/net/Makefile	Sun Aug 11 19:09:36 2019	(r508666)
@@ -1341,6 +1341,7 @@
     SUBDIR += samba48
     SUBDIR += samba410
     SUBDIR += samplicator
+    SUBDIR += savvycan
     SUBDIR += sbd
     SUBDIR += sbm
     SUBDIR += scamper

Added: head/net/savvycan/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/savvycan/Makefile	Sun Aug 11 19:09:36 2019	(r508666)
@@ -0,0 +1,53 @@
+# $FreeBSD$
+
+PORTNAME=	savvycan
+PORTVERSION=	199.1
+DISTVERSIONPREFIX=	V
+CATEGORIES=	net
+
+MAINTAINER=	leres@FreeBSD.org
+COMMENT=	CAN bus reverse engineering and capture tool
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	sphinx-build:textproc/py-sphinx@${PY_FLAVOR}
+
+USES=		gmake python:build 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
+
+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>

Added: head/net/savvycan/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/savvycan/distinfo	Sun Aug 11 19:09:36 2019	(r508666)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1565367333
+SHA256 (collin80-SavvyCAN-V199.1_GH0.tar.gz) = ed1a7131673f7363009ba067252d91053edce7491ff82a0b51d32fe5cee916b6
+SIZE (collin80-SavvyCAN-V199.1_GH0.tar.gz) = 4392251

Added: head/net/savvycan/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/savvycan/pkg-descr	Sun Aug 11 19:09:36 2019	(r508666)
@@ -0,0 +1,5 @@
+CSavvyCAN is a CAN bus reverse engineering and capture tool. It
+supports EVTV hardware, socketCAN compatible devices, and other
+hardware.
+
+WWW: https://www.savvycan.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908111909.x7BJ9a7V007066>