diff options
author | makc <makc@FreeBSD.org> | 2014-01-07 00:18:18 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2014-01-07 00:18:18 +0800 |
commit | 6f5192ad14ad8fc4c6c361547685de5d6a427c92 (patch) | |
tree | 1b5831c8805bdd7f2f864c7c69f8b05288dcd74d /multimedia | |
parent | 72585c0bdd3dc65657a5e92b660fa74708177c6a (diff) | |
download | freebsd-ports-gnome-6f5192ad14ad8fc4c6c361547685de5d6a427c92.tar.gz freebsd-ports-gnome-6f5192ad14ad8fc4c6c361547685de5d6a427c92.tar.zst freebsd-ports-gnome-6f5192ad14ad8fc4c6c361547685de5d6a427c92.zip |
- Convert to USES=qmake
Approved by: maintainer
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/smplayer/Makefile | 9 | ||||
-rw-r--r-- | multimedia/umplayer/Makefile | 9 |
2 files changed, 10 insertions, 8 deletions
diff --git a/multimedia/smplayer/Makefile b/multimedia/smplayer/Makefile index 86da32dd93f1..edf48ed1a408 100644 --- a/multimedia/smplayer/Makefile +++ b/multimedia/smplayer/Makefile @@ -12,12 +12,14 @@ COMMENT= Complete front-end based on Qt4 for mplayer RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer \ ${LOCALBASE}/share/smplayer/themes:${PORTSDIR}/multimedia/smplayer-themes -USE_QT4= gui network script xml qmake_build moc_build rcc_build uic_build \ +USE_QT4= gui network script xml moc_build rcc_build uic_build \ uic3_build porting_build linguist_build ALL_TARGET= src/smplayer +CONFIGURE_WRKSRC= ${WRKSRC}/src +MAKE_ARGS+= PREFIX=${PREFIX} DESTDIR=${STAGEDIR} -USES= gmake +USES= gmake qmake USE_BZIP2= yes INSTALLS_ICONS= yes @@ -27,9 +29,8 @@ PORTDOCS= Changelog Copying.txt Install.txt Not_so_obvious_things.txt \ .include <bsd.port.options.mk> post-patch: - @${REINPLACE_CMD} -e 's|qmake|${QMAKE} ${QMAKE_ARGS}|g' \ + @${REINPLACE_CMD} -e 's|&& $$(QMAKE) $$(QMAKE_OPTS)||' \ -e 's|lrelease|${LRELEASE}|g' \ - -e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|g' \ -e 's,/share/man,/man,g' \ -e 's, make, ${MAKE_CMD},g' \ ${WRKSRC}/Makefile diff --git a/multimedia/umplayer/Makefile b/multimedia/umplayer/Makefile index 9a69774e9e29..ec5a62704598 100644 --- a/multimedia/umplayer/Makefile +++ b/multimedia/umplayer/Makefile @@ -12,14 +12,15 @@ COMMENT= Modern front-end for MPlayer (fork of SMPlayer) RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer -USES= gmake +USES= gmake qmake USE_XZ= yes -USE_QT4= gui network xml qmake_build moc_build rcc_build uic_build \ +USE_QT4= gui network xml moc_build rcc_build uic_build \ linguist_build INSTALLS_ICONS= yes -MAKE_ARGS+= ${PREFIX} +MAKE_ARGS+= PREFIX=${PREFIX} DESTDIR=${STAGEDIR} QMAKE_ARGS+= "DEFINES+=NO_DEBUG_ON_CONSOLE" ALL_TARGET= src/umplayer +CONFIGURE_WRKSRC= ${WRKSRC}/src OPTIONS_DEFINE= DOCS @@ -28,7 +29,7 @@ OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's| make| $$(MAKE)|' \ -e 's|cd src|(&| ; /cd src/s|$$|)|' \ - -e 's|qmake|${QMAKE} ${QMAKE_ARGS}|' \ + -e 's|&& $$(QMAKE) $$(QMAKE_OPTS)||' \ -e 's|lrelease|${LRELEASE}|' \ -e 's|/share/man|/man|' \ -e 's|/doc/packages|/doc|' \ |