57b24ef5db
Summary: * maintainer timeout on 15-dec-2022 * builds fine on aarch64 PR: 267666 Approved by: rene (mentor) Differential Revision: https://reviews.freebsd.org/D37632
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
PORTNAME= nzbhydra2
|
|
DISTVERSION= 4.7.2
|
|
DISTVERSIONSUFFIX= -linux
|
|
CATEGORIES= news java
|
|
MASTER_SITES= https://github.com/theotherp/${PORTNAME}/releases/download/v${DISTVERSION}/
|
|
|
|
MAINTAINER= daniel@shafer.cc
|
|
COMMENT= Usenet meta search
|
|
WWW= https://github.com/theotherp/nzbhydra2
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le
|
|
|
|
USES= python:3.5+ zip
|
|
USE_JAVA= yes
|
|
USE_RC_SUBR= nzbhydra2
|
|
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
SUB_FILES= nzbhydra2
|
|
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \
|
|
JAVA=${JAVA}
|
|
|
|
JAVA_VERSION= 8+
|
|
JAVA_VENDOR= openjdk
|
|
JAVA_RUN= yes
|
|
|
|
USERS= nzbhydra2
|
|
GROUPS= nzbhydra2
|
|
|
|
PLIST_FILES= ${DATADIR}/lib/core-${DISTVERSION}-exec.jar \
|
|
${DATADIR}/nzbhydra2 \
|
|
${DATADIR}/nzbhydra2wrapperPy3.py \
|
|
${DATADIR}/changelog.md \
|
|
${DATADIR}/readme.md \
|
|
${DATADIR}/LICENSE
|
|
|
|
post-extract:
|
|
# Cleanup unnecessary files
|
|
@${RM} -r ${WRKSRC}/systemd ${WRKSRC}/sysv ${WRKSRC}/rc.d ${WRKSRC}/upstart ${WRKSRC}/nzbhydra2wrapper.py
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}/${DATADIR}
|
|
${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|