On Mon, Jun 10, 2019 at 08:10:58PM +0100, Stuart Henderson wrote: > Removing execinfo from WANTLIB nullifies the devel/libexecinfo LIB_DEPENDS .. That... is a valid point. I'll leave it in and double check tooling's output before cooking diffs, thanks.
Index: Makefile =================================================================== RCS file: /cvs/ports/devel/include-what-you-use/Makefile,v retrieving revision 1.15 diff -u -p -r1.15 Makefile --- Makefile 16 Feb 2019 12:06:23 -0000 1.15 +++ Makefile 10 Jun 2019 20:33:34 -0000 @@ -3,28 +3,40 @@ COMMENT= tool to analyse \#includes in C and C++ source files CATEGORIES= devel DISTNAME= include-what-you-use-0.11.src -PKGNAME= include-what-you-use-0.11 -REVISION= 0 +PKGNAME= ${DISTNAME:.src=} +REVISION= 1 -HOMEPAGE= http://include-what-you-use.org +HOMEPAGE= https://include-what-you-use.org MASTER_SITES= ${HOMEPAGE}/downloads/ WRKDIST= ${WRKDIR}/include-what-you-use MAINTAINER= Jonathan Gray <j...@openbsd.org> # BSD -PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE= Yes -WANTLIB= c curses execinfo form m pthread z +WANTLIB= ${COMPILER_LIBCXX} c execinfo m pthread LLVM_V= 7.0.1 BUILD_DEPENDS= devel/llvm>=${LLVM_V} RUN_DEPENDS= devel/llvm>=${LLVM_V} LIB_DEPENDS= devel/libexecinfo MODULES= devel/cmake lang/python +MODPY_BUILDDEP= No +MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3} +MODPY_ADJ_FILES= *.py + COMPILER= base-clang ports-gcc COMPILER_LANGS= c++ -MODPY_ADJ_FILES = fix_includes.py iwyu_tool.py +DOCDIR= ${PREFIX}/share/doc/include-what-you-use + +do-test: + cd ${WRKSRC} && ./run_iwyu_tests.py + +post-install: + ${INSTALL_DATA_DIR} ${DOCDIR}/ + ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCDIR}/ + ${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/include-what-you-use/ .include <bsd.port.mk> Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/include-what-you-use/pkg/PLIST,v retrieving revision 1.2 diff -u -p -r1.2 PLIST --- pkg/PLIST 1 Jan 2017 06:58:37 -0000 1.2 +++ pkg/PLIST 10 Jun 2019 15:48:02 -0000 @@ -2,9 +2,20 @@ bin/fix_includes.py @bin bin/include-what-you-use bin/iwyu_tool.py +share/doc/include-what-you-use/ +share/doc/include-what-you-use/IWYUMappings.md +share/doc/include-what-you-use/IWYUPragmas.md +share/doc/include-what-you-use/WhatIsAUse.md +share/doc/include-what-you-use/WhyIWYU.md +share/doc/include-what-you-use/WhyIWYUIsDifficult.md share/include-what-you-use/ +share/include-what-you-use/README.md +share/include-what-you-use/boost-1.64-all-private.imp +share/include-what-you-use/boost-1.64-all.imp share/include-what-you-use/boost-all-private.imp share/include-what-you-use/boost-all.imp +share/include-what-you-use/clang-6.intrinsics.imp +share/include-what-you-use/gcc-8.intrinsics.imp share/include-what-you-use/gcc.libc.imp share/include-what-you-use/gcc.stl.headers.imp share/include-what-you-use/gcc.symbols.imp