diff options
author | makc <makc@FreeBSD.org> | 2013-11-22 20:55:11 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2013-11-22 20:55:11 +0800 |
commit | 6a8fa025703756528837f1ccf220676f5c3848f0 (patch) | |
tree | 919f256f5d4152f9ba2438b4a3cc82a91d4707c6 /multimedia/smplayer | |
parent | 612bc3c9c8698b6a8cdbb965267678a0ac829218 (diff) | |
download | freebsd-ports-gnome-6a8fa025703756528837f1ccf220676f5c3848f0.tar.gz freebsd-ports-gnome-6a8fa025703756528837f1ccf220676f5c3848f0.tar.zst freebsd-ports-gnome-6a8fa025703756528837f1ccf220676f5c3848f0.zip |
- Pass QMAKE_ARGS to qmake
Approved by: portmgr (blanket approval)
Diffstat (limited to 'multimedia/smplayer')
-rw-r--r-- | multimedia/smplayer/Makefile | 16 | ||||
-rw-r--r-- | multimedia/smplayer/pkg-plist | 1 |
2 files changed, 7 insertions, 10 deletions
diff --git a/multimedia/smplayer/Makefile b/multimedia/smplayer/Makefile index 8214c99d23e2..86da32dd93f1 100644 --- a/multimedia/smplayer/Makefile +++ b/multimedia/smplayer/Makefile @@ -17,31 +17,27 @@ USE_QT4= gui network script xml qmake_build moc_build rcc_build uic_build \ ALL_TARGET= src/smplayer +USES= gmake USE_BZIP2= yes -USE_GMAKE= yes INSTALLS_ICONS= yes -MAN1= smplayer.1 -MANCOMPRESSED= yes - PORTDOCS= Changelog Copying.txt Install.txt Not_so_obvious_things.txt \ Readme.txt Release_notes.txt -NO_STAGE= yes .include <bsd.port.options.mk> post-patch: - @${REINPLACE_CMD} -e 's|qmake|${QMAKE}|g' \ - -e 's|lrelease|${QT_PREFIX}/bin/lrelease-qt4|g' \ + @${REINPLACE_CMD} -e 's|qmake|${QMAKE} ${QMAKE_ARGS}|g' \ + -e 's|lrelease|${LRELEASE}|g' \ -e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|g' \ -e 's,/share/man,/man,g' \ - -e 's, make, ${GMAKE},g' \ + -e 's, make, ${MAKE_CMD},g' \ ${WRKSRC}/Makefile post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/multimedia/smplayer/pkg-plist b/multimedia/smplayer/pkg-plist index 24b470410fb3..0a41175344b2 100644 --- a/multimedia/smplayer/pkg-plist +++ b/multimedia/smplayer/pkg-plist @@ -1,4 +1,5 @@ bin/smplayer +man/man1/smplayer.1.gz share/applications/smplayer.desktop share/applications/smplayer_enqueue.desktop share/icons/hicolor/128x128/apps/smplayer.png |