aboutsummaryrefslogtreecommitdiff
path: root/net/dropbox-uploader
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2013-09-10 14:05:23 +0000
committerNicola Vitale <nivit@FreeBSD.org>2013-09-10 14:05:23 +0000
commit9828a7fc2283f0cb919614b645ee913d5fbc74b7 (patch)
tree3cea4d93094bc427dd4bb0468940caf3edb5114a /net/dropbox-uploader
parentc9bdf35d2c6a09a316935e778ba6cd7eb43e7458 (diff)
downloadports-9828a7fc2283f0cb919614b645ee913d5fbc74b7.tar.gz
ports-9828a7fc2283f0cb919614b645ee913d5fbc74b7.zip
Notes
Diffstat (limited to 'net/dropbox-uploader')
-rw-r--r--net/dropbox-uploader/Makefile36
-rw-r--r--net/dropbox-uploader/distinfo2
-rw-r--r--net/dropbox-uploader/pkg-descr5
3 files changed, 43 insertions, 0 deletions
diff --git a/net/dropbox-uploader/Makefile b/net/dropbox-uploader/Makefile
new file mode 100644
index 000000000000..5982e324b598
--- /dev/null
+++ b/net/dropbox-uploader/Makefile
@@ -0,0 +1,36 @@
+# Created by: Nicola Vitale <nivit@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= dropbox-uploader
+PORTVERSION= 0.12
+#PORTREVISION= 0
+CATEGORIES= net
+MASTER_SITES= http://nivit.altervista.org/FreeBSD/ports/distfiles/
+
+MAINTAINER= nivit@FreeBSD.org
+COMMENT= BASH script for the Dropbox backup service
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
+ curl:${PORTSDIR}/ftp/curl \
+ greadlink:${PORTSDIR}/sysutils/coreutils
+
+GH_ACCOUNT= andreafabrizi
+GH_COMMIT= 3e5aef0
+GH_PROJECT= Dropbox-Uploader
+GH_TAGNAME= ${GH_COMMIT}
+
+NO_BUILD= yes
+
+PLIST_FILES= bin/dropShell.sh bin/dropbox_uploader.sh
+
+USE_GITHUB= yes
+
+post-patch:
+ ${REINPLACE_CMD} -E -e 's,("darwin9"),\1 -o "$${OSTYPE:0:7}" == "freebsd" ,1' -i.bak ${WRKSRC}/dropShell.sh
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.sh ${PREFIX}/bin/
+
+.include <bsd.port.mk>
diff --git a/net/dropbox-uploader/distinfo b/net/dropbox-uploader/distinfo
new file mode 100644
index 000000000000..49cb77962c17
--- /dev/null
+++ b/net/dropbox-uploader/distinfo
@@ -0,0 +1,2 @@
+SHA256 (dropbox-uploader-0.12.tar.gz) = 4afd856bd2ad2038ddccf5684adfe48089745dba555402cd17d2f6dc05e1544e
+SIZE (dropbox-uploader-0.12.tar.gz) = 25341
diff --git a/net/dropbox-uploader/pkg-descr b/net/dropbox-uploader/pkg-descr
new file mode 100644
index 000000000000..2cba12005947
--- /dev/null
+++ b/net/dropbox-uploader/pkg-descr
@@ -0,0 +1,5 @@
+Dropbox Uploader is a BASH script which can be used to upload, download, delete,
+list files (and more!) from Dropbox, an online file sharing, synchronization and
+backup service.
+
+WWW: https://github.com/andreafabrizi/Dropbox-Uploader