mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
c1c61ff0ed
- All updates between 2.3.6 and 2.3.16 are breaks and fixes for better SSL support. Submitted by: Daniel Shafer <daniel shafer cc> (maintainer) Differential Revision: https://reviews.freebsd.org/D19609
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= nzbhydra2
|
|
DISTVERSION= 2.3.16
|
|
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.16-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>
|