Lines 1-6
Link Here
|
1 |
PORTNAME= nzbget |
1 |
PORTNAME= nzbget |
2 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 24.4 |
3 |
DISTVERSION= 24.5 |
4 |
PORTREVISION= 0 |
4 |
PORTREVISION= 0 |
5 |
CATEGORIES= news |
5 |
CATEGORIES= news |
6 |
|
6 |
|
Lines 16-24
RUN_DEPENDS= 7-zip>0:archivers/7-zip \
Link Here
|
16 |
|
16 |
|
17 |
# Since v24.4 nzbget maintainers switched from libpar2 to a fork of par2cmdline-turbo which is in its own repository. |
17 |
# Since v24.4 nzbget maintainers switched from libpar2 to a fork of par2cmdline-turbo which is in its own repository. |
18 |
# See https://github.com/nzbgetcom/nzbget/blob/v24.4/cmake/par2-turbo.cmake for the version to pull |
18 |
# See https://github.com/nzbgetcom/nzbget/blob/v24.4/cmake/par2-turbo.cmake for the version to pull |
19 |
PAR2CMDLINE_TURBO_VERSION=1.1.1-nzbget |
19 |
PAR2CMDLINE_TURBO_VERSION=1.1.1-nzbget-20241128 |
20 |
|
20 |
|
21 |
USES= cmake:testing gnome ssl |
21 |
USES= cmake:testing,noninja gnome ssl |
22 |
USE_GNOME= libxml2 |
22 |
USE_GNOME= libxml2 |
23 |
USE_GITHUB= yes |
23 |
USE_GITHUB= yes |
24 |
GH_ACCOUNT= nzbgetcom |
24 |
GH_ACCOUNT= nzbgetcom |
Lines 31-37
BINMODE= 0755
Link Here
|
31 |
SUB_FILES= pkg-message |
31 |
SUB_FILES= pkg-message |
32 |
|
32 |
|
33 |
OPTIONS_DEFINE= DOCS NCURSES PAR2 PYTHON |
33 |
OPTIONS_DEFINE= DOCS NCURSES PAR2 PYTHON |
34 |
OPTIONS_SUB= yes |
|
|
35 |
OPTIONS_DEFAULT= NCURSES PAR2 |
34 |
OPTIONS_DEFAULT= NCURSES PAR2 |
36 |
|
35 |
|
37 |
PAR2_DESC= PAR 2.0 compatible file verification and repair |
36 |
PAR2_DESC= PAR 2.0 compatible file verification and repair |
Lines 50-64
PYTHON_USES= python:run,3.8+
Link Here
|
50 |
CMAKE_ARGS+= -DDISABLE_SIGCHLD_HANDLER=ON |
49 |
CMAKE_ARGS+= -DDISABLE_SIGCHLD_HANDLER=ON |
51 |
.endif |
50 |
.endif |
52 |
|
51 |
|
53 |
# We need to manually extract par2cmdline-turbo source repository as the cmake option FETCHCONTENT_FULLY_DISCONNECTED is ON by default for ports |
52 |
pre-configure-PAR2-on: |
54 |
post-extract-PAR2-on: |
53 |
${MKDIR} ${BUILD_WRKSRC}/par2-turbo/src |
55 |
${MKDIR} ${BUILD_WRKSRC}/_deps |
54 |
${MV} ${WRKDIR}/par2cmdline-turbo-${PAR2CMDLINE_TURBO_VERSION} ${BUILD_WRKSRC}/par2-turbo/src/par2-turbo |
56 |
${MV} ${WRKDIR}/par2cmdline-turbo-${PAR2CMDLINE_TURBO_VERSION} ${BUILD_WRKSRC}/_deps/par2-turbo-src |
|
|
57 |
|
58 |
# Clean up par2 static libraries and delete empty directories |
59 |
post-stage-PAR2-on: |
60 |
${RM} ${STAGEDIR}${BUILD_WRKSRC}/lib/*.a |
61 |
${FIND} ${STAGEDIR} -depth -type d -not -path "${STAGEDIR}${PREFIX}*" -empty -delete |
62 |
|
55 |
|
63 |
post-install: |
56 |
post-install: |
64 |
${INSTALL_DATA} ${WRKSRC}/nzbget.conf \ |
57 |
${INSTALL_DATA} ${WRKSRC}/nzbget.conf \ |