diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-12-12 07:06:14 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-12-12 07:06:14 +0800 |
commit | 0a09c130fd34b7e7d76cb56b76205092651fc799 (patch) | |
tree | 5de8c49af08f44b6ea5d1c155a465ef0a1ee884e /net/megatools | |
parent | 51b0c9786600893ccaccbefbfe5c646aa7ba40c1 (diff) | |
download | freebsd-ports-gnome-0a09c130fd34b7e7d76cb56b76205092651fc799.tar.gz freebsd-ports-gnome-0a09c130fd34b7e7d76cb56b76205092651fc799.tar.zst freebsd-ports-gnome-0a09c130fd34b7e7d76cb56b76205092651fc799.zip |
Megatools is a collection of programs for accessing Mega
service from a command line of your desktop or server.
Megatools allow you to copy individual files as well as
entire directory trees to and from the cloud. You can also
perform streaming downloads for example to preview videos
and audio files, without needing to download the entire
file.
WWW: http://megatools.megous.com/
PR: 195723
Submitted by: max@kostikov.co
Diffstat (limited to 'net/megatools')
-rw-r--r-- | net/megatools/Makefile | 40 | ||||
-rw-r--r-- | net/megatools/distinfo | 2 | ||||
-rw-r--r-- | net/megatools/pkg-descr | 10 | ||||
-rw-r--r-- | net/megatools/pkg-plist | 48 |
4 files changed, 100 insertions, 0 deletions
diff --git a/net/megatools/Makefile b/net/megatools/Makefile new file mode 100644 index 000000000000..7b4fb3d2939f --- /dev/null +++ b/net/megatools/Makefile @@ -0,0 +1,40 @@ +# Created by: Max V. Kostikov <max@kostikov.co> +# $FreeBSD$ + +PORTNAME= megatools +PORTVERSION= 1.9.93 +CATEGORIES= net +MASTER_SITES= http://megatools.megous.com/builds/ + +MAINTAINER= max@kostikov.co +COMMENT= Tools for MEGA.CO.NZ cloud drive + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl +RUN_DEPENDS= glib-networking>=2.29.18:${PORTSDIR}/net/glib-networking + +USES= gmake pkgconfig libtool +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +USE_GNOME= glib20 +USE_OPENSSL= yes + +LIBS+= -lssl -lcrypto + +INSTALL_TARGET= install-strip +CONFIGURE_ARGS= --enable-introspection=no + +OPTIONS_DEFINE= FUSE +OPTIONS_DEFAULT= FUSE +OPTIONS_SUB= yes + +FUSE_USES= fuse +FUSE_CONFIGURE_WITH= fuse + +post-patch: + @${REINPLACE_CMD} -e '/MEGA_REQUIRES=/ s|openssl||' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in + +.include <bsd.port.mk> diff --git a/net/megatools/distinfo b/net/megatools/distinfo new file mode 100644 index 000000000000..fd861749c1ac --- /dev/null +++ b/net/megatools/distinfo @@ -0,0 +1,2 @@ +SHA256 (megatools-1.9.93.tar.gz) = 89d2d580bcda9e47a4ba47a734f2c7b06fd08d66797b5a64c02eba2ddf3da576 +SIZE (megatools-1.9.93.tar.gz) = 464353 diff --git a/net/megatools/pkg-descr b/net/megatools/pkg-descr new file mode 100644 index 000000000000..24c4865c95be --- /dev/null +++ b/net/megatools/pkg-descr @@ -0,0 +1,10 @@ +Megatools is a collection of programs for accessing Mega +service from a command line of your desktop or server. + +Megatools allow you to copy individual files as well as +entire directory trees to and from the cloud. You can also +perform streaming downloads for example to preview videos +and audio files, without needing to download the entire +file. + +WWW: http://megatools.megous.com/ diff --git a/net/megatools/pkg-plist b/net/megatools/pkg-plist new file mode 100644 index 000000000000..f83543364629 --- /dev/null +++ b/net/megatools/pkg-plist @@ -0,0 +1,48 @@ +bin/megadf +bin/megadl +%%FUSE%%bin/megafs +bin/megaget +bin/megals +bin/megamkdir +bin/megamv +bin/megaput +bin/megareg +bin/megarm +bin/megasync +include/mega/mega-aes-ctr-encryptor.h +include/mega/mega-aes-key.h +include/mega/mega-chunked-cbc-mac.h +include/mega/mega-enum-types.h +include/mega/mega-http-client.h +include/mega/mega-http-input-stream.h +include/mega/mega-http-io-stream.h +include/mega/mega-http-output-stream.h +include/mega/mega-rsa-key.h +include/mega/mega.h +include/mega/megatypes.h +include/mega/utils.h +lib/libmega.a +lib/libmega.so +lib/libmega.so.0 +lib/libmega.so.0.0.0 +libdata/pkgconfig/libmega.pc +man/man1/megadf.1.gz +man/man1/megadl.1.gz +%%FUSE%%man/man1/megafs.1.gz +man/man1/megaget.1.gz +man/man1/megals.1.gz +man/man1/megamkdir.1.gz +man/man1/megamv.1.gz +man/man1/megaput.1.gz +man/man1/megareg.1.gz +man/man1/megarm.1.gz +man/man1/megasync.1.gz +man/man5/megarc.5.gz +man/man7/megatools.7.gz +%%PORTDOCS%%%%DOCSDIR%%/HACKING +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +share/gjs-1.0/mega.js |