aboutsummaryrefslogtreecommitdiff
path: root/net/onedrive/Makefile
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2020-07-28 18:49:40 +0000
committerMikael Urankar <mikael@FreeBSD.org>2020-07-28 18:49:40 +0000
commitd9ff33e30be15eee8c31af6d24d7014bd402e500 (patch)
tree1f6d7191755df6700b69b9d58f7d3f697bec8053 /net/onedrive/Makefile
parent0dc36c0e862e7cc0d765ddc2c457021941bdf885 (diff)
downloadports-d9ff33e30be15eee8c31af6d24d7014bd402e500.tar.gz
ports-d9ff33e30be15eee8c31af6d24d7014bd402e500.zip
net/onedrive: update to 2.4.3
PR: 245805 Submitted by: Hiroo Ono <hiroo.ono+freebsd@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=543628
Diffstat (limited to 'net/onedrive/Makefile')
-rw-r--r--net/onedrive/Makefile45
1 files changed, 14 insertions, 31 deletions
diff --git a/net/onedrive/Makefile b/net/onedrive/Makefile
index e5e65221788e..0ace88a66f80 100644
--- a/net/onedrive/Makefile
+++ b/net/onedrive/Makefile
@@ -2,62 +2,45 @@
PORTNAME= onedrive
DISTVERSIONPREFIX= v
-DISTVERSION= 2.3.3
-PORTREVISION= 1
+DISTVERSION= 2.4.3
CATEGORIES= net
MAINTAINER= hiroo.ono+freebsd@gmail.com
COMMENT= OneDrive Free client
LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcurl.so:ftp/curl \
libinotify.so:devel/libinotify
BUILD_DEPENDS= ldc2:lang/ldc
RUN_DEPENDS= ${LOCALBASE}/sbin/logrotate:sysutils/logrotate
-USES= gmake pkgconfig sqlite
+USES= autoreconf gmake pkgconfig sqlite
USE_GITHUB= yes
GH_ACCOUNT= abraunegg
+GNU_CONFIGURE= yes
PKGCONFIG= pkgconf
-MAKE_ARGS= DC=ldc2
-INSTALL_TARGET= install.noservice
-OPTIONS_DEFINE= DOCS NOTIFY BASH ZSH
-OPTIONS_DEFAULT= DOCS NOTIFY BASH ZSH
+OPTIONS_DEFINE= NOTIFY COMPLETION
+OPTIONS_DEFAULT= NOTIFY COMPLETION
OPTIONS_SUB= yes
-DOCFILES= README.md README.Office365.md config CHANGELOG.md
-
-NOTIFY_VARS= NOTIFICATIONS=1
+NOTIFY_CONFIGURE_ENABLE= notifications
NOTIFY_USES= gnome
-NOTIFY_USE= GNOME=glib20
+NOTIFY_USE= GNOME=glib20,gdkpixbuf2
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
-BASH_COMPLETION_DIR= ${LOCALBASE}/share/bash-completion/completions
-ZSH_COMPLETION_DIR= ${LOCALBASE}/share/zsh/site-functions
+COMPLETION_DESC= Install completion for BASH and ZSH
+COMPLETION_CONFIGURE_ENABLE= completions
+
+ONEDRIVE_LOGDIR= /var/log/${PORTNAME}
post-extract:
${CP} ${FILESDIR}/freebsd_inotify.d ${WRKSRC}/src
-do-install-DOCS-on:
-.for f in ${DOCFILES}
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
-.endfor
-
-do-install-BASH-on:
- @${MKDIR} ${STAGEDIR}${BASH_COMPLETION_DIR}
- ${INSTALL_DATA} ${WRKSRC}/completions/complete.bash \
- ${STAGEDIR}${BASH_COMPLETION_DIR}/onedrive
-
-do-install-ZSH-on:
- @${MKDIR} ${STAGEDIR}${ZSH_COMPLETION_DIR}
- ${INSTALL_DATA} ${WRKSRC}/completions/complete.zsh \
- ${STAGEDIR}${ZSH_COMPLETION_DIR}/_onedrive
-
-post-install-DOCS-on:
- ${INSTALL_MAN} ${WRKSRC}/onedrive.1 ${STAGEDIR}${MANPREFIX}/man/man1
+post-install:
+ ${INSTALL} -d -m 0775 ${STAGEDIR}${ONEDRIVE_LOGDIR}
.include <bsd.port.mk>