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
This commit is contained in:
parent
51ef8cc1d1
commit
a770b14f8e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374555
@ -355,6 +355,7 @@
|
||||
SUBDIR += mcast-tools
|
||||
SUBDIR += mediastreamer
|
||||
SUBDIR += mediatomb
|
||||
SUBDIR += megatools
|
||||
SUBDIR += mgen
|
||||
SUBDIR += micro_inetd
|
||||
SUBDIR += micro_proxy
|
||||
|
40
net/megatools/Makefile
Normal file
40
net/megatools/Makefile
Normal file
@ -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>
|
2
net/megatools/distinfo
Normal file
2
net/megatools/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (megatools-1.9.93.tar.gz) = 89d2d580bcda9e47a4ba47a734f2c7b06fd08d66797b5a64c02eba2ddf3da576
|
||||
SIZE (megatools-1.9.93.tar.gz) = 464353
|
10
net/megatools/pkg-descr
Normal file
10
net/megatools/pkg-descr
Normal file
@ -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/
|
48
net/megatools/pkg-plist
Normal file
48
net/megatools/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user