Lines 11-62
WWW= https://wiki.znc.in/ZNC
Link Here
|
11 |
LICENSE= APACHE20 |
11 |
LICENSE= APACHE20 |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
13 |
|
14 |
USES= compiler:c++17-lang cpe cmake:run iconv pathfix pkgconfig:both python |
14 |
BUILD_DEPENDS= swig>=4.0.1:devel/swig |
|
|
15 |
LIB_DEPENDS= libicuuc.so:devel/icu |
15 |
|
16 |
|
|
|
17 |
USES= compiler:c++17-lang cpe cmake:run iconv pathfix \ |
18 |
perl5 pkgconfig:both python ssl |
19 |
USE_PERL5= build |
16 |
USE_RC_SUBR= znc |
20 |
USE_RC_SUBR= znc |
17 |
|
21 |
|
18 |
SUB_FILES= pkg-message |
|
|
19 |
|
20 |
USERS= znc |
22 |
USERS= znc |
21 |
GROUPS= znc |
23 |
GROUPS= znc |
22 |
|
24 |
|
23 |
PORTDOCS= README.md |
25 |
PORTDOCS= README.md |
|
|
26 |
SUB_FILES= pkg-message |
27 |
|
28 |
CMAKE_ON= WANT_ICU \ |
29 |
WANT_IPV6 \ |
30 |
WANT_OPENSSL \ |
31 |
WANT_PYTHON \ |
32 |
WANT_SWIG |
33 |
CMAKE_ARGS= -DOPENSSL_ROOT_DIR=${OPENSSLBASE} \ |
34 |
-DWANT_PYTHON_VERSION:STRING=python-${PYTHON_VER} |
24 |
|
35 |
|
25 |
OPTIONS_DEFINE= CHARSET CYRUS DEBUG DOCS IPV6 NLS OPENSSL PERL PYTHON TCL |
36 |
OPTIONS_DEFINE= CYRUS DOCS NLS PERL TCL |
26 |
OPTIONS_DEFAULT= CHARSET OPENSSL PERL PYTHON |
37 |
OPTIONS_DEFAULT= PERL |
27 |
OPTIONS_SUB= yes |
38 |
OPTIONS_SUB= yes |
28 |
|
39 |
|
29 |
CHARSET_DESC= Character encoding support via ICU |
40 |
CYRUS_DESC= Cyrus SASL module |
30 |
CYRUS_DESC= Cyrus SASL module |
41 |
PERL_DESC= Perl scripting module |
31 |
DEBUG_DESC= Debugging support |
42 |
PYTHON_DESC= Python scripting module |
32 |
PERL_DESC= Perl scripting module |
43 |
TCL_DESC= Tcl scripting module |
33 |
PYTHON_DESC= Python scripting module |
|
|
34 |
TCL_DESC= Tcl scripting module |
35 |
|
44 |
|
36 |
CHARSET_CMAKE_BOOL= WANT_ICU |
|
|
37 |
CHARSET_LIB_DEPENDS= libicuuc.so:devel/icu |
38 |
CYRUS_CMAKE_BOOL= WANT_CYRUS |
39 |
CYRUS_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 |
45 |
CYRUS_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 |
40 |
DEBUG_VARS= CMAKE_BUILD_TYPE=Debug |
46 |
CYRUS_CMAKE_BOOL= WANT_CYRUS |
41 |
IPV6_CMAKE_BOOL= WANT_IPV6 |
47 |
|
42 |
NLS_CMAKE_BOOL= WANT_I18N |
|
|
43 |
NLS_LIB_DEPENDS= libboost_locale.so:devel/boost-libs |
48 |
NLS_LIB_DEPENDS= libboost_locale.so:devel/boost-libs |
44 |
NLS_USES= gettext |
49 |
NLS_USES= gettext |
45 |
OPENSSL_CMAKE_BOOL= WANT_OPENSSL |
50 |
NLS_CMAKE_BOOL= WANT_I18N |
46 |
OPENSSL_CMAKE_ON= -DOPENSSL_ROOT_DIR=${OPENSSLBASE} |
51 |
|
47 |
OPENSSL_USES= ssl |
52 |
PERL_USE= perl5=run |
48 |
PERL_BUILD_DEPENDS= swig>=4.0.1:devel/swig |
|
|
49 |
PERL_CMAKE_BOOL= WANT_PERL WANT_SWIG |
53 |
PERL_CMAKE_BOOL= WANT_PERL WANT_SWIG |
50 |
PERL_USE= perl5=build,run |
54 |
|
51 |
PERL_USES= perl5 |
|
|
52 |
PYTHON_CMAKE_BOOL= WANT_PYTHON WANT_SWIG |
53 |
PYTHON_CMAKE_ON= -DWANT_PYTHON_VERSION:STRING=python-${PYTHON_VER} |
54 |
PYTHON_BUILD_DEPENDS= swig>=4.0.1:devel/swig |
55 |
PYTHON_IMPLIES= CHARSET |
56 |
PYTHON_USE= perl5=build |
57 |
PYTHON_USES= perl5 |
58 |
TCL_CMAKE_BOOL= WANT_TCL |
59 |
TCL_USES= tcl |
55 |
TCL_USES= tcl |
|
|
56 |
TCL_CMAKE_BOOL= WANT_TCL |
60 |
|
57 |
|
61 |
post-patch: |
58 |
post-patch: |
62 |
@${REINPLACE_CMD} -e 's|python3|python${PYTHON_VER}|g' \ |
59 |
@${REINPLACE_CMD} -e 's|python3|python${PYTHON_VER}|g' \ |