aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mediadownloader/Makefile
blob: 99be09b6af6dba35b4c344e1eb1933158caac41f (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
# New ports collection makefile for:	mediadownloader
# Date created:		2010-07-24
# Whom:			Gvozdikov Veniamin <g.veniamin@googlemail.com>
#
# $FreeBSD$
#

PORTNAME=	mediadownloader
PORTVERSION=	1.5.2
CATEGORIES=	multimedia www
MASTER_SITES=	SF/googleimagedown/project/${PORTVERSION}/
DISTNAME=	${PORTNAME}_${PORTVERSION}-src

MAINTAINER=	g.veniamin@googlemail.com
COMMENT=	Search, watch and download from Google Image and YouTube

LICENSE=	GPLv3

USE_GL=		gl glu
USE_XORG=	xtst
USE_QT_VER=	4
USE_GSTREAMER=	ffmpeg
QT_COMPONENTS=	dbus gui network moc_build opengl phonon phonon-gst \
		qmake_build rcc_build uic_build webkit xml xmlpatterns
QMAKEPRO=	${PORTNAME}.pro
PLIST_FILES=	bin/${PORTNAME}

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

DESKTOP_ENTRIES="MediaDownloader" "${COMMENT}" \
		"${DATADIR}/${PORTNAME}.png" "${PORTNAME}" \
		"" false

do-configure:
	@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
		${WRKSRC}/${QMAKEPRO}
	@cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS} ${QMAKEPRO}

.include <bsd.port.mk>