Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= znc |
4 |
PORTNAME= znc |
5 |
PORTVERSION= 1.6.1 |
5 |
PORTVERSION= 1.6.2 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= irc ipv6 |
6 |
CATEGORIES= irc ipv6 |
8 |
MASTER_SITES= http://znc.in/releases/ \ |
7 |
MASTER_SITES= http://znc.in/releases/ \ |
9 |
http://znc.in/releases/archive/ |
8 |
http://znc.in/releases/archive/ |
Lines 18-76
Link Here
|
18 |
USE_RC_SUBR= znc |
17 |
USE_RC_SUBR= znc |
19 |
USES= compiler:c++11-lib cpe gmake iconv pkgconfig |
18 |
USES= compiler:c++11-lib cpe gmake iconv pkgconfig |
20 |
|
19 |
|
21 |
NO_OPTIONS_SORT= yes |
20 |
OPTIONS_DEFINE= CHARSET CYRUS DEBUG DOCS IPV6 OPENSSL PERL PYTHON TCL |
22 |
|
|
|
23 |
OPTIONS_DEFINE= DEBUG IPV6 OPENSSL CYRUS PERL PYTHON TCL CHARSET DOCS |
24 |
OPTIONS_DEFAULT= OPENSSL PERL |
21 |
OPTIONS_DEFAULT= OPENSSL PERL |
25 |
OPTIONS_SUB= yes |
22 |
OPTIONS_SUB= yes |
26 |
|
23 |
|
|
|
24 |
CHARSET_DESC= Character encoding support via ICU |
27 |
CYRUS_DESC= Cyrus SASL module |
25 |
CYRUS_DESC= Cyrus SASL module |
28 |
DEBUG_DESC= Debugging support |
26 |
DEBUG_DESC= Debugging support |
29 |
PERL_DESC= Perl scripting module |
27 |
PERL_DESC= Perl scripting module |
30 |
PYTHON_DESC= Python scripting module |
28 |
PYTHON_DESC= Python scripting module |
31 |
CHARSET_DESC= Character encoding support via ICU |
|
|
32 |
TCL_DESC= Tcl scripting module |
29 |
TCL_DESC= Tcl scripting module |
33 |
|
30 |
|
|
|
31 |
CHARSET_CONFIGURE_OFF= --disable-charset |
32 |
CHARSET_LIB_DEPENDS= libicuuc.so.55:${PORTSDIR}/devel/icu \ |
33 |
libicudata.so.55:${PORTSDIR}/devel/icu |
34 |
CYRUS_CONFIGURE_ON= --enable-cyrus |
34 |
CYRUS_CONFIGURE_ON= --enable-cyrus |
35 |
CYRUS_LDFLAGS= -L${LOCALBASE}/lib |
35 |
CYRUS_LDFLAGS= -L${LOCALBASE}/lib |
36 |
CYRUS_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 |
36 |
CYRUS_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 |
37 |
DEBUG_CONFIGURE_ON= --enable-debug |
37 |
DEBUG_CONFIGURE_ON= --enable-debug |
38 |
IPV6_CONFIGURE_OFF= --disable-ipv6 |
38 |
IPV6_CONFIGURE_OFF= --disable-ipv6 |
|
|
39 |
OPENSSL_CONFIGURE_OFF= --disable-openssl |
40 |
OPENSSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} |
41 |
OPENSSL_USE= openssl=yes |
39 |
PERL_BUILD_DEPENDS= swig30>=3.0.0:${PORTSDIR}/devel/swig30 |
42 |
PERL_BUILD_DEPENDS= swig30>=3.0.0:${PORTSDIR}/devel/swig30 |
40 |
PERL_CONFIGURE_ENABLE= perl |
43 |
PERL_CONFIGURE_ENABLE= perl |
41 |
PERL_CONFIGURE_ON= --enable-swig |
44 |
PERL_CONFIGURE_ON= --enable-swig |
|
|
45 |
PERL_USE= perl5=build,run |
42 |
PERL_USES= perl5 |
46 |
PERL_USES= perl5 |
43 |
PYTHON_BUILD_DEPENDS= swig30>=3.0.0:${PORTSDIR}/devel/swig30 |
47 |
PYTHON_BUILD_DEPENDS= swig30>=3.0.0:${PORTSDIR}/devel/swig30 |
44 |
PYTHON_CONFIGURE_ON= --enable-python=python-${PYTHON_VER} --enable-swig |
48 |
PYTHON_CONFIGURE_ON= --enable-python=python-${PYTHON_VER} --enable-swig |
|
|
49 |
PYTHON_USE= perl5=build |
45 |
PYTHON_USES= perl5 python:3 |
50 |
PYTHON_USES= perl5 python:3 |
46 |
OPENSSL_CONFIGURE_OFF= --disable-openssl |
|
|
47 |
CHARSET_CONFIGURE_OFF= --disable-charset |
48 |
CHARSET_LIB_DEPENDS= libicuuc.so.55:${PORTSDIR}/devel/icu \ |
49 |
libicudata.so.55:${PORTSDIR}/devel/icu |
50 |
TCL_CONFIGURE_ENABLE= tcl |
51 |
TCL_CONFIGURE_ENABLE= tcl |
|
|
52 |
TCL_CONFIGURE_ON= --with-tcl=${TCL_LIBDIR} |
53 |
TCL_USES= tcl |
51 |
|
54 |
|
|
|
55 |
PORTDOCS= README.md |
56 |
|
52 |
.include <bsd.port.options.mk> |
57 |
.include <bsd.port.options.mk> |
53 |
|
58 |
|
54 |
.if ${PORT_OPTIONS:MOPENSSL} |
|
|
55 |
.include "${PORTSDIR}/Mk/bsd.openssl.mk" |
56 |
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} |
57 |
.endif |
58 |
|
59 |
.if ${PORT_OPTIONS:MPERL} |
60 |
USE_PERL5+= run build |
61 |
.endif |
62 |
|
63 |
.if ${PORT_OPTIONS:MTCL} |
64 |
USES+= tcl |
65 |
CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} |
66 |
.endif |
67 |
|
68 |
.if ${PORT_OPTIONS:MPYTHON} |
69 |
USE_PERL5+= build |
70 |
.endif |
71 |
|
72 |
PORTDOCS= README.md |
73 |
|
74 |
pre-configure: |
59 |
pre-configure: |
75 |
# No need to cast to char** in AM_ICONV, fixes charset/iconv detection |
60 |
# No need to cast to char** in AM_ICONV, fixes charset/iconv detection |
76 |
# and by extension, successfully builds charset module |
61 |
# and by extension, successfully builds charset module |