bcallah 218bfb5a94 Import www/uget
uGet is a lightweight and full-featured Download Manager. uGet allows
you to download in multiple parallel streams for download acceleration,
put files in a Download Queue, Pause & Resume downloads, Advanced
Category Management, Browser Integration, Clipboard Monitoring, Batch
Downloads, localized into 23 Languages, and many more features.
ok juanfra@ edd@
2014-08-31 02:06:36 +00:00

47 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2014/08/31 02:06:36 bcallah Exp $
COMMENT = lightweight graphical download manager
DISTNAME = uget-1.10.4
CATEGORIES = www net x11
HOMEPAGE = http://ugetdm.com/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# LGPLv2.1+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += atk-1.0 c cairo cairo-gobject crypto curl fontconfig
WANTLIB += freetype gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
WANTLIB += gstreamer-1.0 gthread-2.0 gtk-3 idn m notify pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pthread ssl z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=urlget/}
MODULES = devel/gettext \
textproc/intltool
LIB_DEPENDS = devel/libnotify \
multimedia/gstreamer1/core \
net/curl \
x11/gtk+3
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+2,-guic
# You should be using aria2 if the arch has it.
.if ${MACHINE_ARCH} != "mips64el" && ${MACHINE_ARCH} != "mips64"
RUN_DEPENDS += www/aria2
.endif
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# BSD make doesn't install the localization files.
USE_GMAKE = Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/uget-gtk/UgSetting.c
.include <bsd.port.mk>