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

Collapse All | Expand All

(-)sabnzbdplus/Makefile (-20 / +6 lines)
Lines 44-68 Link Here
44
44
45
.include <bsd.port.pre.mk>
45
.include <bsd.port.pre.mk>
46
46
47
.if ${PORT_OPTIONS:MPAR2CMDLINE}
47
PAR2CMDLINE_RUN_DEPENDS=	par2repair:${PORTSDIR}/archivers/par2cmdline-tbb
48
RUN_DEPENDS+=	par2repair:${PORTSDIR}/archivers/par2cmdline-tbb
48
FEEDPARSER_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}feedparser>=0:${PORTSDIR}/textproc/py-feedparser
49
.endif
49
YENC_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yenc>=0:${PORTSDIR}/news/py-yenc
50
50
OPENSSL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}openssl>=0:${PORTSDIR}/security/py-openssl
51
.if ${PORT_OPTIONS:MFEEDPARSER}
51
UNRAR_RUN_DEPENDS=	unrar:${PORTSDIR}/archivers/unrar
52
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}feedparser>=0:${PORTSDIR}/textproc/py-feedparser
53
.endif
54
55
.if ${PORT_OPTIONS:MYENC}
56
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}yenc>=0:${PORTSDIR}/news/py-yenc
57
.endif
58
59
.if ${PORT_OPTIONS:MOPENSSL}
60
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}openssl>=0:${PORTSDIR}/security/py-openssl
61
.endif
62
63
.if ${PORT_OPTIONS:MUNRAR}
64
RUN_DEPENDS+=	unrar:${PORTSDIR}/archivers/unrar
65
.endif
66
52
67
post-patch:
53
post-patch:
68
	@${REINPLACE_CMD} -e "s:/usr/bin/python:${PYTHON_CMD}:g" \
54
	@${REINPLACE_CMD} -e "s:/usr/bin/python:${PYTHON_CMD}:g" \
Lines 86-92 Link Here
86
.if ${PORT_OPTIONS:MDOCS}
72
.if ${PORT_OPTIONS:MDOCS}
87
	${MKDIR} ${STAGEDIR}${DOCSDIR}
73
	${MKDIR} ${STAGEDIR}${DOCSDIR}
88
.for i in ${PORTDOCS}
74
.for i in ${PORTDOCS}
89
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
75
	${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
90
.endfor
76
.endfor
91
.endif
77
.endif
92
78
(-)sabnzbdplus/files/sabnzbd.in (-1 lines)
Lines 46-52 Link Here
46
46
47
sabnzbd_prestart()
47
sabnzbd_prestart()
48
{
48
{
49
	PATH=${PATH}:/usr/local/bin:/usr/local/sbin
50
	for sabdir in ${sabnzbd_conf_dir} ${pidfile%/*}; do
49
	for sabdir in ${sabnzbd_conf_dir} ${pidfile%/*}; do
51
		if [ ! -d "${sabdir}" ]; then
50
		if [ ! -d "${sabdir}" ]; then
52
			install -d -o ${sabnzbd_user} -g ${sabnzbd_group} ${sabdir}
51
			install -d -o ${sabnzbd_user} -g ${sabnzbd_group} ${sabdir}

Return to bug 207583