diff options
author | makc <makc@FreeBSD.org> | 2013-10-09 18:08:04 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2013-10-09 18:08:04 +0800 |
commit | b007c6bbe5b8c1944952df8b20c8b5aa2498fc1d (patch) | |
tree | 783ac82dca4d834a26ba06cd6c31ec4c55c74099 /multimedia | |
parent | e56aeb69d6b9543f6719c7da94faf66f60caa342 (diff) | |
download | freebsd-ports-gnome-b007c6bbe5b8c1944952df8b20c8b5aa2498fc1d.tar.gz freebsd-ports-gnome-b007c6bbe5b8c1944952df8b20c8b5aa2498fc1d.tar.zst freebsd-ports-gnome-b007c6bbe5b8c1944952df8b20c8b5aa2498fc1d.zip |
- Convert to USES= qmake
- Bring stage support
- Adjust DESKTOP_ENTRIES
- Use options helpers
- Use new LIB_DEPENDS syntax
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/minitube/Makefile | 12 |
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> |