Lines 17-23
LIB_DEPENDS= libpng.so:graphics/png \
Link Here
|
17 |
libboost_system.so:devel/boost-libs \ |
17 |
libboost_system.so:devel/boost-libs \ |
18 |
libGraphicsMagick.so:graphics/GraphicsMagick |
18 |
libGraphicsMagick.so:graphics/GraphicsMagick |
19 |
|
19 |
|
20 |
USES= cmake compiler:c++14-lang cpe pkgconfig ssl |
20 |
USES= cmake:testing compiler:c++14-lang cpe pkgconfig ssl |
21 |
USE_GITHUB= yes |
21 |
USE_GITHUB= yes |
22 |
GH_ACCOUNT= emweb |
22 |
GH_ACCOUNT= emweb |
23 |
CPE_VENDOR= emweb |
23 |
CPE_VENDOR= emweb |
Lines 35-45
CMAKE_ARGS= -DCONFIGDIR:STRING=${LOCALBASE}/etc/${PORTNAME} \
Link Here
|
35 |
-DWT_WRASTERIMAGE_IMPLEMENTATION:STRING=GraphicsMagick \ |
35 |
-DWT_WRASTERIMAGE_IMPLEMENTATION:STRING=GraphicsMagick \ |
36 |
-DENABLE_SSL:BOOL=ON \ |
36 |
-DENABLE_SSL:BOOL=ON \ |
37 |
-DDESTDIR:STRING=${STAGEDIR} |
37 |
-DDESTDIR:STRING=${STAGEDIR} |
|
|
38 |
CMAKE_OFF= BUILD_TESTS |
39 |
CMAKE_TESTING_ON= BUILD_TESTS |
38 |
|
40 |
|
39 |
OPTIONS_DEFINE= \ |
41 |
OPTIONS_DEFINE= \ |
40 |
DEBUG \ |
42 |
DEBUG \ |
41 |
EXAMPLES \ |
43 |
EXAMPLES \ |
42 |
TESTS \ |
|
|
43 |
RESOURCES \ |
44 |
RESOURCES \ |
44 |
HARU \ |
45 |
HARU \ |
45 |
PANGO \ |
46 |
PANGO \ |
Lines 49-55
OPTIONS_DEFINE= \
Link Here
|
49 |
LIBWTTEST \ |
50 |
LIBWTTEST \ |
50 |
UNWIND |
51 |
UNWIND |
51 |
OPTIONS_DEFAULT= \ |
52 |
OPTIONS_DEFAULT= \ |
52 |
TESTS \ |
|
|
53 |
RESOURCES \ |
53 |
RESOURCES \ |
54 |
HARU \ |
54 |
HARU \ |
55 |
PANGO \ |
55 |
PANGO \ |
Lines 60-66
OPTIONS_SUB= yes
Link Here
|
60 |
NO_OPTIONS_SORT= yes |
60 |
NO_OPTIONS_SORT= yes |
61 |
|
61 |
|
62 |
EXAMPLES_DESC= Install examples (implies SQLITE3 and WTHTTP) |
62 |
EXAMPLES_DESC= Install examples (implies SQLITE3 and WTHTTP) |
63 |
TESTS_DESC= Build Wt tests |
|
|
64 |
RESOURCES_DESC= Install resources directory |
63 |
RESOURCES_DESC= Install resources directory |
65 |
HARU_DESC= Enable Haru Free PDF Library |
64 |
HARU_DESC= Enable Haru Free PDF Library |
66 |
SAML_DESC= Build built-in SAML service provider for Wt::Auth |
65 |
SAML_DESC= Build built-in SAML service provider for Wt::Auth |
Lines 134-141
SQLITE3_CMAKE_BOOL= ENABLE_SQLITE
Link Here
|
134 |
SQLITE3_USES= sqlite:3 |
133 |
SQLITE3_USES= sqlite:3 |
135 |
SQLITE3_CMAKE_ON= -DENABLE_LIBWTDBO:BOOL=ON |
134 |
SQLITE3_CMAKE_ON= -DENABLE_LIBWTDBO:BOOL=ON |
136 |
|
135 |
|
137 |
TESTS_CMAKE_BOOL= BUILD_TESTS |
|
|
138 |
|
139 |
UNWIND_CMAKE_BOOL= ENABLE_UNWIND |
136 |
UNWIND_CMAKE_BOOL= ENABLE_UNWIND |
140 |
UNWIND_LIB_DEPENDS= libunwind.so:devel/libunwind |
137 |
UNWIND_LIB_DEPENDS= libunwind.so:devel/libunwind |
141 |
|
138 |
|
Lines 168-171
post-install:
Link Here
|
168 |
${INSTALL_DATA} ${BUILD_WRKSRC}/wt_config.xml \ |
165 |
${INSTALL_DATA} ${BUILD_WRKSRC}/wt_config.xml \ |
169 |
${STAGEDIR}${ETCDIR}/wt_config.xml.sample |
166 |
${STAGEDIR}${ETCDIR}/wt_config.xml.sample |
170 |
|
167 |
|
|
|
168 |
do-test: |
169 |
@cd ${WRKSRC}/test && \ |
170 |
${BUILD_WRKSRC}/test/test.wt && \ |
171 |
${BUILD_WRKSRC}/test/test.sqlite3 && \ |
172 |
${BUILD_WRKSRC}/test/test.http |
173 |
|
171 |
.include <bsd.port.mk> |
174 |
.include <bsd.port.mk> |