|
Lines 1-7
Link Here
|
| 1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
| 2 |
|
2 |
|
| 3 |
PORTNAME= sabnzbdplus |
3 |
PORTNAME= sabnzbdplus |
| 4 |
PORTVERSION= 3.0.0 |
4 |
PORTVERSION= 3.0.1 |
| 5 |
CATEGORIES= news |
5 |
CATEGORIES= news |
| 6 |
|
6 |
|
| 7 |
MAINTAINER= james@french.id.au |
7 |
MAINTAINER= james@french.id.au |
|
Lines 15-21
Link Here
|
| 15 |
${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} \ |
15 |
${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} \ |
| 16 |
${PYTHON_PKGNAMEPREFIX}configobj>=0:devel/py-configobj@${PY_FLAVOR} \ |
16 |
${PYTHON_PKGNAMEPREFIX}configobj>=0:devel/py-configobj@${PY_FLAVOR} \ |
| 17 |
${PYTHON_PKGNAMEPREFIX}portend>=0:net/py-portend@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}portend>=0:net/py-portend@${PY_FLAVOR} \ |
| 18 |
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} |
18 |
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ |
|
|
19 |
${PYTHON_PKGNAMEPREFIX}sabyenc3>=0:news/py-sabyenc3@${PY_FLAVOR} \ |
| 20 |
par2repair:archivers/par2cmdline-tbb \ |
| 21 |
unrar:archivers/unrar |
| 19 |
|
22 |
|
| 20 |
USES= python:3.5+ shebangfix gettext |
23 |
USES= python:3.5+ shebangfix gettext |
| 21 |
|
24 |
|
|
Lines 39-63
Link Here
|
| 39 |
USERS= _sabnzbd |
42 |
USERS= _sabnzbd |
| 40 |
GROUPS= _sabnzbd |
43 |
GROUPS= _sabnzbd |
| 41 |
|
44 |
|
| 42 |
OPTIONS_DEFINE= PAR2CMDLINE UNRAR 7ZIP FEEDPARSER YENC SSL DOCS NOTIFY2 DBUS PYGOBJECT |
45 |
OPTIONS_DEFINE= 7ZIP FEEDPARSER SSL DOCS NOTIFY2 DBUS PYGOBJECT |
| 43 |
OPTIONS_DEFAULT= PAR2CMDLINE UNRAR 7ZIP FEEDPARSER YENC SSL |
46 |
OPTIONS_DEFAULT= 7ZIP FEEDPARSER SSL |
| 44 |
PAR2CMDLINE_DESC= Required for postprocessing of par files |
|
|
| 45 |
7ZIP_DESC= Needed for unpacking 7-Zip posts |
47 |
7ZIP_DESC= Needed for unpacking 7-Zip posts |
| 46 |
FEEDPARSER_DESC= RSS feed support |
48 |
FEEDPARSER_DESC= RSS feed support |
| 47 |
YENC_DESC= yenc support |
|
|
| 48 |
NOTIFY2_DESC= Notify2 support |
49 |
NOTIFY2_DESC= Notify2 support |
| 49 |
DBUS_DESC= DBUS support for system power management |
50 |
DBUS_DESC= DBUS support for system power management |
| 50 |
PYGOBJECT_DESC= PyGObject support for system tray icon (requires cairo) |
51 |
PYGOBJECT_DESC= PyGObject support for system tray icon (requires cairo) |
| 51 |
|
52 |
|
| 52 |
PAR2CMDLINE_RUN_DEPENDS= par2repair:archivers/par2cmdline-tbb |
|
|
| 53 |
FEEDPARSER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=0:textproc/py-feedparser@${PY_FLAVOR} |
53 |
FEEDPARSER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=0:textproc/py-feedparser@${PY_FLAVOR} |
| 54 |
YENC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sabyenc3>=0:news/py-sabyenc3@${PY_FLAVOR} |
|
|
| 55 |
SSL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} |
54 |
SSL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} |
| 56 |
UNRAR_RUN_DEPENDS= unrar:archivers/unrar |
|
|
| 57 |
7ZIP_RUN_DEPENDS= 7za:archivers/p7zip |
55 |
7ZIP_RUN_DEPENDS= 7za:archivers/p7zip |
| 58 |
NOTIFY2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}notify2>=0:devel/py-notify2@${PY_FLAVOR} |
56 |
NOTIFY2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}notify2>=0:devel/py-notify2@${PY_FLAVOR} |
| 59 |
DBUS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} |
57 |
DBUS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} |
| 60 |
PYGOBJECT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=3.10.2:devel/py-gobject3@${PY_FLAVOR} |
58 |
PYGOBJECT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=3.10.2:devel/py-gobject3@${PY_FLAVOR} |
|
|
59 |
|
| 60 |
NOTIFY2_IMPLIES= DBUS |
| 61 |
|
61 |
|
| 62 |
post-patch: |
62 |
post-patch: |
| 63 |
@${REINPLACE_CMD} -e "s:%%DATADIR%%:'${DATADIR}':g" \ |
63 |
@${REINPLACE_CMD} -e "s:%%DATADIR%%:'${DATADIR}':g" \ |