Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= znc |
4 |
PORTNAME= znc |
5 |
PORTVERSION= 1.6.3 |
5 |
PORTVERSION= 1.6.3 |
6 |
PORTREVISION= 2 |
6 |
PORTREVISION= 3 |
7 |
CATEGORIES= irc ipv6 |
7 |
CATEGORIES= irc ipv6 |
8 |
MASTER_SITES= http://znc.in/releases/ \ |
8 |
MASTER_SITES= http://znc.in/releases/ \ |
9 |
http://znc.in/releases/archive/ |
9 |
http://znc.in/releases/archive/ |
Lines 16-22
Link Here
|
16 |
|
16 |
|
17 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
18 |
USE_RC_SUBR= znc |
18 |
USE_RC_SUBR= znc |
19 |
USES= compiler:c++11-lib cpe gmake iconv pkgconfig |
19 |
SUB_FILES= pkg-message |
|
|
20 |
USES= ssl compiler:c++11-lib cpe gmake iconv pkgconfig |
21 |
|
22 |
USERS= znc |
23 |
GROUPS= znc |
20 |
|
24 |
|
21 |
OPTIONS_DEFINE= CHARSET CYRUS DEBUG DOCS IPV6 OPENSSL PERL PYTHON TCL |
25 |
OPTIONS_DEFINE= CHARSET CYRUS DEBUG DOCS IPV6 OPENSSL PERL PYTHON TCL |
22 |
OPTIONS_DEFAULT= OPENSSL PERL |
26 |
OPTIONS_DEFAULT= OPENSSL PERL |
Lines 38-44
Link Here
|
38 |
IPV6_CONFIGURE_OFF= --disable-ipv6 |
42 |
IPV6_CONFIGURE_OFF= --disable-ipv6 |
39 |
OPENSSL_CONFIGURE_OFF= --disable-openssl |
43 |
OPENSSL_CONFIGURE_OFF= --disable-openssl |
40 |
OPENSSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} |
44 |
OPENSSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} |
41 |
OPENSSL_USE= openssl=yes |
|
|
42 |
PERL_BUILD_DEPENDS= swig30>=3.0.0:devel/swig30 |
45 |
PERL_BUILD_DEPENDS= swig30>=3.0.0:devel/swig30 |
43 |
PERL_CONFIGURE_ENABLE= perl |
46 |
PERL_CONFIGURE_ENABLE= perl |
44 |
PERL_CONFIGURE_ON= --enable-swig |
47 |
PERL_CONFIGURE_ON= --enable-swig |
Lines 54-68
Link Here
|
54 |
|
57 |
|
55 |
PORTDOCS= README.md |
58 |
PORTDOCS= README.md |
56 |
|
59 |
|
57 |
# Instead of using bundled swig generated files, delete them to force |
|
|
58 |
# regeneration using swig 2.0.11+ (fixes port compilation using clang) |
59 |
# |
60 |
pre-configure-PERL-on: |
61 |
@${RM} ${WRKSRC}/modules/modperl/ZNC.cpp |
62 |
|
63 |
pre-configure-PYTHON-on: |
64 |
@${RM} ${WRKSRC}/modules/modpython/_znc_core.cpp |
65 |
|
66 |
post-patch: |
60 |
post-patch: |
67 |
@${REINPLACE_CMD} -e \ |
61 |
@${REINPLACE_CMD} -e \ |
68 |
's#$$(libdir)/pkgconfig#${PREFIX}/libdata/pkgconfig#' \ |
62 |
's#$$(libdir)/pkgconfig#${PREFIX}/libdata/pkgconfig#' \ |
Lines 77-80
Link Here
|
77 |
.endfor |
71 |
.endfor |
78 |
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}" |
72 |
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}" |
79 |
|
73 |
|
|
|
74 |
post-install: |
75 |
${MKDIR} ${STAGEDIR}${ETCDIR} |
76 |
|
80 |
.include <bsd.port.mk> |
77 |
.include <bsd.port.mk> |