From owner-svn-ports-all@freebsd.org Tue Sep 5 14:16:14 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26EE2E0BBBA; Tue, 5 Sep 2017 14:16:14 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E857071A40; Tue, 5 Sep 2017 14:16:13 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v85EGC7M091746; Tue, 5 Sep 2017 14:16:12 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v85EGCvm091745; Tue, 5 Sep 2017 14:16:12 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201709051416.v85EGCvm091745@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Tue, 5 Sep 2017 14:16:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r449286 - head/net/uget X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: head/net/uget X-SVN-Commit-Revision: 449286 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 14:16:14 -0000 Author: danfe Date: Tue Sep 5 14:16:12 2017 New Revision: 449286 URL: https://svnweb.freebsd.org/changeset/ports/449286 Log: - Optionize several dependencies that were previously hardcoded: GNUTLS, NOTIFY, and OPENSSL - Disable GSTREAMER support by default, it makes little sense to have it enabled by default in a download manager - Remove explicit BUILD_DEPENDS on curl-config(1), LIB_DEPENDS itself on `ftp/curl' is sufficient enough - Provide more elaborate COMMENT line while I'm here Modified: head/net/uget/Makefile Modified: head/net/uget/Makefile ============================================================================== --- head/net/uget/Makefile Tue Sep 5 14:04:10 2017 (r449285) +++ head/net/uget/Makefile Tue Sep 5 14:16:12 2017 (r449286) @@ -3,22 +3,17 @@ PORTNAME= uget PORTVERSION= 2.0.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= SF/urlget/${PORTNAME}%20%28stable%29/${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= Download manager application +COMMENT= Lightweight and full-featured graphical download manager LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= curl-config:ftp/curl -LIB_DEPENDS= libnotify.so:devel/libnotify \ - libgcrypt.so:security/libgcrypt \ - libgpg-error.so:security/libgpg-error \ - libgnutls.so:security/gnutls \ - libcurl.so:ftp/curl +LIB_DEPENDS= libcurl.so:ftp/curl RUN_DEPENDS= aria2c:www/aria2 USES= compiler:c11 gettext-tools gmake pkgconfig @@ -30,18 +25,31 @@ INSTALL_TARGET= install-strip # Avoid warning, with redefinition of typedef (C11 feature) CFLAGS+= -Wno-typedef-redefinition -CONFIGURE_ARGS=--enable-appindicator=no \ - --disable-pwmd \ - --disable-rss-notify \ - --enable-unix-socket \ - --with-gnutls=yes +CONFIGURE_ARGS= --enable-appindicator=no \ + --disable-pwmd \ + --disable-rss-notify \ + --enable-unix-socket -OPTIONS_DEFINE= GSTREAMER NLS -OPTIONS_DEFAULT= GSTREAMER +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 + GSTREAMER_USE= gstreamer1=yes GSTREAMER_CONFIGURE_ENABLE= gstreamer + NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls -OPTIONS_SUB= yes + +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 .include