aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mediadownloader/Makefile
blob: 020248ad0a42721b4e4773a496dd7b6e06799aec (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
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# $FreeBSD$

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

MAINTAINER= vg@FreeBSD.org
COMMENT=    Search, watch, and download from Google Image and YouTube

LICENSE=    GPLv3

USES=       qmake
USE_GL=     gl glu
USE_XORG=   xtst
USE_GSTREAMER=  ffmpeg
USE_QT4=    dbus gui network moc_build opengl phonon phonon-gst \
        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}" \
        "" true

pre-configure:
    @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
        ${WRKSRC}/${QMAKEPRO}

.include <bsd.port.mk>