diff options
author | Nuno Teixeira <eduardo@FreeBSD.org> | 2022-09-26 18:56:05 +0000 |
---|---|---|
committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2022-09-26 19:03:34 +0000 |
commit | ff0234fe6f97790f595f156cdeae97a998fe90a9 (patch) | |
tree | 566a62525b4b97d860411dff3374f044c008a896 /devel | |
parent | 860ce9aee61aacd34f0b1c29d54f44dd86168835 (diff) | |
download | ports-ff0234fe6f97790f595f156cdeae97a998fe90a9.tar.gz ports-ff0234fe6f97790f595f156cdeae97a998fe90a9.zip |
devel/argparse: Port improvements
- Add a test target that does not cause "make test" to fail if the
TEST option was not used
- Remove ARGPARSE_BUILD_SAMPLES added by mistake and because there is
no intention to install samples
- Bump PORTREVISION
Reported by: se
Diffstat (limited to 'devel')
-rw-r--r-- | devel/argparse/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/argparse/Makefile b/devel/argparse/Makefile index ae7b42051c65..6a0e4fc962e7 100644 --- a/devel/argparse/Makefile +++ b/devel/argparse/Makefile @@ -1,6 +1,7 @@ PORTNAME= argparse DISTVERSIONPREFIX= v DISTVERSION= 2.9 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= eduardo@FreeBSD.org @@ -22,6 +23,11 @@ PLIST_FILES= include/argparse/argparse.hpp \ libdata/pkgconfig/argparse.pc OPTIONS_DEFINE= TEST -TEST_CMAKE_BOOL= ARGPARSE_BUILD_SAMPLES ARGPARSE_BUILD_TESTS +TEST_CMAKE_BOOL= ARGPARSE_BUILD_TESTS + +test: + @if [ -x ${WRKDIR}/.build/test/tests ]; then \ + ${WRKDIR}/.build/test/tests; \ + fi .include <bsd.port.mk> |