View | Details | Raw Unified | Return to bug 243296 | Differences between
and this patch

Collapse All | Expand All

(-)devel/dbg-macro/Makefile (+36 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	dbg-macro
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	0.4.0
6
CATEGORIES=	devel
7
8
MAINTAINER=	vulcan@wired.sh
9
COMMENT=	C++ macro for printf-style debugging fans
10
11
LICENSE=	MIT
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
14
USES=		cmake compiler:c++17-lang
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	sharkdp
17
GH_TUPLE=	catchorg:Catch2:v2.11.1:tests/tests/Catch2
18
19
CMAKE_OFF=	DBG_MACRO_ENABLE_TESTS
20
21
PLIST_FILES=	include/dbg.h
22
PORTDOCS=	README.md
23
24
OPTIONS_DEFINE=	DOCS
25
26
post-install-DOCS-on:
27
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
28
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
29
30
do-test:
31
	@cd ${BUILD_WRKSRC} && \
32
		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DCMAKE_CXX_STANDARD=17 -DDBG_MACRO_ENABLE_TESTS=ON ${CMAKE_SOURCE_PATH} && \
33
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
34
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
35
36
.include <bsd.port.mk>
(-)devel/dbg-macro/distinfo (+5 lines)
Line 0 Link Here
1
TIMESTAMP = 1590676430
2
SHA256 (sharkdp-dbg-macro-v0.4.0_GH0.tar.gz) = e44a1206fbfd1d3dc8ad649f387df479d288b08c80cf2f1239ccb4e26148d781
3
SIZE (sharkdp-dbg-macro-v0.4.0_GH0.tar.gz) = 13481
4
SHA256 (catchorg-Catch2-v2.11.1_GH0.tar.gz) = 9af06ca5b10362620c6c9c729821367e1aeb0f76adfc7bc3a468da83db3c50c6
5
SIZE (catchorg-Catch2-v2.11.1_GH0.tar.gz) = 631509
(-)devel/dbg-macro/pkg-descr (+10 lines)
Line 0 Link Here
1
Debuggers are great. But sometimes you just don't have the
2
time or patience to set up everything correctly and just
3
want a quick way to inspect some values at runtime.
4
5
This projects provides a single header file with a dbg(...)
6
macro that can be used in all circumstances where you
7
would typically write printf("...",...) or std::cout << ...,
8
but it comes with a few extras.
9
10
WWW: https://github.com/sharkdp/dbg-macro

Return to bug 243296