View | Details | Raw Unified | Return to bug 195723
Collapse All | Expand All

(-)megatools/Makefile (-20 / +11 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	megatools
4
PORTNAME=	megatools
5
PORTVERSION=	1.9.93
5
PORTVERSION=	1.9.93
6
PORTREVISION=	3
7
CATEGORIES=	net
6
CATEGORIES=	net
8
MASTER_SITES=	http://megatools.megous.com/builds/
7
MASTER_SITES=	http://megatools.megous.com/builds/
9
8
Lines 11-47 Link Here
11
COMMENT=	Tools for MEGA.CO.NZ cloud drive
10
COMMENT=	Tools for MEGA.CO.NZ cloud drive
12
11
13
LICENSE=	GPLv2
12
LICENSE=	GPLv2
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
14
15
RUN_DEPENDS=	glib-networking>=2.29.18:${PORTSDIR}/net/glib-networking
15
RUN_DEPENDS=	glib-networking>=2.29.18:${PORTSDIR}/net/glib-networking
16
LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl
16
17
17
LIBS+=          -lssl -lcrypto
18
USES=		gmake pkgconfig libtool
18
LIB_DEPENDS+=   libcurl.so:${PORTSDIR}/ftp/curl
19
20
INSTALL_TARGET=	install-strip
21
22
DOCS=		yes
23
24
USE_GNOME=	glib20
19
USE_GNOME=	glib20
25
USE_OPENSSL=	yes
20
USE_OPENSSL=	yes
26
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
27
USES=		gmake pkgconfig libtool
22
INSTALL_TARGET=	install-strip
28
23
CONFIGURE_ARGS=	--enable-introspection=no
29
CONFIGURE_ARGS= --enable-introspection=no
24
USE_LDCONFIG=	yes
25
LIBS+=		-lssl -lcrypto
30
26
31
OPTIONS_DEFINE=	FUSE
27
OPTIONS_DEFINE=	FUSE
32
FUSE_DESC=	Enable remote filesystem support
28
OPTIONS_DEFAULT=FUSE
29
OPTIONS_SUB=	yes
30
33
FUSE_USES=	fuse
31
FUSE_USES=	fuse
34
FUSE_CONFIGURE_WITH=	fuse
32
FUSE_CONFIGURE_WITH=	fuse
35
33
36
.include <bsd.port.options.mk>
37
38
.if ${PORT_OPTIONS:MFUSE}
39
PLIST_SUB=	MEGAFS=""
40
.else
41
PLIST_SUB=	MEGAFS="@comment "
42
.endif
43
44
post-patch:
34
post-patch:
45
	@${REINPLACE_CMD} -e '/MEGA_REQUIRES=/ s|openssl||' ${WRKSRC}/configure
35
	@${REINPLACE_CMD} -e '/MEGA_REQUIRES=/ s|openssl||' ${WRKSRC}/configure
36
	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
46
37
47
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)megatools/pkg-message (-5 lines)
Lines 1-5 Link Here
1
================================================================================
2
3
Please see megatools(1) man pages for more information.
4
5
================================================================================
(-)megatools/pkg-plist (-3 / +3 lines)
Lines 1-6 Link Here
1
bin/megadf
1
bin/megadf
2
bin/megadl
2
bin/megadl
3
%%MEGAFS%%bin/megafs
3
%%FUSE%%bin/megafs
4
bin/megaget
4
bin/megaget
5
bin/megals
5
bin/megals
6
bin/megamkdir
6
bin/megamkdir
Lines 25-34 Link Here
25
lib/libmega.so
25
lib/libmega.so
26
lib/libmega.so.0
26
lib/libmega.so.0
27
lib/libmega.so.0.0.0
27
lib/libmega.so.0.0.0
28
lib/pkgconfig/libmega.pc
28
libdata/pkgconfig/libmega.pc
29
man/man1/megadf.1.gz
29
man/man1/megadf.1.gz
30
man/man1/megadl.1.gz
30
man/man1/megadl.1.gz
31
%%MEGAFS%%man/man1/megafs.1.gz
31
%%FUSE%%man/man1/megafs.1.gz
32
man/man1/megaget.1.gz
32
man/man1/megaget.1.gz
33
man/man1/megals.1.gz
33
man/man1/megals.1.gz
34
man/man1/megamkdir.1.gz
34
man/man1/megamkdir.1.gz

Return to bug 195723