svn commit: r449286 - head/net/uget
Alexey Dokuchaev
danfe at FreeBSD.org
Tue Sep 5 14:16:14 UTC 2017
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 at 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 <bsd.port.mk>
More information about the svn-ports-all
mailing list