diff options
| author | Daniel Engberg <diizzy@FreeBSD.org> | 2024-05-20 21:23:19 +0000 |
|---|---|---|
| committer | Daniel Engberg <diizzy@FreeBSD.org> | 2024-05-20 21:53:50 +0000 |
| commit | aa8d1b3f0cf8c9e7b6dece28f8e1ea4cc00a2145 (patch) | |
| tree | 5cd25f0dca793c900fa9bb553ed69965a68b10ae /news/nzbhydra2 | |
| parent | 650deaf8ca0cb3acf4e66d5d60f151cac5bf676f (diff) | |
Diffstat (limited to 'news/nzbhydra2')
| -rw-r--r-- | news/nzbhydra2/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/news/nzbhydra2/Makefile b/news/nzbhydra2/Makefile index 99db5cee0da1..3716b82f33a8 100644 --- a/news/nzbhydra2/Makefile +++ b/news/nzbhydra2/Makefile @@ -13,10 +13,18 @@ LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le -USES= python zip +USES= python USE_JAVA= yes USE_RC_SUBR= nzbhydra2 +EXTRACT_SUFX= .zip +EXTRACT_AFTER_ARGS= --exclude executables \ + --exclude other \ + --exclude WindowsService \ + --exclude *.exe \ + --exclude nzbhydra2wrapper.py \ + --no-same-owner --no-same-permissions + NO_BUILD= yes NO_WRKSUBDIR= yes @@ -38,13 +46,6 @@ PLIST_FILES= ${DATADIR}/lib/core-${DISTVERSION}-exec.jar \ ${DATADIR}/readme.md \ ${DATADIR}/LICENSE -post-extract: - # Cleanup unnecessary files - @${RM} -r ${WRKSRC}/systemd ${WRKSRC}/sysv ${WRKSRC}/rc.d \ - ${WRKSRC}/upstart ${WRKSRC}/nzbhydra2wrapper.py \ - ${WRKSRC}/other ${WRKSRC}/executables ${WRKSRC}/WindowsService \ - ${WRKSRC}/NZBHydra2* - do-install: @${MKDIR} ${STAGEDIR}/${DATADIR} ${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR} |
