Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= nzbget |
4 |
PORTNAME= nzbget |
5 |
PORTVERSION= 11.0 |
5 |
PORTVERSION= 11.0 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= news |
7 |
CATEGORIES= news |
7 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION} |
8 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION} |
8 |
|
9 |
|
Lines 23-52
Link Here
|
23 |
LDFLAGS+= ${PTHREAD_LIBS} |
24 |
LDFLAGS+= ${PTHREAD_LIBS} |
24 |
CFLAGS+= ${PTHREAD_CFLAGS} |
25 |
CFLAGS+= ${PTHREAD_CFLAGS} |
25 |
|
26 |
|
26 |
OPTIONS_DEFINE= PAR |
27 |
OPTIONS_DEFINE= 7Z PAR PYTHON RAR |
27 |
OPTIONS_SINGLE= TLSLIB |
28 |
OPTIONS_SINGLE= TLSLIB |
28 |
OPTIONS_SINGLE_TLSLIB= GNUTLS OPENSSL |
29 |
OPTIONS_SINGLE_TLSLIB= GNUTLS OPENSSL |
29 |
OPTIONS_DEFAULT= PAR GNUTLS |
30 |
OPTIONS_DEFAULT= GNUTLS PAR PYTHON RAR |
|
|
31 |
7Z_DESC= Support extraction of 7z archives |
30 |
PAR_DESC= Support verifying/repairing with par2 files |
32 |
PAR_DESC= Support verifying/repairing with par2 files |
|
|
33 |
PYTHON_DESC= Support for python post-processing scripts |
34 |
RAR_DESC= Support extraction of rar archives |
31 |
|
35 |
|
|
|
36 |
7Z_RUN_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip |
37 |
|
32 |
PAR_CONFIGURE_ON= --enable-parcheck --disable-libpar2-bugfixes-check |
38 |
PAR_CONFIGURE_ON= --enable-parcheck --disable-libpar2-bugfixes-check |
33 |
PAR_CONFIGURE_OFF= --disable-parcheck |
39 |
PAR_CONFIGURE_OFF= --disable-parcheck |
34 |
PAR_LIB_DEPENDS= libpar2.so:${PORTSDIR}/archivers/libpar2 |
40 |
PAR_LIB_DEPENDS= libpar2.so:${PORTSDIR}/archivers/libpar2 |
35 |
|
41 |
|
|
|
42 |
PYTHON_USE= PYTHON=yes |
43 |
|
44 |
RAR_RUN_DEPENDS= unrar:${PORTSDIR}/archivers/unrar |
45 |
|
36 |
OPENSSL_CONFIGURE_ON= --with-tlslib=OpenSSL \ |
46 |
OPENSSL_CONFIGURE_ON= --with-tlslib=OpenSSL \ |
37 |
--with-openssl-includes=${OPENSSLINC} \ |
47 |
--with-openssl-includes=${OPENSSLINC} \ |
38 |
--with-openssl-libraries=${OPENSSLLIB} |
48 |
--with-openssl-libraries=${OPENSSLLIB} |
|
|
49 |
OPENSSL_USE= OPENSSL=yes |
39 |
|
50 |
|
40 |
GNUTLS_CONFIGURE_ON= --with-tlslib=GnuTLS |
51 |
GNUTLS_CONFIGURE_ON= --with-tlslib=GnuTLS |
41 |
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \ |
52 |
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \ |
42 |
libgcrypt.so:${PORTSDIR}/security/libgcrypt |
53 |
libgcrypt.so:${PORTSDIR}/security/libgcrypt |
43 |
|
54 |
|
44 |
CONFIGURE_ARGS+= --enable-sigchld-handler |
|
|
45 |
|
46 |
.include <bsd.port.options.mk> |
55 |
.include <bsd.port.options.mk> |
47 |
|
56 |
|
48 |
.if ${PORT_OPTIONS:MOPENSSL} |
57 |
.if (${ARCH} == "i386") |
49 |
USE_OPENSSL= yes |
58 |
CONFIGURE_ARGS+= --disable-sigchld-handler |
50 |
.endif |
59 |
.endif |
51 |
|
60 |
|
52 |
post-configure: |
61 |
post-configure: |