2019-03-17 14:28:57 +01:00
|
|
|
PORTNAME= onedrive
|
|
|
|
DISTVERSIONPREFIX= v
|
2021-06-16 00:00:25 +02:00
|
|
|
DISTVERSION= 2.4.12
|
2019-03-17 14:28:57 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
MAINTAINER= hiroo.ono+freebsd@gmail.com
|
2019-04-28 17:35:02 +02:00
|
|
|
COMMENT= OneDrive Free client
|
2019-03-17 14:28:57 +01:00
|
|
|
|
|
|
|
LICENSE= GPLv3
|
2020-07-28 20:49:40 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2019-03-17 14:28:57 +01:00
|
|
|
|
2021-01-31 07:15:47 +01:00
|
|
|
BUILD_DEPENDS= ldc2:lang/ldc
|
2019-03-17 14:28:57 +01:00
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
|
|
libinotify.so:devel/libinotify
|
2019-04-28 17:35:02 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/logrotate:sysutils/logrotate
|
2019-03-17 14:28:57 +01:00
|
|
|
|
2020-07-28 20:49:40 +02:00
|
|
|
USES= autoreconf gmake pkgconfig sqlite
|
2021-01-31 07:15:47 +01:00
|
|
|
|
2019-03-17 14:28:57 +01:00
|
|
|
USE_GITHUB= yes
|
2019-04-28 17:35:02 +02:00
|
|
|
GH_ACCOUNT= abraunegg
|
2019-03-17 14:28:57 +01:00
|
|
|
|
2020-07-28 20:49:40 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2019-04-28 17:35:02 +02:00
|
|
|
PKGCONFIG= pkgconf
|
2019-03-17 14:28:57 +01:00
|
|
|
|
2021-01-31 07:15:47 +01:00
|
|
|
OPTIONS_DEFINE= DOCS NOTIFY COMPLETION
|
2020-07-28 20:49:40 +02:00
|
|
|
OPTIONS_DEFAULT= NOTIFY COMPLETION
|
2019-04-28 17:35:02 +02:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2020-07-28 20:49:40 +02:00
|
|
|
NOTIFY_CONFIGURE_ENABLE= notifications
|
2019-04-28 17:35:02 +02:00
|
|
|
NOTIFY_USES= gnome
|
2020-07-28 20:49:40 +02:00
|
|
|
NOTIFY_USE= GNOME=glib20,gdkpixbuf2
|
2019-04-28 17:35:02 +02:00
|
|
|
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
|
|
|
|
|
2021-02-03 01:27:09 +01:00
|
|
|
COMPLETION_DESC= Install completion for BASH, FISH and ZSH
|
2020-07-28 20:49:40 +02:00
|
|
|
COMPLETION_CONFIGURE_ENABLE= completions
|
2021-02-03 01:27:09 +01:00
|
|
|
COMPLETION_BUILD_DEPENDS= bash-completion>0:shells/bash-completion
|
|
|
|
COMPLETION_RUN_DEPENDS= bash-completion>0:shells/bash-completion
|
2020-07-28 20:49:40 +02:00
|
|
|
|
|
|
|
ONEDRIVE_LOGDIR= /var/log/${PORTNAME}
|
2019-03-17 14:28:57 +01:00
|
|
|
|
2021-01-31 07:15:47 +01:00
|
|
|
PORTDOCS= *
|
|
|
|
|
2019-03-17 14:28:57 +01:00
|
|
|
post-extract:
|
|
|
|
${CP} ${FILESDIR}/freebsd_inotify.d ${WRKSRC}/src
|
|
|
|
|
2020-07-28 20:49:40 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL} -d -m 0775 ${STAGEDIR}${ONEDRIVE_LOGDIR}
|
2019-03-17 14:28:57 +01:00
|
|
|
|
2019-04-28 17:35:02 +02:00
|
|
|
.include <bsd.port.mk>
|