2014-07-12 11:25:04 +00:00
|
|
|
# Created by: Olivier Duchateau
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= uget
|
2018-04-03 11:55:33 +00:00
|
|
|
PORTVERSION= 2.2.1
|
2014-07-12 11:25:04 +00:00
|
|
|
CATEGORIES= net
|
2016-05-16 14:40:06 +00:00
|
|
|
MASTER_SITES= SF/urlget/${PORTNAME}%20%28stable%29/${PORTVERSION}
|
2014-07-12 11:25:04 +00:00
|
|
|
|
2017-03-19 14:02:23 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2017-09-05 14:16:12 +00:00
|
|
|
COMMENT= Lightweight and full-featured graphical download manager
|
2014-07-12 11:25:04 +00:00
|
|
|
|
|
|
|
LICENSE= LGPL21
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2017-09-05 14:16:12 +00:00
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl
|
2016-04-01 14:16:16 +00:00
|
|
|
RUN_DEPENDS= aria2c:www/aria2
|
2014-07-12 11:25:04 +00:00
|
|
|
|
2015-09-03 19:24:14 +00:00
|
|
|
USES= compiler:c11 gettext-tools gmake pkgconfig
|
2014-07-12 11:25:04 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2017-02-19 10:57:49 +00:00
|
|
|
USE_GNOME= glib20 gtk30 intltool cairo
|
2014-07-12 11:25:04 +00:00
|
|
|
INSTALLS_ICONS= yes
|
2015-05-02 19:03:15 +00:00
|
|
|
INSTALL_TARGET= install-strip
|
2014-07-12 11:25:04 +00:00
|
|
|
|
2015-05-02 19:03:15 +00:00
|
|
|
# Avoid warning, with redefinition of typedef (C11 feature)
|
|
|
|
CFLAGS+= -Wno-typedef-redefinition
|
2014-07-12 11:25:04 +00:00
|
|
|
|
2017-09-05 14:16:12 +00:00
|
|
|
CONFIGURE_ARGS= --enable-appindicator=no \
|
|
|
|
--disable-pwmd \
|
|
|
|
--disable-rss-notify \
|
|
|
|
--enable-unix-socket
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= GNUTLS GSTREAMER NLS NOTIFY OPENSSL
|
|
|
|
OPTIONS_DEFAULT= NOTIFY OPENSSL
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
GNUTLS_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
|
|
|
|
libgpg-error.so:security/libgpg-error
|
|
|
|
GNUTLS_CONFIGURE_ON= --with-gnutls=yes
|
2015-05-02 19:03:15 +00:00
|
|
|
|
|
|
|
GSTREAMER_USE= gstreamer1=yes
|
|
|
|
GSTREAMER_CONFIGURE_ENABLE= gstreamer
|
2017-09-05 14:16:12 +00:00
|
|
|
|
2015-05-02 19:03:15 +00:00
|
|
|
NLS_USES= gettext-runtime
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2017-09-05 14:16:12 +00:00
|
|
|
|
|
|
|
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
|
|
|
|
NOTIFY_CONFIGURE_ENABLE= notify
|
|
|
|
|
|
|
|
OPENSSL_USES= ssl
|
|
|
|
OPENSSL_CONFIGURE_ENV= LIBCRYPTO_CFLAGS="-I${OPENSSLINC}" \
|
|
|
|
LIBCRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto"
|
|
|
|
OPENSSL_CONFIGURE_OFF= --with-openssl=no
|
2014-07-12 11:25:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|