Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2014 23:06:14 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374555 - in head/net: . megatools
Message-ID:  <201412112306.sBBN6E7i030627@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Dec 11 23:06:14 2014
New Revision: 374555
URL: https://svnweb.freebsd.org/changeset/ports/374555
QAT: https://qat.redports.org/buildarchive/r374555/

Log:
  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

Added:
  head/net/megatools/
  head/net/megatools/Makefile   (contents, props changed)
  head/net/megatools/distinfo   (contents, props changed)
  head/net/megatools/pkg-descr   (contents, props changed)
  head/net/megatools/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Thu Dec 11 23:06:09 2014	(r374554)
+++ head/net/Makefile	Thu Dec 11 23:06:14 2014	(r374555)
@@ -355,6 +355,7 @@
     SUBDIR += mcast-tools
     SUBDIR += mediastreamer
     SUBDIR += mediatomb
+    SUBDIR += megatools
     SUBDIR += mgen
     SUBDIR += micro_inetd
     SUBDIR += micro_proxy

Added: head/net/megatools/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/megatools/Makefile	Thu Dec 11 23:06:14 2014	(r374555)
@@ -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>

Added: head/net/megatools/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/megatools/distinfo	Thu Dec 11 23:06:14 2014	(r374555)
@@ -0,0 +1,2 @@
+SHA256 (megatools-1.9.93.tar.gz) = 89d2d580bcda9e47a4ba47a734f2c7b06fd08d66797b5a64c02eba2ddf3da576
+SIZE (megatools-1.9.93.tar.gz) = 464353

Added: head/net/megatools/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/megatools/pkg-descr	Thu Dec 11 23:06:14 2014	(r374555)
@@ -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/

Added: head/net/megatools/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/megatools/pkg-plist	Thu Dec 11 23:06:14 2014	(r374555)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412112306.sBBN6E7i030627>