aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mediadownloader/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mediadownloader/Makefile')
-rw-r--r--multimedia/mediadownloader/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/multimedia/mediadownloader/Makefile b/multimedia/mediadownloader/Makefile
index 58bd97f99034..14a968dc10d9 100644
--- a/multimedia/mediadownloader/Makefile
+++ b/multimedia/mediadownloader/Makefile
@@ -13,11 +13,12 @@ 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 \
- qmake_build rcc_build uic_build webkit xml xmlpatterns
+ rcc_build uic_build webkit xml xmlpatterns
QMAKEPRO= ${PORTNAME}.pro
PLIST_FILES= bin/${PORTNAME}
@@ -25,12 +26,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DESKTOP_ENTRIES="MediaDownloader" "${COMMENT}" \
"${DATADIR}/${PORTNAME}.png" "${PORTNAME}" \
- "" false
+ "" true
-NO_STAGE= yes
-do-configure:
+pre-configure:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
${WRKSRC}/${QMAKEPRO}
- @cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS} ${QMAKEPRO}
.include <bsd.port.mk>