aboutsummaryrefslogtreecommitdiff
path: root/multimedia/clipgrab/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-11-22 12:55:00 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-11-22 12:55:00 +0000
commit5898d7df5c5c0c4c33faa934a38001e755f6d900 (patch)
treeedc1328e7d68e649db202ae07c396b88869f73de /multimedia/clipgrab/Makefile
parent14b67ba33b83fe27381b6547b20370f812a4da0f (diff)
downloadports-5898d7df5c5c0c4c33faa934a38001e755f6d900.tar.gz
ports-5898d7df5c5c0c4c33faa934a38001e755f6d900.zip
Notes
Diffstat (limited to 'multimedia/clipgrab/Makefile')
-rw-r--r--multimedia/clipgrab/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/multimedia/clipgrab/Makefile b/multimedia/clipgrab/Makefile
index ec79c9fba34d..1f6c59465337 100644
--- a/multimedia/clipgrab/Makefile
+++ b/multimedia/clipgrab/Makefile
@@ -12,8 +12,9 @@ COMMENT= Program to download videos from YouTube and etc
LICENSE= GPLv3
+USES= qmake
USE_BZIP2= yes
-USE_QT4= gui xml qmake_build uic_build moc_build \
+USE_QT4= gui xml uic_build moc_build \
rcc_build network dbus webkit
PLIST_FILES= bin/${PORTNAME} \
@@ -26,19 +27,15 @@ PLIST_DIRS= %%DATADIR%%
DESKTOP_ENTRIES="Clipgrab" "Download and convert videos from YouTube and etc" \
"${DATADIR}/icon.png" "${PORTNAME}" \
- "AudioVideo;" false
+ "AudioVideo;" true
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's,img/,share/${PORTNAME}/,g' \
${WRKSRC}/*.cpp
-do-configure:
- cd ${WRKSRC} && ${QMAKE}
-
do-install:
- ${MKDIR} ${DATADIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/*.png ${DATADIR}
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/*.png ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>