aboutsummaryrefslogtreecommitdiffstats
path: root/net/uget/Makefile
blob: 709002dbfd0077d208c8fb74798584295356a1fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=   uget
PORTVERSION=    2.0.1
CATEGORIES= net
MASTER_SITES=   SF/urlget/${PORTNAME}%20%28stable%29/${PORTVERSION}

MAINTAINER= olivierd@FreeBSD.org
COMMENT=    Download manager application

LICENSE=    LGPL21
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  curl-config:${PORTSDIR}/ftp/curl
LIB_DEPENDS=    libnotify.so:${PORTSDIR}/devel/libnotify \
    libgcrypt.so:${PORTSDIR}/security/libgcrypt \
    libgnutls.so:${PORTSDIR}/security/gnutls
RUN_DEPENDS=    aria2c:${PORTSDIR}/www/aria2

USES=   compiler:c11 gettext-tools gmake pkgconfig
GNU_CONFIGURE=  yes
USE_GNOME=  glib20 gtk30 intltool intlhack
INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip

# Avoid warning, with redefinition of typedef (C11 feature)
CFLAGS+=    -Wno-typedef-redefinition

CONFIGURE_ARGS=--enable-appindicator=no \
    --disable-pwmd \
    --with-gnutls=yes

OPTIONS_DEFINE= GSTREAMER NLS
OPTIONS_DEFAULT=    GSTREAMER NLS
GSTREAMER_USE=  gstreamer1=yes
GSTREAMER_CONFIGURE_ENABLE= gstreamer
NLS_USES=   gettext-runtime
NLS_CONFIGURE_ENABLE=   nls
OPTIONS_SUB=    yes

.include <bsd.port.mk>