Lines 13-36
LICENSE= BSD3CLAUSE
Link Here
|
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
|
14 |
|
15 |
BUILD_DEPENDS= bash:shells/bash |
15 |
BUILD_DEPENDS= bash:shells/bash |
|
|
16 |
TEST_DEPENDS= googletest>0:devel/googletest |
16 |
|
17 |
|
17 |
USES= cmake:noninja cpe pathfix tar:xz |
18 |
USES= cmake:noninja,testing cpe pathfix tar:xz |
18 |
CPE_VENDOR= uriparser_project |
19 |
CPE_VENDOR= uriparser_project |
19 |
USE_LDCONFIG= yes |
20 |
USE_LDCONFIG= yes |
20 |
|
21 |
|
21 |
CMAKE_OFF= URIPARSER_BUILD_DOCS # will fetch prebuilds from the upstream, if DOCS is selected |
22 |
CMAKE_TESTING_ON= URIPARSER_BUILD_TESTS |
22 |
|
23 |
|
23 |
TEST_TARGET= test |
24 |
CMAKE_OFF= URIPARSER_BUILD_TESTS \ |
|
|
25 |
URIPARSER_BUILD_DOCS # will fetch prebuilds from the upstream, if DOCS is selected |
24 |
|
26 |
|
25 |
PLIST_SUB= DISTVERSION=${DISTVERSION} |
27 |
PLIST_SUB= DISTVERSION=${DISTVERSION} |
26 |
PORTDOCS= * |
28 |
PORTDOCS= * |
27 |
|
29 |
|
28 |
OPTIONS_DEFINE= DOCS TEST |
30 |
OPTIONS_DEFINE= DOCS |
29 |
DOCS_DISTFILES= ${_DISTDOCSFILE} \ |
31 |
DOCS_DISTFILES= ${_DISTDOCSFILE} \ |
30 |
${DISTNAME}.qch |
32 |
${DISTNAME}.qch |
31 |
DOCS_EXTRACT_ONLY= ${_DISTDOCSFILE} |
33 |
DOCS_EXTRACT_ONLY= ${_DISTDOCSFILE} |
32 |
TEST_BUILD_DEPENDS= googletest>=1.10.0:devel/googletest |
|
|
33 |
TEST_CMAKE_BOOL= URIPARSER_BUILD_TESTS |
34 |
|
34 |
|
35 |
_DISTDOCSFILE= ${_DISTDOCSNAME}.zip |
35 |
_DISTDOCSFILE= ${_DISTDOCSNAME}.zip |
36 |
_DISTDOCSNAME= ${DISTNAME}-doc |
36 |
_DISTDOCSNAME= ${DISTNAME}-doc |