View | Details | Raw Unified | Return to bug 281346 | Differences between
and this patch

Collapse All | Expand All

(-)b/irc/znc/Makefile (-30 / +27 lines)
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' \
(-)b/irc/znc/pkg-plist (-11 / +11 lines)
Lines 1054-1075 share/man/man1/znc.1.gz Link Here
1054
%%NLS%%%%DATADIR%%/translations/pt-PT
1054
%%NLS%%%%DATADIR%%/translations/pt-PT
1055
%%NLS%%%%DATADIR%%/translations/ru-RU
1055
%%NLS%%%%DATADIR%%/translations/ru-RU
1056
%%NLS%%%%DATADIR%%/translations/tr-TR
1056
%%NLS%%%%DATADIR%%/translations/tr-TR
1057
%%OPENSSL%%lib/znc/awaystore.so
1057
lib/znc/awaystore.so
1058
%%OPENSSL%%lib/znc/cert.so
1058
lib/znc/cert.so
1059
%%OPENSSL%%lib/znc/certauth.so
1059
lib/znc/certauth.so
1060
%%OPENSSL%%lib/znc/crypt.so
1060
lib/znc/crypt.so
1061
%%OPENSSL%%lib/znc/savebuff.so
1061
lib/znc/savebuff.so
1062
%%OPENSSL%%lib/znc/schat.so
1062
lib/znc/schat.so
1063
%%PERL%%lib/znc/modperl.so
1063
%%PERL%%lib/znc/modperl.so
1064
%%PERL%%lib/znc/modperl/startup.pl
1064
%%PERL%%lib/znc/modperl/startup.pl
1065
%%PERL%%lib/znc/modperl/ZNC.pm
1065
%%PERL%%lib/znc/modperl/ZNC.pm
1066
%%PERL%%lib/znc/modperl/ZNC.so
1066
%%PERL%%lib/znc/modperl/ZNC.so
1067
%%PERL%%lib/znc/perleval.pm
1067
%%PERL%%lib/znc/perleval.pm
1068
%%PYTHON%%lib/znc/pyeval.py
1068
lib/znc/pyeval.py
1069
%%PYTHON%%lib/znc/modpython.so
1069
lib/znc/modpython.so
1070
%%PYTHON%%lib/znc/modpython/_znc_core.so
1070
lib/znc/modpython/_znc_core.so
1071
%%PYTHON%%lib/znc/modpython/znc_core.py
1071
lib/znc/modpython/znc_core.py
1072
%%PYTHON%%lib/znc/modpython/znc.py
1072
lib/znc/modpython/znc.py
1073
%%TCL%%lib/znc/modtcl.so
1073
%%TCL%%lib/znc/modtcl.so
1074
%%TCL%%%%DATADIR%%/modtcl/binds.tcl
1074
%%TCL%%%%DATADIR%%/modtcl/binds.tcl
1075
%%TCL%%%%DATADIR%%/modtcl/modtcl.tcl
1075
%%TCL%%%%DATADIR%%/modtcl/modtcl.tcl

Return to bug 281346