diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2014-01-06 16:18:18 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2014-01-06 16:18:18 +0000 |
commit | 1527bd924f7d4f62dea9f6c2834c375390307715 (patch) | |
tree | 1b5831c8805bdd7f2f864c7c69f8b05288dcd74d /multimedia | |
parent | ad45e8d2b7da1b88a694acd09b4baed08fcbd8b2 (diff) | |
download | ports-1527bd924f7d4f62dea9f6c2834c375390307715.tar.gz ports-1527bd924f7d4f62dea9f6c2834c375390307715.zip |
Notes
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|' \ |