diff options
author | nivit <nivit@FreeBSD.org> | 2013-09-10 22:05:23 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2013-09-10 22:05:23 +0800 |
commit | 1700e06a5069e5ee277fa2fd6b66050f04d0ebca (patch) | |
tree | 3cea4d93094bc427dd4bb0468940caf3edb5114a | |
parent | 1943c949548e1014a282e541cfb13c00ac0b6f31 (diff) | |
download | freebsd-ports-gnome-1700e06a5069e5ee277fa2fd6b66050f04d0ebca.tar.gz freebsd-ports-gnome-1700e06a5069e5ee277fa2fd6b66050f04d0ebca.tar.zst freebsd-ports-gnome-1700e06a5069e5ee277fa2fd6b66050f04d0ebca.zip |
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
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/dropbox-uploader/Makefile | 36 | ||||
-rw-r--r-- | net/dropbox-uploader/distinfo | 2 | ||||
-rw-r--r-- | net/dropbox-uploader/pkg-descr | 5 |
4 files changed, 44 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 8a6bd0b2288e..10836250cb45 100644 --- a/net/Makefile +++ b/net/Makefile @@ -116,6 +116,7 @@ SUBDIR += dosdetector SUBDIR += drawterm SUBDIR += dropbox-api-command + SUBDIR += dropbox-uploader SUBDIR += dtcp SUBDIR += dtcpclient SUBDIR += e169-stats 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 |