diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2019-01-30 04:14:34 +0800 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2019-01-30 04:14:34 +0800 |
commit | 8c06f3f1583edc4516ab4c114bc901b724cf1b70 (patch) | |
tree | 94874d94c5d28e3dc802dd5803daf5f7343b4370 /news/nzbhydra2/Makefile | |
parent | 729efd5b4d1891e7f479389ebf3670edca976b7e (diff) | |
download | freebsd-ports-gnome-8c06f3f1583edc4516ab4c114bc901b724cf1b70.tar.gz freebsd-ports-gnome-8c06f3f1583edc4516ab4c114bc901b724cf1b70.tar.zst freebsd-ports-gnome-8c06f3f1583edc4516ab4c114bc901b724cf1b70.zip |
[NEW PORT] news/nzbhydra2: Usenet meta search
NZBHydra 2 is a meta search for NZB indexers. It provides easy access to a
number of raw and newznab based indexers. You can search all your indexers
from one place and use it as an indexer source for tools like Sonarr,
Radarr or CouchPotato.
WWW: https://github.com/theotherp/nzbhydra2
PR: 234537
Submitted by: Daniel Shafer <daniel shafer cc>
Differential_Revision: https://reviews.freebsd.org/D18704
Diffstat (limited to 'news/nzbhydra2/Makefile')
-rw-r--r-- | news/nzbhydra2/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/news/nzbhydra2/Makefile b/news/nzbhydra2/Makefile new file mode 100644 index 000000000000..78228fe6ffe6 --- /dev/null +++ b/news/nzbhydra2/Makefile @@ -0,0 +1,52 @@ +# $FreeBSD$ + +PORTNAME= nzbhydra2 +DISTVERSION= 2.3.3 +DISTVERSIONSUFFIX= -linux +CATEGORIES= news java +MASTER_SITES= https://github.com/theotherp/${PORTNAME}/releases/download/v${DISTVERSION}/ + +MAINTAINER= daniel@shafer.cc +COMMENT= Usenet meta search + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +ONLY_FOR_ARCHS= amd64 + +USES= python shebangfix zip +USE_JAVA= yes +USE_RC_SUBR= nzbhydra2 + +NO_BUILD= yes +NO_WRKSUBDIR= yes + +SUB_FILES= nzbhydra2 nzbhydra2wrapper.py +SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \ + JAVA=${JAVA} + +JAVA_VERSION= 1.8 1.9 1.10 1.11 +JAVA_VENDOR= openjdk +JAVA_RUN= yes + +USERS= nzbhydra2 +GROUPS= nzbhydra2 + +PLIST_FILES= ${DATADIR}/lib/core-2.3.3-exec.jar \ + ${DATADIR}/nzbhydra2 \ + ${DATADIR}/nzbhydra2wrapper.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 + +do-install: + @${MKDIR} ${STAGEDIR}/${DATADIR} + ${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR} + ${INSTALL_DATA} ${WRKDIR}/nzbhydra2wrapper.py ${STAGEDIR}/${DATADIR} + +.include <bsd.port.mk> |