aboutsummaryrefslogtreecommitdiff
path: root/multimedia/minitube
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-10-09 10:08:04 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-10-09 10:08:04 +0000
commita821cad16d83cd8b2939cfb7924f3f24e55b6b63 (patch)
tree783ac82dca4d834a26ba06cd6c31ec4c55c74099 /multimedia/minitube
parentef6503643e7669a618e90c44f3dd453e2b7b81ec (diff)
downloadports-a821cad16d83cd8b2939cfb7924f3f24e55b6b63.tar.gz
ports-a821cad16d83cd8b2939cfb7924f3f24e55b6b63.zip
Notes
Diffstat (limited to 'multimedia/minitube')
-rw-r--r--multimedia/minitube/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/multimedia/minitube/Makefile b/multimedia/minitube/Makefile
index 2221201e0ab1..46e1963305ff 100644
--- a/multimedia/minitube/Makefile
+++ b/multimedia/minitube/Makefile
@@ -11,19 +11,18 @@ COMMENT= TV-like client for YouTube
USE_QT4= gui network xml dbus phonon phonon-gst \
qmake_build moc_build rcc_build imageformats_run
USE_GSTREAMER= ffmpeg
-HAS_CONFIGURE= yes
+USES= qmake
INSTALLS_ICONS= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
-QMAKE_ARGS= -recursive PREFIX=${PREFIX} QMAKE_LRELEASE=${LRELEASE} ${QMAKE_PRO}
+QMAKE_ARGS= QMAKE_LRELEASE=${QT_LRELEASE}
QMAKE_PRO= ${WRKSRC}/${PORTNAME}.pro
-LRELEASE= ${LOCALBASE}/bin/lrelease-qt4
+QT_LRELEASE= ${LOCALBASE}/bin/lrelease-qt4
STRIP_FILES= bin/minitube
OPTIONS_DEFINE= NLS
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
@@ -39,10 +38,7 @@ pre-configure:
${REINPLACE_CMD} -e '/include(locale\/locale.pri)/d' ${QMAKE_PRO}
.endif
-do-configure:
- cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
-
post-install:
- ${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
+ ${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PREFIX}/,}
.include <bsd.port.mk>