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