Lines 2-36
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= megatools |
4 |
PORTNAME= megatools |
5 |
PORTVERSION= 1.9.97 |
5 |
PORTVERSION= 1.9.98 |
6 |
CATEGORIES= net |
6 |
CATEGORIES= net |
7 |
MASTER_SITES= http://megatools.megous.com/builds/ |
7 |
MASTER_SITES= http://megatools.megous.com/builds/ |
8 |
|
8 |
|
9 |
MAINTAINER= max@kostikov.co |
9 |
MAINTAINER= max@kostikov.co |
10 |
COMMENT= Tools for MEGA.CO.NZ cloud drive |
10 |
COMMENT= Command line tools for MEGA.NZ cloud drive |
11 |
|
11 |
|
12 |
LICENSE= GPLv2 |
12 |
LICENSE= GPLv2 |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
14 |
|
15 |
LIB_DEPENDS= libcurl.so:ftp/curl |
15 |
LIB_DEPENDS= libcurl.so:ftp/curl |
|
|
16 |
BUILD_DEPENDS= asciidoc:textproc/asciidoc |
16 |
RUN_DEPENDS= glib-networking>=2.32.0:net/glib-networking |
17 |
RUN_DEPENDS= glib-networking>=2.32.0:net/glib-networking |
17 |
|
18 |
|
18 |
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ |
19 |
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ |
19 |
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" |
20 |
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" |
20 |
USES= gmake pkgconfig libtool pathfix |
21 |
USES= gettext-runtime gmake libtool pathfix pkgconfig ssl |
21 |
USE_LDCONFIG= yes |
|
|
22 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
23 |
USE_GNOME= glib20 |
23 |
USE_GNOME= glib20 |
24 |
USE_OPENSSL= yes |
|
|
25 |
|
24 |
|
26 |
INSTALL_TARGET= install-strip |
25 |
INSTALL_TARGET= install-strip |
27 |
CONFIGURE_ARGS= --enable-introspection=no |
|
|
28 |
|
26 |
|
29 |
OPTIONS_DEFINE= FUSE |
27 |
post-patch: |
30 |
OPTIONS_DEFAULT= FUSE |
28 |
# Unsilence build |
31 |
OPTIONS_SUB= yes |
29 |
${REINPLACE_CMD} -e '/^export\ MAKEFLAGS/s|^|#|' ${WRKSRC}/Makefile.in |
32 |
|
30 |
|
33 |
FUSE_USES= fuse |
|
|
34 |
FUSE_CONFIGURE_WITH= fuse |
35 |
|
36 |
.include <bsd.port.mk> |
31 |
.include <bsd.port.mk> |