aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2015-01-05 04:03:16 +0800
committerpawel <pawel@FreeBSD.org>2015-01-05 04:03:16 +0800
commitf47c0b79215dbf48c09f671e86428990e4ce4bf7 (patch)
tree1f2e53444c8ec93faa8c5497b64581f19163251f
parenta274e478867da5a2bb392e91b617d4e7fc4d2b11 (diff)
downloadfreebsd-ports-gnome-f47c0b79215dbf48c09f671e86428990e4ce4bf7.tar.gz
freebsd-ports-gnome-f47c0b79215dbf48c09f671e86428990e4ce4bf7.tar.zst
freebsd-ports-gnome-f47c0b79215dbf48c09f671e86428990e4ce4bf7.zip
- Update to version 1.9.94 [1]
- Use USES=pathfix to fix pkgconfig install path PR: 196461 [1] Submitted by: max@kostikov.co (maintainer)
-rw-r--r--net/megatools/Makefile14
-rw-r--r--net/megatools/distinfo4
-rw-r--r--net/megatools/pkg-plist1
3 files changed, 7 insertions, 12 deletions
diff --git a/net/megatools/Makefile b/net/megatools/Makefile
index 7b4fb3d2939f..d215233402de 100644
--- a/net/megatools/Makefile
+++ b/net/megatools/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= megatools
-PORTVERSION= 1.9.93
+PORTVERSION= 1.9.94
CATEGORIES= net
MASTER_SITES= http://megatools.megous.com/builds/
@@ -13,16 +13,16 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
-RUN_DEPENDS= glib-networking>=2.29.18:${PORTSDIR}/net/glib-networking
+RUN_DEPENDS= glib-networking>=2.32.0:${PORTSDIR}/net/glib-networking
-USES= gmake pkgconfig libtool
+CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
+ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
+USES= gmake pathfix 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
@@ -33,8 +33,4 @@ 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>
diff --git a/net/megatools/distinfo b/net/megatools/distinfo
index fd861749c1ac..20c101ed39dd 100644
--- a/net/megatools/distinfo
+++ b/net/megatools/distinfo
@@ -1,2 +1,2 @@
-SHA256 (megatools-1.9.93.tar.gz) = 89d2d580bcda9e47a4ba47a734f2c7b06fd08d66797b5a64c02eba2ddf3da576
-SIZE (megatools-1.9.93.tar.gz) = 464353
+SHA256 (megatools-1.9.94.tar.gz) = 3d3f3afc514f75e376dd10c1a923c6eb23f60ef8d5965eff625f6b51cc04bace
+SIZE (megatools-1.9.94.tar.gz) = 451996
diff --git a/net/megatools/pkg-plist b/net/megatools/pkg-plist
index f83543364629..648220e742a9 100644
--- a/net/megatools/pkg-plist
+++ b/net/megatools/pkg-plist
@@ -45,4 +45,3 @@ man/man7/megatools.7.gz
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
-share/gjs-1.0/mega.js