Index: devel/dbg-macro/Makefile =================================================================== --- devel/dbg-macro/Makefile (nonexistent) +++ devel/dbg-macro/Makefile (working copy) @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= dbg-macro +DISTVERSIONPREFIX= v +DISTVERSION= 0.3.0 +CATEGORIES= devel + +MAINTAINER= vulcan@wired.sh +COMMENT= C++ macro for printf-style debugging fans + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake compiler:c++17-lang +USE_GITHUB= yes +GH_ACCOUNT= sharkdp +GH_TUPLE= catchorg:Catch2:v2.11.1:tests/tests/Catch2 + +CMAKE_OFF= DBG_MACRO_ENABLE_TESTS + +PLIST_FILES= include/dbg.h +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +do-test: + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DCMAKE_CXX_STANDARD=17 -DDBG_MACRO_ENABLE_TESTS=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test + +.include Property changes on: devel/dbg-macro/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/dbg-macro/distinfo =================================================================== --- devel/dbg-macro/distinfo (nonexistent) +++ devel/dbg-macro/distinfo (working copy) @@ -0,0 +1,5 @@ +TIMESTAMP = 1578846442 +SHA256 (sharkdp-dbg-macro-v0.3.0_GH0.tar.gz) = b07620ba444bc608b6e18ce297a7546860e9a4bdaaf0b0a7ad4ef8bf8c03eb94 +SIZE (sharkdp-dbg-macro-v0.3.0_GH0.tar.gz) = 11157 +SHA256 (catchorg-Catch2-v2.11.1_GH0.tar.gz) = 9af06ca5b10362620c6c9c729821367e1aeb0f76adfc7bc3a468da83db3c50c6 +SIZE (catchorg-Catch2-v2.11.1_GH0.tar.gz) = 631509 Property changes on: devel/dbg-macro/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/dbg-macro/pkg-descr =================================================================== --- devel/dbg-macro/pkg-descr (nonexistent) +++ devel/dbg-macro/pkg-descr (working copy) @@ -0,0 +1,10 @@ +Debuggers are great. But sometimes you just don't have the +time or patience to set up everything correctly and just +want a quick way to inspect some values at runtime. + +This projects provides a single header file with a dbg(...) +macro that can be used in all circumstances where you +would typically write printf("...",...) or std::cout << ..., +but it comes with a few extras. + +WWW: https://github.com/sharkdp/dbg-macro Property changes on: devel/dbg-macro/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property