mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
textproc/nuspell: convert TEST option to USES=cmake:testing
This commit is contained in:
parent
ce516a7472
commit
8bccdd758b
@ -11,22 +11,20 @@ LICENSE= LGPL3+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
|
||||
|
||||
LIB_DEPENDS= libicuuc.so:devel/icu
|
||||
TEST_DEPENDS= catch>0:devel/catch \
|
||||
bash:shells/bash
|
||||
|
||||
USES= cmake compiler:c++17-lang
|
||||
USES= cmake:testing compiler:c++17-lang
|
||||
USE_GITHUB= yes
|
||||
USE_LDCONFIG= yes
|
||||
CMAKE_OFF+= ${CMAKE_TESTING_ON}
|
||||
|
||||
OPTIONS_DEFINE= MANPAGES TEST
|
||||
OPTIONS_DEFINE= MANPAGES
|
||||
OPTIONS_DEFAULT=MANPAGES
|
||||
|
||||
MANPAGES_BUILD_DEPENDS= pandoc:textproc/hs-pandoc
|
||||
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
|
||||
|
||||
TEST_BUILD_DEPENDS= catch>0:devel/catch \
|
||||
bash:shells/bash
|
||||
TEST_CMAKE_BOOL= BUILD_TESTING
|
||||
TEST_TEST_TARGET= test
|
||||
|
||||
post-patch:
|
||||
# Skip README as it only contains install instructions
|
||||
@${REINPLACE_CMD} -i .doc '/README/d' ${WRKSRC}/CMakeLists.txt
|
||||
@ -34,8 +32,6 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \
|
||||
${WRKSRC}/src/nuspell/finder.cxx
|
||||
|
||||
pre-install-TEST-on: do-test
|
||||
|
||||
makepatch-clean:
|
||||
@${RM} ${WRKSRC}/tests/suggestiontest/Makefile.orig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user