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

Collapse All | Expand All

(-)Makefile (-10 / +11 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	nzbget
4
PORTNAME=	nzbget
5
PORTVERSION=	12.0
5
PORTVERSION=	13.0
6
PORTREVISION=	3
7
CATEGORIES=	news
6
CATEGORIES=	news
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION}
9
8
Lines 15-29 Link Here
15
LIB_DEPENDS=	libxml2.so:${PORTSDIR}/textproc/libxml2 \
14
LIB_DEPENDS=	libxml2.so:${PORTSDIR}/textproc/libxml2 \
16
		libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20
15
		libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20
17
16
18
USES=		pkgconfig
17
USES=		ncurses pkgconfig shebangfix
19
USE_RC_SUBR=	nzbget
18
USE_RC_SUBR=	nzbget
20
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--with-libcurses-includes=${NCURSESINC} \
21
		--with-libcurses-libraries=${NCURSESLIB}
21
CONFIGURE_ENV=	LOCALBASE="${LOCALBASE}"
22
CONFIGURE_ENV=	LOCALBASE="${LOCALBASE}"
22
MAKE_JOBS_UNSAFE=	yes
23
MAKE_JOBS_UNSAFE=	yes
23
CPPFLAGS+=	-I${LOCALBASE}/include
24
CPPFLAGS+=	-I${LOCALBASE}/include
24
LDFLAGS+=	${PTHREAD_LIBS}
25
LDFLAGS+=	${PTHREAD_LIBS}
25
CFLAGS+=	${PTHREAD_CFLAGS}
26
CFLAGS+=	${PTHREAD_CFLAGS}
27
BINMODE=		0755
26
28
29
SHEBANG_FILES=	scripts/*.py
30
python_OLD_CMD=	/usr/bin/env python
31
27
OPTIONS_DEFINE=	7Z PAR PYTHON RAR DOCS
32
OPTIONS_DEFINE=	7Z PAR PYTHON RAR DOCS
28
OPTIONS_SINGLE=	TLSLIB
33
OPTIONS_SINGLE=	TLSLIB
29
OPTIONS_SINGLE_TLSLIB=	GNUTLS OPENSSL
34
OPTIONS_SINGLE_TLSLIB=	GNUTLS OPENSSL
Lines 39-45 Link Here
39
PAR_CONFIGURE_OFF=	--disable-parcheck
44
PAR_CONFIGURE_OFF=	--disable-parcheck
40
PAR_LIB_DEPENDS=	libpar2.so:${PORTSDIR}/archivers/libpar2
45
PAR_LIB_DEPENDS=	libpar2.so:${PORTSDIR}/archivers/libpar2
41
46
42
PYTHON_USE=	PYTHON=yes
47
PYTHON_USES=		python:run
43
48
44
RAR_RUN_DEPENDS=	unrar:${PORTSDIR}/archivers/unrar
49
RAR_RUN_DEPENDS=	unrar:${PORTSDIR}/archivers/unrar
45
50
Lines 46-52 Link Here
46
OPENSSL_CONFIGURE_ON=	--with-tlslib=OpenSSL \
51
OPENSSL_CONFIGURE_ON=	--with-tlslib=OpenSSL \
47
			--with-openssl-includes=${OPENSSLINC} \
52
			--with-openssl-includes=${OPENSSLINC} \
48
			--with-openssl-libraries=${OPENSSLLIB}
53
			--with-openssl-libraries=${OPENSSLLIB}
49
OPENSSL_USE=	OPENSSL=yes
54
OPENSSL_USE=		OPENSSL=yes
50
55
51
GNUTLS_CONFIGURE_ON=	--with-tlslib=GnuTLS
56
GNUTLS_CONFIGURE_ON=	--with-tlslib=GnuTLS
52
GNUTLS_LIB_DEPENDS=	libgnutls.so:${PORTSDIR}/security/gnutls \
57
GNUTLS_LIB_DEPENDS=	libgnutls.so:${PORTSDIR}/security/gnutls \
Lines 55-67 Link Here
55
.include <bsd.port.options.mk>
60
.include <bsd.port.options.mk>
56
61
57
.if (${ARCH} == "i386")
62
.if (${ARCH} == "i386")
58
CONFIGURE_ARGS+=       --disable-sigchld-handler
63
CONFIGURE_ARGS+=	--disable-sigchld-handler
59
.endif
64
.endif
60
65
61
post-configure:
62
	# necessary for stage
63
	@${REINPLACE_CMD} -e 's|555|655|g ; s|444|644|' ${WRKSRC}/Makefile
64
65
post-install:
66
post-install:
66
	${INSTALL_DATA} ${WRKSRC}/nzbget.conf \
67
	${INSTALL_DATA} ${WRKSRC}/nzbget.conf \
67
		${STAGEDIR}${PREFIX}/etc/nzbget.conf.sample
68
		${STAGEDIR}${PREFIX}/etc/nzbget.conf.sample
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (nzbget-12.0.tar.gz) = 023c4e3b9c7e920d9ea72b60135b438ce13543454f79984c06fd15365b9a882e
1
SHA256 (nzbget-13.0.tar.gz) = 666f5244f31f10333a18450e7a6c1ac729ac68594042236711ba99dd32e78f8e
2
SIZE (nzbget-12.0.tar.gz) = 1114126
2
SIZE (nzbget-13.0.tar.gz) = 1229936
(-)pkg-plist (-14 / +16 lines)
Lines 1-6 Link Here
1
bin/nzbget
1
bin/nzbget
2
@sample etc/nzbget.conf.sample
2
sbin/nzbgetd
3
sbin/nzbgetd
4
@comment %%PORTDOCS%%%%DOCSDIR%%/COPYING
5
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
6
%%PORTDOCS%%%%DOCSDIR%%/README
3
%%DATADIR%%/nzbget.conf
7
%%DATADIR%%/nzbget.conf
8
%%DATADIR%%/scripts/EMail.py
9
%%DATADIR%%/scripts/Logger.py
4
%%DATADIR%%/webui/config.js
10
%%DATADIR%%/webui/config.js
5
%%DATADIR%%/webui/downloads.js
11
%%DATADIR%%/webui/downloads.js
6
%%DATADIR%%/webui/edit.js
12
%%DATADIR%%/webui/edit.js
Lines 20-43 Link Here
20
%%DATADIR%%/webui/lib/bootstrap.css
26
%%DATADIR%%/webui/lib/bootstrap.css
21
%%DATADIR%%/webui/lib/bootstrap.js
27
%%DATADIR%%/webui/lib/bootstrap.js
22
%%DATADIR%%/webui/lib/bootstrap.min.js
28
%%DATADIR%%/webui/lib/bootstrap.min.js
29
%%DATADIR%%/webui/lib/elycharts.js
30
%%DATADIR%%/webui/lib/elycharts.min.js
23
%%DATADIR%%/webui/lib/jquery.js
31
%%DATADIR%%/webui/lib/jquery.js
24
%%DATADIR%%/webui/lib/jquery.min.js
32
%%DATADIR%%/webui/lib/jquery.min.js
33
%%DATADIR%%/webui/lib/raphael.js
34
%%DATADIR%%/webui/lib/raphael.min.js
25
%%DATADIR%%/webui/messages.js
35
%%DATADIR%%/webui/messages.js
26
%%DATADIR%%/webui/status.js
36
%%DATADIR%%/webui/status.js
27
%%DATADIR%%/webui/style.css
37
%%DATADIR%%/webui/style.css
28
%%DATADIR%%/webui/upload.js
38
%%DATADIR%%/webui/upload.js
29
%%DATADIR%%/webui/util.js
39
%%DATADIR%%/webui/util.js
30
%%PORTDOCS%%%%DOCSDIR%%/COPYING
40
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
31
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
41
@dirrmtry %%DATADIR%%/scripts
32
%%PORTDOCS%%%%DOCSDIR%%/README
42
@dirrmtry %%DATADIR%%/webui/img
33
%%DATADIR%%/ppscripts/EMail.py
43
@dirrmtry %%DATADIR%%/webui/lib
34
%%DATADIR%%/ppscripts/Logger.py
44
@dirrmtry %%DATADIR%%/webui
35
@dirrmtry %%DATADIR%%/ppscripts
45
@dirrmtry %%DATADIR%%
36
@dirrm %%DATADIR%%/webui/img
37
@dirrm %%DATADIR%%/webui/lib
38
@dirrm %%DATADIR%%/webui
39
@dirrm %%DATADIR%%
40
%%PORTDOCS%%@dirrm %%DOCSDIR%%
41
@unexec if cmp -s %D/etc/nzbget.conf %D/etc/nzbget.conf.sample; then rm -f %D/etc/nzbget.conf; fi
42
etc/nzbget.conf.sample
43
@exec [ -f %D/etc/nzbget.conf ] || cp %D/etc/nzbget.conf.sample %D/etc/nzbget.conf

Return to bug 193405