aboutsummaryrefslogtreecommitdiff
path: root/net/onedrive/Makefile
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2019-03-17 13:28:57 +0000
committerKurt Jaeger <pi@FreeBSD.org>2019-03-17 13:28:57 +0000
commit2d6c7fb27b3c31a83501a661aba9f333933f16ce (patch)
treee4ab300d76d86162607edb37e5696fff3205dfd5 /net/onedrive/Makefile
parentfda98ed059ede19f587faa288992ef2287eda258 (diff)
downloadports-2d6c7fb27b3c31a83501a661aba9f333933f16ce.tar.gz
ports-2d6c7fb27b3c31a83501a661aba9f333933f16ce.zip
New port: net/onedrive: Microsoft OneDrive client
A complete tool to interact with OneDrive on Linux. Built following the UNIX philosophy. Features: State caching Real-Time file monitoring with Inotify Resumable uploads Support OneDrive for Business (part of Office 365) Shared folders (not Business) What's missing: While local changes are uploaded right away, remote changes are delayed No GUI WWW: https://github.com/skilion/onedrive PR: 236573 Submitted by: Hiroo Ono <hiroo.ono+freebsd@gmail.com>
Notes
Notes: svn path=/head/; revision=496060
Diffstat (limited to 'net/onedrive/Makefile')
-rw-r--r--net/onedrive/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/net/onedrive/Makefile b/net/onedrive/Makefile
new file mode 100644
index 000000000000..b85a5aa3ff1c
--- /dev/null
+++ b/net/onedrive/Makefile
@@ -0,0 +1,45 @@
+# $FreeBSD$
+
+PORTNAME= onedrive
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.1.3
+CATEGORIES= net
+
+MAINTAINER= hiroo.ono+freebsd@gmail.com
+COMMENT= Microsoft OneDrive client
+
+LICENSE= GPLv3
+
+BUILD_DEPENDS= ldmd2:lang/ldc
+LIB_DEPENDS= libcurl.so:ftp/curl \
+ libinotify.so:devel/libinotify
+
+USES= sqlite
+USE_GITHUB= yes
+GH_ACCOUNT= skilion
+
+OPTIONS_DEFAULT= LDC
+OPTIONS_SINGLE= DLANG
+OPTIONS_SINGLE_DLANG= DMD1 DMD2 LDC
+
+DMD1_DESC= Use lang/dmd1 as D compiler
+DMD2_DESC= Use lang/dmd2 as D compiler
+LDC_DESC= Use lang/ldc as D compiler
+
+DMD1_MAKE_ARGS= DC=dmd1
+DMD2_MAKE_ARGS= DC=dmd
+LDC_MAKE_ARGS= DC=ldmd2
+
+.include <bsd.port.pre.mk>
+
+post-extract:
+ ${CP} ${FILESDIR}/freebsd_inotify.d ${WRKSRC}/src
+ ${CP} ${FILESDIR}/version ${WRKSRC}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/onedrive ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/config ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.post.mk>