diff --git a/net/onedrive/Makefile b/net/onedrive/Makefile index e843897057be..4a6a3d8aa258 100644 --- a/net/onedrive/Makefile +++ b/net/onedrive/Makefile @@ -3,6 +3,7 @@ PORTNAME= onedrive DISTVERSIONPREFIX= v DISTVERSION= 2.4.8 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= hiroo.ono+freebsd@gmail.com @@ -11,19 +12,20 @@ COMMENT= OneDrive Free client LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ldc2:lang/ldc LIB_DEPENDS= libcurl.so:ftp/curl \ libinotify.so:devel/libinotify -BUILD_DEPENDS= ldc2:lang/ldc RUN_DEPENDS= ${LOCALBASE}/sbin/logrotate:sysutils/logrotate USES= autoreconf gmake pkgconfig sqlite + USE_GITHUB= yes GH_ACCOUNT= abraunegg GNU_CONFIGURE= yes PKGCONFIG= pkgconf -OPTIONS_DEFINE= NOTIFY COMPLETION +OPTIONS_DEFINE= DOCS NOTIFY COMPLETION OPTIONS_DEFAULT= NOTIFY COMPLETION OPTIONS_SUB= yes @@ -37,6 +39,8 @@ COMPLETION_CONFIGURE_ENABLE= completions ONEDRIVE_LOGDIR= /var/log/${PORTNAME} +PORTDOCS= * + post-extract: ${CP} ${FILESDIR}/freebsd_inotify.d ${WRKSRC}/src diff --git a/net/onedrive/pkg-plist b/net/onedrive/pkg-plist index e68274c5627e..ce497d2fd816 100644 --- a/net/onedrive/pkg-plist +++ b/net/onedrive/pkg-plist @@ -1,12 +1,7 @@ bin/onedrive etc/logrotate.d/onedrive man/man1/onedrive.1.gz -%%COMPLETION%%etc/bash_completion.d/onedrive +%%COMPLETION%%share/bash-completion/completions/onedrive %%COMPLETION%%share/zsh/site-functions/_onedrive %%COMPLETION%%share/fish/completions/onedrive.fish -%%DOCSDIR%%/CHANGELOG.md -%%DOCSDIR%%/Office365.md -%%DOCSDIR%%/README.md -%%DOCSDIR%%/USAGE.md -%%DOCSDIR%%/config @dir /var/log/onedrive